Home
last modified time | relevance | path

Searched refs:rights (Results 1 - 25 of 91) sorted by relevance

1234

/kernel/linux/linux-5.10/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
71 * If the current fault occurred due to lack of execute rights, in segv_handler()
73 * rights cannot be changed directly for the faulting pkey as in segv_handler()
77 * read-write rights, change the AMR permission bits for the in segv_handler()
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()
227 reset_pkeys(unsigned long rights) reset_pkeys() argument
[all...]
/kernel/linux/linux-6.6/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
71 * If the current fault occurred due to lack of execute rights, in segv_handler()
73 * rights cannot be changed directly for the faulting pkey as in segv_handler()
77 * read-write rights, change the AMR permission bits for the in segv_handler()
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()
227 reset_pkeys(unsigned long rights) reset_pkeys() argument
[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()
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/include/
H A Dpkeys.h15 * Older versions of libc use the Intel-specific access rights.
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)
123 if (rights == PKEY_DISABLE_ACCESS)
125 else if (rights == (PKEY_DISABLE_ACCESS | PKEY_DISABLE_EXECUTE))
128 if ((rights & PKEY_BITS_MASK) == 0)
129 rights |
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/include/
H A Dpkeys.h15 * Older versions of libc use the Intel-specific access rights.
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)
123 if (rights == PKEY_DISABLE_ACCESS)
125 else if (rights == (PKEY_DISABLE_ACCESS | PKEY_DISABLE_EXECUTE))
128 if ((rights & PKEY_BITS_MASK) == 0)
129 rights |
[all...]
/third_party/cups-filters/fontembed/
H A Dembed.c97 ret->rights=emb_otf_get_rights(ret->font->sfnt); in emb_new()
101 ret->rights=EMB_RIGHT_NONE; in emb_new()
150 // check rights (for subsetting) in emb_new()
151 if ( (ret->rights&EMB_RIGHT_NONE)|| in emb_new()
152 (ret->rights&EMB_RIGHT_BITMAPONLY)|| in emb_new()
153 ( (ret->rights&EMB_RIGHT_READONLY)&&(mode&EMB_C_EDITABLE_SUBSET) )|| in emb_new()
154 ( (ret->rights&EMB_RIGHT_NO_SUBSET)&&(mode&EMB_C_MUST_SUBSET) ) ) { in emb_new()
158 } else if ( (!(ret->rights&EMB_RIGHT_NO_SUBSET))&& in emb_new()
H A Dembed.h56 EMB_RIGHT_TYPE rights; member
/kernel/linux/linux-6.6/tools/testing/selftests/livepatch/
H A Dfunctions.sh317 # expected_rights - expected access rights
324 local rights=$(/bin/stat --format '%A' "$path")
325 if test "$rights" != "$expected_rights" ; then
326 die "Unexpected access rights of $path: $expected_rights vs. $rights"
/third_party/node/deps/uvwasi/src/
H A Dpoll_oneoff.c165 uvwasi_rights_t rights; in uvwasi__poll_oneoff_state_add_fdevent() local
180 rights = UVWASI_RIGHT_POLL_FD_READWRITE | UVWASI_RIGHT_FD_READ; in uvwasi__poll_oneoff_state_add_fdevent()
183 rights = UVWASI_RIGHT_POLL_FD_READWRITE | UVWASI_RIGHT_FD_WRITE; in uvwasi__poll_oneoff_state_add_fdevent()
206 err = uvwasi_fd_table_get(state->uvwasi->fds, fd, &event->wrap, rights, 0); in uvwasi__poll_oneoff_state_add_fdevent()
/third_party/ntfs-3g/ntfsprogs/
H A Dntfssecaudit.c367 /* standard owner (and administrator) rights */
374 /* standard world rights */
386 * we use rights always granted to anybody, so they have no impact
600 fprintf(stderr,"You need Administrator rights to open \"%s\"\n", in open_volume()
897 fprintf(file,"You probably need Administrator rights\n"); in printerror()
1282 u32 rights; in showace() local
1323 rights = get4l(attr,off+4); in showace()
1324 printf("%*cAcc rgts 0x%lx\n",-level,marker,(long)rights); in showace()
1325 printf("%*cObj specific acc rgts 0x%lx\n",-level-4,marker,(long)rights & 65535); in showace()
1327 if (rights in showace()
2476 u32 rights; merge_rights() local
[all...]
/kernel/linux/linux-5.10/drivers/infiniband/sw/siw/
H A Dsiw_verbs.h69 u64 rnic_va, int rights, struct ib_udata *udata);
72 struct ib_mr *siw_get_dma_mr(struct ib_pd *base_pd, int rights);
H A Dsiw_mem.h23 u64 start, u64 len, int rights);
/kernel/linux/linux-6.6/drivers/infiniband/sw/siw/
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);
H A Dsiw_mem.h23 u64 start, u64 len, int rights);
/kernel/liteos_m/arch/arm/cortex-m3/keil/
H A Dlos_startup.s2 ; Copyright (c) 2013-2019 Huawei Technologies Co., Ltd. All rights reserved.
3 ; Copyright (c) 2020-2021 Huawei Device Co., Ltd. All rights reserved.
H A Dlos_dispatch.S2 ; Copyright (c) 2013-2019 Huawei Technologies Co., Ltd. All rights reserved.
3 ; Copyright (c) 2020-2021 Huawei Device Co., Ltd. All rights reserved.
/third_party/gn/misc/vim/ftplugin/
H A Dgn.vim1 " Copyright 2017 The Chromium Authors. All rights reserved.
/third_party/gn/misc/vim/ftdetect/
H A Dgnfiletype.vim1 " Copyright 2014 The Chromium Authors. All rights reserved.
/third_party/gn/misc/vim/autoload/
H A Dgn.vim1 " Copyright 2017 The Chromium Authors. All rights reserved.
/third_party/node/deps/v8/src/heap/base/asm/ia32/
H A Dpush_registers_masm.S1 ;; Copyright 2020 the V8 project authors. All rights reserved.
/third_party/node/deps/v8/src/heap/base/asm/arm64/
H A Dpush_registers_masm.S1 ; Copyright 2020 the V8 project authors. All rights reserved.
/kernel/liteos_m/arch/arm/cortex-m33/iar/NTZ/
H A Dlos_dispatch.S2 ; Copyright (c) 2013-2019 Huawei Technologies Co., Ltd. All rights reserved.
3 ; Copyright (c) 2020-2021 Huawei Device Co., Ltd. All rights reserved.
/kernel/liteos_m/arch/arm/cortex-m33/iar/TZ/non_secure/
H A Dlos_dispatch.S2 ; Copyright (c) 2013-2019 Huawei Technologies Co., Ltd. All rights reserved.
3 ; Copyright (c) 2020-2021 Huawei Device Co., Ltd. All rights reserved.

Completed in 10 milliseconds

1234