Home
last modified time | relevance | path

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

12345678910>>...35

/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/mm/
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 …]
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 …]
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/include/
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 …]
/kernel/linux/linux-5.10/arch/arm64/boot/dts/qcom/
Dmsm8994-angler-rev-101.dts2 /* Copyright (c) 2015, Huawei Inc. All rights reserved.
3 * Copyright (c) 2016, The Linux Foundation. All rights reserved.
/kernel/linux/linux-5.10/LICENSES/dual/
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 …]
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 …]
/kernel/liteos_m/
DLICENSE1 Copyright (c) 2013-2019 Huawei Technologies Co., Ltd. All rights reserved.
2 Copyright (c) 2020-2021 Huawei Device Co., Ltd. All rights reserved.
/kernel/liteos_m/arch/arm/cortex-m33/gcc/
DBUILD.gn1 # Copyright (c) 2013-2019 Huawei Technologies Co., Ltd. All rights reserved.
2 # Copyright (c) 2020-2021 Huawei Device Co., Ltd. All rights reserved.
/kernel/liteos_m/testsuites/
DLICENSE1 Copyright (c) 2013-2019 Huawei Technologies Co., Ltd. All rights reserved.
2 Copyright (c) 2020-2021 Huawei Device Co., Ltd. All rights reserved.
/kernel/liteos_a/drivers/block/
DBUILD.gn1 # Copyright (c) 2013-2019 Huawei Technologies Co., Ltd. All rights reserved.
2 # Copyright (c) 2020-2021 Huawei Device Co., Ltd. All rights reserved.
/kernel/liteos_m/arch/arm/cortex-m55/iar/
DBUILD.gn1 # Copyright (c) 2013-2019 Huawei Technologies Co., Ltd. All rights reserved.
2 # Copyright (c) 2020-2021 Huawei Device Co., Ltd. All rights reserved.
/kernel/liteos_a/testsuites/kernel/sample/kernel_base/
DBUILD.gn1 # Copyright (c) 2013-2019 Huawei Technologies Co., Ltd. All rights reserved.
2 # Copyright (c) 2020-2022 Huawei Device Co., Ltd. All rights reserved.
/kernel/liteos_a/testsuites/
DLICENSE1 Copyright (c) 2013-2019 Huawei Technologies Co., Ltd. All rights reserved.
2 Copyright (c) 2020-2021 Huawei Device Co., Ltd. All rights reserved.
DBUILD.gn1 # Copyright (c) 2013-2019 Huawei Technologies Co., Ltd. All rights reserved.
2 # Copyright (c) 2020-2021 Huawei Device Co., Ltd. All rights reserved.
/kernel/liteos_a/apps/trace/
DBUILD.gn1 # Copyright (c) 2013-2019 Huawei Technologies Co., Ltd. All rights reserved.
2 # Copyright (c) 2020-2021 Huawei Device Co., Ltd. All rights reserved.
/kernel/liteos_m/arch/csky/
DBUILD.gn1 # Copyright (c) 2013-2019 Huawei Technologies Co., Ltd. All rights reserved.
2 # Copyright (c) 2020-2023 Huawei Device Co., Ltd. All rights reserved.
/kernel/liteos_a/drivers/
DBUILD.gn1 # Copyright (c) 2013-2019 Huawei Technologies Co., Ltd. All rights reserved.
2 # Copyright (c) 2020-2021 Huawei Device Co., Ltd. All rights reserved.
/kernel/liteos_a/compat/
DBUILD.gn1 # Copyright (c) 2013-2019 Huawei Technologies Co., Ltd. All rights reserved.
2 # Copyright (c) 2020-2021 Huawei Device Co., Ltd. All rights reserved.
/kernel/liteos_a/drivers/char/
DBUILD.gn1 # Copyright (c) 2013-2019 Huawei Technologies Co., Ltd. All rights reserved.
2 # Copyright (c) 2020-2021 Huawei Device Co., Ltd. All rights reserved.
/kernel/liteos_m/arch/xtensa/
DBUILD.gn1 # Copyright (c) 2013-2019 Huawei Technologies Co., Ltd. All rights reserved.
2 # Copyright (c) 2020-2023 Huawei Device Co., Ltd. All rights reserved.
/kernel/liteos_m/arch/risc-v/
DBUILD.gn1 # Copyright (c) 2013-2019 Huawei Technologies Co., Ltd. All rights reserved.
2 # Copyright (c) 2020-2021 Huawei Device Co., Ltd. All rights reserved.
/kernel/liteos_m/kal/
DKconfig1 # Copyright (c) 2013-2019 Huawei Technologies Co., Ltd. All rights reserved.
2 # Copyright (c) 2020-2021 Huawei Device Co., Ltd. All rights reserved.
/kernel/liteos_a/
DLICENSE1 Copyright (c) 2013-2019 Huawei Technologies Co., Ltd. All rights reserved.
2 Copyright (c) 2020-2021 Huawei Device Co., Ltd. All rights reserved.
/kernel/liteos_m/kal/libc/
DBUILD.gn1 # Copyright (c) 2013-2019 Huawei Technologies Co., Ltd. All rights reserved.
2 # Copyright (c) 2020-2022 Huawei Device Co., Ltd. All rights reserved.
/kernel/liteos_m/components/fs/
DBUILD.gn1 # Copyright (c) 2013-2019 Huawei Technologies Co., Ltd. All rights reserved.
2 # Copyright (c) 2020-2021 Huawei Device Co., Ltd. All rights reserved.

12345678910>>...35