/kernel/linux/linux-6.6/security/apparmor/include/ |
H A D | perms.h | 67 u32 allow; member 68 u32 deny; /* explicit deny, or conflict if allow also set */ 70 u32 subtree; /* allow perm on full subtree only when allow is set */ 71 u32 cond; /* set only when ~allow and ~deny */ 73 u32 kill; /* set only when ~allow | deny */ 74 u32 complain; /* accumulates only used when ~allow & ~deny */ 75 u32 prompt; /* accumulates only used when ~allow & ~deny */ 77 u32 audit; /* set only when allow is set */ 78 u32 quiet; /* set only when ~allow | den [all...] |
/kernel/linux/linux-5.10/security/apparmor/ |
H A D | lib.c | 24 struct aa_perms allperms = { .allow = ALL_PERMS_MASK, 329 .allow = dfa_user_allow(dfa, state), in aa_compute_perms() 337 perms->allow |= map_other(dfa_other_allow(dfa, state)); in aa_compute_perms() 351 accum->allow &= addend->allow & ~addend->deny; in aa_perms_accum_raw() 352 accum->audit |= addend->audit & addend->allow; in aa_perms_accum_raw() 353 accum->quiet &= addend->quiet & ~addend->allow; in aa_perms_accum_raw() 354 accum->kill |= addend->kill & ~addend->allow; in aa_perms_accum_raw() 355 accum->stop |= addend->stop & ~addend->allow; in aa_perms_accum_raw() 356 accum->complain |= addend->complain & ~addend->allow in aa_perms_accum_raw() [all...] |
H A D | file.c | 122 aad(&sa)->request = aad(&sa)->request & ~perms->allow; in aa_audit_file() 138 aad(&sa)->denied = aad(&sa)->request & ~perms->allow; in aa_audit_file() 224 perms.allow = map_old_perms(dfa_user_allow(dfa, state)); in aa_compute_fperms() 229 perms.allow = map_old_perms(dfa_other_allow(dfa, state)); in aa_compute_fperms() 234 perms.allow |= AA_MAY_GETATTR; in aa_compute_fperms() 238 perms.allow |= AA_MAY_CHANGE_PROFILE; in aa_compute_fperms() 240 perms.allow |= AA_MAY_ONEXEC; in aa_compute_fperms() 275 if (request & ~perms->allow) in __aa_path_perm() 384 if (!(lperms.allow & AA_MAY_LINK)) in profile_path_link() 398 if (!(perms.allow in profile_path_link() [all...] |
/kernel/linux/linux-6.6/rust/bindings/ |
H A D | lib.rs | 13 #![cfg_attr(test, allow(deref_nullptr))] 14 #![cfg_attr(test, allow(unaligned_references))] 15 #![cfg_attr(test, allow(unsafe_op_in_unsafe_fn))] 16 #![allow( 40 #[allow(dead_code)]
|
/kernel/linux/linux-6.6/tools/tracing/rtla/ |
H A D | Makefile | 11 define allow-override 18 $(call allow-override,CC,$(CROSS_COMPILE)gcc) 19 $(call allow-override,AR,$(CROSS_COMPILE)ar) 20 $(call allow-override,STRIP,$(CROSS_COMPILE)strip) 21 $(call allow-override,PKG_CONFIG,pkg-config) 22 $(call allow-override,LD_SO_CONF_PATH,/etc/ld.so.conf.d/) 23 $(call allow-override,LDCONFIG,ldconfig)
|
/kernel/linux/linux-6.6/tools/verification/rv/ |
H A D | Makefile | 11 define allow-override 18 $(call allow-override,CC,$(CROSS_COMPILE)gcc) 19 $(call allow-override,AR,$(CROSS_COMPILE)ar) 20 $(call allow-override,STRIP,$(CROSS_COMPILE)strip) 21 $(call allow-override,PKG_CONFIG,pkg-config) 22 $(call allow-override,LD_SO_CONF_PATH,/etc/ld.so.conf.d/) 23 $(call allow-override,LDCONFIG,ldconfig)
|
/kernel/linux/linux-6.6/security/apparmor/ |
H A D | policy_compat.c | 103 perms->allow |= AA_MAY_GETATTR; in compute_fperms_allow() 107 perms->allow |= AA_MAY_CHANGE_PROFILE; in compute_fperms_allow() 109 perms->allow |= AA_MAY_ONEXEC; in compute_fperms_allow() 117 perms.allow = map_old_perms(dfa_user_allow(dfa, state)); in compute_fperms_user() 132 perms.allow = map_old_perms(dfa_other_allow(dfa, state)); in compute_fperms_other() 191 perms[state].allow = dfa_user_allow(xmatch, state); in compute_xmatch_perms() 215 perms.allow = dfa_user_allow(dfa, state); in compute_perms_entry() 230 perms.allow |= map_other(dfa_other_allow(dfa, state)); in compute_perms_entry() 232 perms.allow |= AA_MAY_LOCK; in compute_perms_entry() 234 perms.allow | in compute_perms_entry() [all...] |
H A D | file.c | 127 ad.request = ad.request & ~perms->allow; in aa_audit_file() 143 ad.denied = ad.request & ~perms->allow; in aa_audit_file() 241 if (request & ~perms->allow) in __aa_path_perm() 360 if (!(lperms.allow & AA_MAY_LINK)) in profile_path_link() 374 if (!(perms.allow & AA_MAY_LINK)) { in profile_path_link() 381 if (!(perms.allow & AA_LINK_SUBSET)) in profile_path_link() 391 request = lperms.allow & ~AA_MAY_LINK; in profile_path_link() 392 lperms.allow &= perms.allow | AA_MAY_LINK; in profile_path_link() 394 request |= AA_AUDIT_FILE_MASK & (lperms.allow in profile_path_link() [all...] |
/kernel/linux/linux-5.10/drivers/dma-buf/ |
H A D | selftest.c | 54 bool allow = true; in apply_subtest_filter() local 58 allow = false; in apply_subtest_filter() 69 if (allow) in apply_subtest_filter() 77 if (allow) in apply_subtest_filter() 82 result = allow; in apply_subtest_filter()
|
/kernel/linux/linux-5.10/drivers/misc/cb710/ |
H A D | debug.c | 13 static const u16 allow[CB710_REG_COUNT/16] = { variable 17 static const char *const prefix[ARRAY_SIZE(allow)] = { 26 return ((allow[block] >> offset) & mask) == mask; in allow_reg_read() 35 for (i = 0; i < ARRAY_SIZE(allow); ++i, reg += 16/(t/8)) { \ 63 for (i = 0; i < ARRAY_SIZE(allow); ++i, reg += 16/(t/8)) { \
|
/kernel/linux/linux-6.6/drivers/misc/cb710/ |
H A D | debug.c | 13 static const u16 allow[CB710_REG_COUNT/16] = { variable 17 static const char *const prefix[ARRAY_SIZE(allow)] = { 26 return ((allow[block] >> offset) & mask) == mask; in allow_reg_read() 35 for (i = 0; i < ARRAY_SIZE(allow); ++i, reg += 16/(t/8)) { \ 63 for (i = 0; i < ARRAY_SIZE(allow); ++i, reg += 16/(t/8)) { \
|
/kernel/linux/linux-6.6/drivers/dma-buf/ |
H A D | selftest.c | 54 bool allow = true; in apply_subtest_filter() local 58 allow = false; in apply_subtest_filter() 69 if (allow) in apply_subtest_filter() 77 if (allow) in apply_subtest_filter() 82 result = allow; in apply_subtest_filter()
|
/kernel/linux/linux-6.6/rust/alloc/ |
H A D | lib.rs | 31 //! [`RefCell`] types in order to allow mutation. 41 //! paired with synchronization primitives such as mutexes to allow mutation of 66 #![allow(unused_attributes)] 71 test(no_crate_inject, attr(allow(unused_variables), deny(warnings))) 91 #![allow(explicit_outlives_requirements)] 93 #![cfg_attr(not(bootstrap), allow(internal_features))] 94 #![cfg_attr(not(bootstrap), allow(rustdoc::redundant_explicit_links))] 237 // to allow code to have `use boxed::Box;` declarations. 273 #[allow(dead_code)] // Not used in all configurations
|
/kernel/linux/linux-5.10/fs/nfsd/ |
H A D | nfs4acl.c | 145 /* allocate for worst case: one (deny, allow) pair each: */ in nfsd4_get_nfs4_acl() 296 /* In the case of groups, we apply allow ACEs first, then deny ACEs, in _posix_to_nfsv4_one() 299 /* allow ACEs */ in _posix_to_nfsv4_one() 422 u32 allow; member 487 state->mask.allow |= astate->allow; in add_to_mask() 521 low_mode_from_nfs4(state->owner.allow, &pace->e_perm, flags); in posix_state_to_acl() 526 low_mode_from_nfs4(state->users->aces[i].perms.allow, in posix_state_to_acl() 534 low_mode_from_nfs4(state->group.allow, &pace->e_perm, flags); in posix_state_to_acl() 540 low_mode_from_nfs4(state->groups->aces[i].perms.allow, in posix_state_to_acl() [all...] |
/kernel/linux/linux-6.6/fs/nfsd/ |
H A D | nfs4acl.c | 145 /* allocate for worst case: one (deny, allow) pair each: */ in nfsd4_get_nfs4_acl() 296 /* In the case of groups, we apply allow ACEs first, then deny ACEs, in _posix_to_nfsv4_one() 299 /* allow ACEs */ in _posix_to_nfsv4_one() 422 u32 allow; member 486 state->mask.allow |= astate->allow; in add_to_mask() 520 low_mode_from_nfs4(state->owner.allow, &pace->e_perm, flags); in posix_state_to_acl() 525 low_mode_from_nfs4(state->users->aces[i].perms.allow, in posix_state_to_acl() 533 low_mode_from_nfs4(state->group.allow, &pace->e_perm, flags); in posix_state_to_acl() 539 low_mode_from_nfs4(state->groups->aces[i].perms.allow, in posix_state_to_acl() [all...] |
/kernel/linux/linux-5.10/arch/arm/mach-s3c/ |
H A D | pm.c | 63 #define any_allowed(mask, allow) (((mask) & (allow)) != (allow))
|
/kernel/linux/linux-6.6/arch/arm/mach-s3c/ |
H A D | pm.c | 63 #define any_allowed(mask, allow) (((mask) & (allow)) != (allow))
|
/kernel/linux/linux-5.10/tools/build/ |
H A D | Makefile | 9 define allow-override 15 $(call allow-override,CC,$(CROSS_COMPILE)gcc) 16 $(call allow-override,LD,$(CROSS_COMPILE)ld)
|
/kernel/linux/linux-6.6/tools/build/ |
H A D | Makefile | 9 define allow-override 15 $(call allow-override,CC,$(CROSS_COMPILE)gcc) 16 $(call allow-override,LD,$(CROSS_COMPILE)ld)
|
/kernel/linux/linux-5.10/tools/lib/traceevent/plugins/ |
H A D | Makefile | 11 define allow-override 18 $(call allow-override,CC,$(CROSS_COMPILE)gcc) 19 $(call allow-override,AR,$(CROSS_COMPILE)ar) 20 $(call allow-override,NM,$(CROSS_COMPILE)nm) 21 $(call allow-override,PKG_CONFIG,pkg-config)
|
/kernel/linux/linux-5.10/tools/lib/lockdep/ |
H A D | Makefile | 12 define allow-override 19 $(call allow-override,CC,$(CROSS_COMPILE)gcc) 20 $(call allow-override,AR,$(CROSS_COMPILE)ar) 21 $(call allow-override,LD,$(CROSS_COMPILE)ld)
|
/kernel/linux/linux-6.6/rust/kernel/ |
H A D | error.rs | 134 #[allow(dead_code)] 277 #[allow(dead_code)] 294 #[allow(clippy::unnecessary_cast)] 324 #[allow(dead_code)]
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/inc/hw/ |
H A D | dchubbub.h | 162 void (*allow_self_refresh_control)(struct hubbub *hubbub, bool allow); 172 void (*force_pstate_change_control)(struct hubbub *hubbub, bool force, bool allow); 193 void (*force_usr_retraining_allow)(struct hubbub *hubbub, bool allow);
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/selftests/ |
H A D | i915_selftest.c | 250 bool allow = true; in apply_subtest_filter() local 254 allow = false; in apply_subtest_filter() 265 if (allow) in apply_subtest_filter() 273 if (allow) in apply_subtest_filter() 278 result = allow; in apply_subtest_filter()
|
/kernel/linux/linux-5.10/tools/lib/traceevent/ |
H A D | Makefile | 18 define allow-override 25 $(call allow-override,CC,$(CROSS_COMPILE)gcc) 26 $(call allow-override,AR,$(CROSS_COMPILE)ar) 27 $(call allow-override,NM,$(CROSS_COMPILE)nm) 28 $(call allow-override,PKG_CONFIG,pkg-config)
|