/linux/tools/testing/selftests/powerpc/mm/ |
H A D | pkey_exec_prot.c | 105 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 D | pkey_siginfo.c | 31 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 D | exec_prot.c | 85 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 D | pkeys.h | 52 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/Documentation/security/ |
H A D | landlock.rst | 47 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/LICENSES/dual/ |
H A D | CC-BY-4.0 | 32 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 D | MPL-1.1 | 53 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 D | CDDL-1.0 | 46 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/arch/arm64/boot/dts/qcom/ |
H A D | ipq9574-rdp454.dts | 5 * Copyright (c) 2020-2021 The Linux Foundation. All rights reserved. 6 * Copyright (c) 2022-2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
H A D | ipq9574-rdp453.dts | 5 * Copyright (c) 2020-2021 The Linux Foundation. All rights reserved. 6 * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
H A D | ipq9574-rdp449.dts | 5 * Copyright (c) 2020-2021 The Linux Foundation. All rights reserved. 6 * Copyright (c) 2022-2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
H A D | msm8994-huawei-angler-rev-101.dts | 3 * Copyright (c) 2015, Huawei Inc. All rights reserved. 4 * Copyright (c) 2016, The Linux Foundation. All rights reserved.
|
H A D | ipq9574-rdp433.dts | 5 * Copyright (c) 2020-2021 The Linux Foundation. All rights reserved. 6 * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
H A D | ipq9574-rdp418.dts | 5 * Copyright (c) 2020-2021 The Linux Foundation. All rights reserved. 6 * Copyright (c) 2022-2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
H A D | sc7280-herobrine-pro-sku.dtsi | 5 * Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
|
H A D | x1e80100-microsoft-romulus13.dts | 3 * Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
|
H A D | x1e80100-microsoft-romulus15.dts | 3 * Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
|
/linux/arch/arm64/boot/dts/arm/ |
H A D | corstone1000-mps3.dts | 3 * Copyright (c) 2022, Arm Limited. All rights reserved. 4 * Copyright (c) 2022, Linaro Limited. All rights reserved.
|
H A D | corstone1000-fvp.dts | 3 * Copyright (c) 2022, Arm Limited. All rights reserved. 4 * Copyright (c) 2022, Linaro Limited. All rights reserved.
|
/linux/tools/testing/selftests/livepatch/ |
H A D | functions.sh | 326 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 D | siw_mem.h | 10 u64 len, int rights); 24 u64 start, u64 len, int rights);
|
H A D | siw_mem.c | 82 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 D | siw_verbs.h | 68 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 D | landlock.rst | 13 The goal of Landlock is to enable restriction of 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 to set access rights to file hierarchy leaves as much as 237 access rights per directory enables changing the location of such directories 238 without relying on the destination directory access rights (except those that [all …]
|
/linux/LICENSES/deprecated/ |
H A D | GPL-1.0 | 38 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.
|