Home
last modified time | relevance | path

Searched refs:rights (Results 1 – 25 of 706) sorted by relevance

12345678910>>...29

/linux/tools/testing/selftests/powerpc/mm/
H A Dpkey_exec_prot.c105 unsigned long rights; in test() local
154 rights = PKEY_DISABLE_EXECUTE; in test()
181 pkey_rights(rights)); in test()
198 pkey_rights(rights)); in test()
203 rights |= PKEY_DISABLE_ACCESS; in test()
219 pkey_rights(rights)); in test()
236 pkey_rights(rights)); in test()
243 rights = 0; in test()
272 pkey_rights(rights)); in test()
282 rights = next_pkey_rights(rights); in test()
[all …]
H A Dpkey_siginfo.c82 if (rights == PKEY_DISABLE_EXECUTE && in segv_handler()
92 unsigned long rights; member
99 unsigned long rights; in protect() local
110 rights = 0; in protect()
115 perm_pkey = sys_pkey_alloc(0, rights); in protect()
149 rights = ((struct region *) p)->rights; in protect_access()
182 switch (rights) { in protect_access()
218 pkey_set_rights(rest_pkey, rights); in protect_access()
300 r.rights = PKEY_DISABLE_ACCESS; in test()
308 r.rights = PKEY_DISABLE_WRITE; in test()
[all …]
H A Dexec_prot.c85 static int check_exec_fault(int rights) in check_exec_fault() argument
95 if (!(rights & PROT_EXEC)) in check_exec_fault()
98 FAIL_IF(mprotect(insns, pgsize, rights) != 0); in check_exec_fault()
102 if (!(rights & PROT_EXEC)) in check_exec_fault()
/linux/tools/testing/selftests/powerpc/include/
H A Dpkeys.h52 void pkey_set_rights(int pkey, unsigned long rights) in pkey_set_rights() argument
59 amr |= (rights & PKEY_BITS_MASK) << shift; in pkey_set_rights()
68 int sys_pkey_alloc(unsigned long flags, unsigned long rights) in sys_pkey_alloc() argument
70 return syscall(__NR_pkey_alloc, flags, rights); in sys_pkey_alloc()
121 unsigned long next_pkey_rights(unsigned long rights) in next_pkey_rights() argument
123 if (rights == PKEY_DISABLE_ACCESS) in next_pkey_rights()
128 if ((rights & PKEY_BITS_MASK) == 0) in next_pkey_rights()
129 rights |= PKEY_DISABLE_WRITE; in next_pkey_rights()
130 else if ((rights & PKEY_BITS_MASK) == PKEY_DISABLE_WRITE) in next_pkey_rights()
131 rights |= PKEY_DISABLE_ACCESS; in next_pkey_rights()
[all …]
/linux/Documentation/security/
H A Dlandlock.rst47 Cf. `File descriptor access rights`_.
52 Inode access rights
55 All access rights are tied to an inode and what can be accessed through it.
64 File descriptor access rights
67 Access rights are checked and tied to file descriptors at open time. The
80 Similarly to file access modes (e.g. ``O_RDWR``), Landlock access rights
82 processes (e.g. through a Unix domain socket). Such access rights will then be
/linux/arch/arm64/boot/dts/qcom/
H A Dipq9574-rdp449.dts5 * Copyright (c) 2020-2021 The Linux Foundation. All rights reserved.
6 * Copyright (c) 2022-2023 Qualcomm Innovation Center, Inc. All rights reserved.
H A Dipq9574-rdp453.dts5 * Copyright (c) 2020-2021 The Linux Foundation. All rights reserved.
6 * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
H A Dipq9574-rdp454.dts5 * Copyright (c) 2020-2021 The Linux Foundation. All rights reserved.
6 * Copyright (c) 2022-2023 Qualcomm Innovation Center, Inc. All rights reserved.
H A Dmsm8994-huawei-angler-rev-101.dts3 * Copyright (c) 2015, Huawei Inc. All rights reserved.
4 * Copyright (c) 2016, The Linux Foundation. All rights reserved.
H A Dipq9574-rdp418.dts5 * Copyright (c) 2020-2021 The Linux Foundation. All rights reserved.
6 * Copyright (c) 2022-2023 Qualcomm Innovation Center, Inc. All rights reserved.
H A Dipq9574-rdp433.dts5 * Copyright (c) 2020-2021 The Linux Foundation. All rights reserved.
6 * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
H A Dsc7280-herobrine-pro-sku.dtsi5 * Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
H A Dipq8074-hk10-c1.dts3 * Copyright (c) 2020 The Linux Foundation. All rights reserved.
/linux/LICENSES/dual/
H A DCC-BY-4.032 conditions that creators and other rights holders may use to share
34 and certain other rights specified in the public license below. The
41 copyright and certain other rights. Our licenses are
44 Licensors should also secure all rights necessary before
59 other rights that a licensor has authority to grant. Use of
62 rights in the material. A licensor may make special requests,
102 Rights, without regard to how the rights are labeled or
103 categorized. For purposes of this Public License, the rights
141 equivalent rights anywhere in the world.
203 b. Other rights.
[all …]
H A DMPL-1.153 subsequently acquired, any and all of the rights conveyed herein.
101 (a) under intellectual property rights (other than patent or
126 (a) under intellectual property rights (other than patent or
168 an additional document offering the additional rights described in
197 intellectual property rights is required to exercise the rights
220 Contributor has sufficient rights to grant the rights conveyed by
232 rights relating to Covered Code. You may choose to offer, and to
257 rights in the Source Code version from the rights set forth in this
348 infringes any patent, then any and all rights granted by such
358 is not withdrawn, the rights granted by Participant to You under
[all …]
H A DCDDL-1.046 subsequently acquired, any and all of the rights conveyed herein.
75 exercising rights under, and complying with all of the terms
93 (a) under intellectual property rights (other than patent or
124 (a) under intellectual property rights (other than patent or
176 have sufficient rights to grant the rights conveyed by this
192 this License or the recipients' rights hereunder. You may choose to
211 limit or alter the recipient's rights in the Source Code form from
279 6.1. This License and the rights granted hereunder will terminate
292 infringes any patent, then any and all rights granted directly or
335 that addresses Government rights in computer software under this
[all …]
/linux/arch/arm64/boot/dts/arm/
H A Dcorstone1000-mps3.dts3 * Copyright (c) 2022, Arm Limited. All rights reserved.
4 * Copyright (c) 2022, Linaro Limited. All rights reserved.
H A Dcorstone1000-fvp.dts3 * Copyright (c) 2022, Arm Limited. All rights reserved.
4 * Copyright (c) 2022, Linaro Limited. All rights reserved.
/linux/tools/testing/selftests/livepatch/
H A Dfunctions.sh326 local rights=$(/bin/stat --format '%A' "$path")
327 if test "$rights" != "$expected_rights" ; then
328 die "Unexpected access rights of $path: $expected_rights vs. $rights"
/linux/drivers/infiniband/sw/siw/
H A Dsiw_mem.h10 u64 len, int rights);
24 u64 start, u64 len, int rights);
H A Dsiw_mem.c82 u64 start, u64 len, int rights) in siw_mr_add_mem() argument
98 mem->perms = rights & IWARP_ACCESS_MASK; in siw_mr_add_mem()
358 u64 len, int rights) in siw_umem_get() argument
384 base_mem = ib_umem_get(base_dev, start, len, rights); in siw_umem_get()
H A Dsiw_verbs.h68 u64 rnic_va, int rights, struct ib_udata *udata);
71 struct ib_mr *siw_get_dma_mr(struct ib_pd *base_pd, int rights);
/linux/Documentation/userspace-api/
H A Dlandlock.rst13 The goal of Landlock is to enable to restrict ambient rights (e.g. global
41 `filesystem access rights`.
45 and the related actions are defined with `network access rights`.
59 to be explicit about the denied-by-default access rights.
92 version, and only use the available subset of access rights:
171 ``allowed_access`` rights are already available in ABI 1.
222 It is recommended setting access rights to file hierarchy leaves as much as
242 Layers of file path access rights
261 access rights can be propagated with bind mounts (cf.
403 Access rights
[all …]
/linux/LICENSES/deprecated/
H A DGPL-1.038 To protect your rights, we need to make restrictions that forbid
39 anyone to deny you these rights or to ask you to surrender the rights.
44 gratis or for a fee, you must give the recipients all the rights that
46 source code. And you must tell them their rights.
48 We protect your rights with two steps: (1) copyright the software, and
143 the Program is void, and will automatically terminate your rights to use
145 copies, or rights to use copies, from you under this General Public
157 recipients' exercise of the rights granted herein.
/linux/arch/riscv/boot/dts/sophgo/
H A Dsg2042-milkv-pioneer.dts3 * Copyright (C) 2022 Sophgo Technology Inc. All rights reserved.

12345678910>>...29