/kernel/linux/linux-5.10/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 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 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 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 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()
|
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/include/ |
H A D | pkeys.h | 15 * 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 D | pkeys.h | 15 * 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 D | embed.c | 97 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 D | embed.h | 56 EMB_RIGHT_TYPE rights; member
|
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/oal/ |
H A D | oal_file.h | 98 输入参数 : pc_path: 文件路径,flags:打开方式,rights:打开权限 102 static inline oal_file_stru *oal_file_open(const hi_char *pc_path, hi_s32 flags, hi_s32 rights) in oal_file_open() argument 111 pst_file->fp = filp_open(pc_path, flags, rights); in oal_file_open() 117 pst_file->fd = open(pc_path, flags, rights); in oal_file_open()
|
/kernel/linux/linux-6.6/tools/testing/selftests/livepatch/ |
H A D | functions.sh | 317 # 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 D | poll_oneoff.c | 165 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 D | ntfssecaudit.c | 367 /* 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 D | siw_verbs.h | 69 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 D | siw_mem.h | 23 u64 start, u64 len, int rights);
|
/kernel/linux/linux-6.6/drivers/infiniband/sw/siw/ |
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);
|
H A D | siw_mem.h | 23 u64 start, u64 len, int rights);
|
/kernel/liteos_m/arch/arm/cortex-m3/keil/ |
H A D | los_startup.s | 2 ; 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 D | los_dispatch.S | 2 ; 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 D | gn.vim | 1 " Copyright 2017 The Chromium Authors. All rights reserved.
|
/device/soc/rockchip/common/vendor/drivers/gpu/arm/mali400/mali/include/linux/mali/ |
H A D | mali_utgard_uk_types.h | 2 * Copyright (C) 2010-2017 ARM Limited. All rights reserved. 809 u32 rights; /**< [in] rights necessary for accessing memory */ member 814 u32 rights; /**< [in] rights necessary for accessing memory */ member 819 u32 rights; /**< [in] rights necessary for accessing memory */ member
|
/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/mali/include/linux/mali/ |
H A D | mali_utgard_uk_types.h | 2 * Copyright (C) 2010-2017 ARM Limited. All rights reserved. 813 u32 rights; /**< [in] rights necessary for accessing memory */ member 818 u32 rights; /**< [in] rights necessary for accessing memory */ member 823 u32 rights; /**< [in] rights necessary for accessing memory */ member
|
/third_party/gn/misc/vim/ftdetect/ |
H A D | gnfiletype.vim | 1 " Copyright 2014 The Chromium Authors. All rights reserved.
|
/third_party/gn/misc/vim/autoload/ |
H A D | gn.vim | 1 " Copyright 2017 The Chromium Authors. All rights reserved.
|
/third_party/node/deps/v8/src/heap/base/asm/ia32/ |
H A D | push_registers_masm.S | 1 ;; Copyright 2020 the V8 project authors. All rights reserved.
|