Home
last modified time | relevance | path

Searched refs:rights (Results 1 – 25 of 708) 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()
155 pkey = sys_pkey_alloc(0, rights); in test()
181 pkey_rights(rights)); in test()
198 pkey_rights(rights)); in test()
203 rights |= PKEY_DISABLE_ACCESS; in test()
217 pkey_set_rights(pkey, rights); in test()
219 pkey_rights(rights)); in test()
234 pkey_set_rights(pkey, rights); in test()
236 pkey_rights(rights)); in test()
[all …]
H A Dpkey_siginfo.c31 static volatile sig_atomic_t rights, fault_count; variable
82 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()
112 printf("tid %d, pkey permissions are %s\n", tid, pkey_rights(rights)); in protect()
115 perm_pkey = sys_pkey_alloc(0, rights); in protect()
149 rights = ((struct region *) p)->rights; in protect_access()
154 rest_pkey = sys_pkey_alloc(0, rights); in protect_access()
157 printf("tid %d, pkey permissions are %s\n", tid, pkey_rights(rights)); in protect_access()
[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()
125 else if (rights == (PKEY_DISABLE_ACCESS | PKEY_DISABLE_EXECUTE)) 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()
[all …]
/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,
78 these terms and conditions, and the Licensor grants You such rights in
99 c. Copyright and Similar Rights means copyright and/or similar rights
102 Rights, without regard to how the rights are labeled or
103 categorized. For purposes of this Public License, the rights
[all …]
H A DMPL-1.153 subsequently acquired, any and all of the rights conveyed herein.
85 exercising rights under, and complying with all of the terms of, this
101 (a) under intellectual property rights (other than patent or
126 (a) under intellectual property rights (other than patent or
167 License or the recipients' rights hereunder. However, You may include
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
231 for the Source Code where You describe recipients' rights or ownership
232 rights relating to Covered Code. You may choose to offer, and to
[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
212 the rights set forth in this License. If You distribute the Covered
279 6.1. This License and the rights granted hereunder will terminate
292 infringes any patent, then any and all rights granted directly or
[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-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 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-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 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-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 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.
/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.
H A Dcorstone1000.dtsi3 * 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.
95 version, and only use the available subset of access rights:
177 for the ruleset creation, by filtering access rights according to the Landlock
179 ``allowed_access`` rights are already available in ABI 1.
230 It is recommended setting access rights to file hierarchy leaves as much as
237 access rights per directory enables to change the location of such directory
238 without relying on the destination directory access rights (except those that
[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/LICENSES/preferred/
H A DGPL-2.047 To protect your rights, we need to make restrictions that forbid
48 anyone to deny you these rights or to ask you to surrender the rights.
53 gratis or for a fee, you must give the recipients all the rights that
56 rights.
58 We protect your rights with two steps: (1) copyright the software, and
143 Thus, it is not the intent of this section to claim rights or contest
144 your rights to work written entirely by you; rather, the intent is to
194 void, and will automatically terminate your rights under this License.
195 However, parties who have received copies, or rights, from you under
212 restrictions on the recipients' exercise of the rights granted herein.
/linux/tools/usb/usbip/
H A DCOPYING28 To protect your rights, we need to make restrictions that forbid
29 anyone to deny you these rights or to ask you to surrender the rights.
34 gratis or for a fee, you must give the recipients all the rights that
37 rights.
39 We protect your rights with two steps: (1) copyright the software, and
124 Thus, it is not the intent of this section to claim rights or contest
125 your rights to work written entirely by you; rather, the intent is to
175 void, and will automatically terminate your rights under this License.
176 However, parties who have received copies, or rights, from you under
193 restrictions on the recipients' exercise of the rights granted herein.

12345678910>>...29