Home
last modified time | relevance | path

Searched defs:mask (Results 1 – 23 of 23) sorted by relevance

/security/apparmor/
Dipc.c26 static void audit_ptrace_mask(struct audit_buffer *ab, u32 mask) in audit_ptrace_mask()
149 static void audit_signal_mask(struct audit_buffer *ab, u32 mask) in audit_signal_mask()
Dlib.c203 void aa_perm_mask_to_str(char *str, size_t str_size, const char *chrs, u32 mask) in aa_perm_mask_to_str()
222 u32 mask) in aa_audit_perm_names()
239 void aa_audit_perm_mask(struct audit_buffer *ab, u32 mask, const char *chrs, in aa_audit_perm_mask()
Dlsm.c193 static int common_perm(const char *op, const struct path *path, u32 mask, in common_perm()
215 static int common_perm_cond(const char *op, const struct path *path, u32 mask) in common_perm_cond()
238 struct dentry *dentry, u32 mask, in common_perm_dir_dentry()
256 struct dentry *dentry, u32 mask) in common_perm_rm()
281 struct dentry *dentry, u32 mask, umode_t mode) in common_perm_create()
445 static int common_file_perm(const char *op, struct file *file, u32 mask) in common_file_perm()
466 static int apparmor_file_permission(struct file *file, int mask) in apparmor_file_permission()
473 u32 mask = AA_MAY_LOCK; in apparmor_file_lock() local
484 int mask = 0; in common_mmap() local
Dfile.c25 static u32 map_mask_to_chr_mask(u32 mask) in map_mask_to_chr_mask()
42 static void audit_file_mask(struct audit_buffer *ab, u32 mask) in audit_file_mask()
120 u32 mask = perms->audit; in aa_audit_file() local
Dresource.c143 unsigned int mask = 0; in __aa_transition_rlimits() local
Dpolicy.c680 int aa_may_manage_policy(struct aa_label *label, struct aa_ns *ns, u32 mask) in aa_may_manage_policy()
857 u32 mask, struct aa_loaddata *udata) in aa_replace_profiles()
Dmount.c140 u32 mask = perms->audit; in audit_mount() local
Dapparmorfs.c413 static ssize_t policy_update(u32 mask, const char __user *buf, size_t size, in policy_update()
581 __poll_t mask = 0; in ns_revision_poll() local
/security/apparmor/include/
Dresource.h29 unsigned int mask; member
Dfile.h114 static inline u16 dfa_map_xindex(u16 mask) in dfa_map_xindex()
/security/integrity/ima/
Dima_main.c193 u32 secid, char *buf, loff_t size, int mask, in process_measurement()
433 int ima_file_check(struct file *file, int mask) in ima_file_check()
Dima_policy.c68 int mask; member
372 enum ima_hooks func, int mask) in ima_match_rules()
491 enum ima_hooks func, int mask, int flags, int *pcr, in ima_match_policy()
Dima_appraise.c48 int ima_must_appraise(struct inode *inode, int mask, enum ima_hooks func) in ima_must_appraise()
Dima_api.c185 int mask, enum ima_hooks func, int *pcr, in ima_get_action()
Dima.h282 static inline int ima_must_appraise(struct inode *inode, int mask, in ima_must_appraise()
/security/selinux/ss/
Davtab.c32 static inline int avtab_hash(struct avtab_key *keyp, u32 mask) in avtab_hash()
312 u32 mask = 0; in avtab_alloc() local
Davtab.h87 u32 mask; /* mask to compute hash func */ member
Dpolicydb.h180 u32 mask; member
184 u32 mask[4]; member
Dservices.c508 u32 mask = (1 << index); in security_dump_masked_av() local
2489 static int match_ipv6_addrmask(u32 *input, u32 *addr, u32 *mask) in match_ipv6_addrmask()
/security/selinux/
Dhooks.c1981 static inline u32 file_mask_to_av(int mode, int mask) in file_mask_to_av()
2970 static int selinux_inode_mkdir(struct inode *dir, struct dentry *dentry, umode_t mask) in selinux_inode_mkdir()
3039 static int selinux_inode_permission(struct inode *inode, int mask) in selinux_inode_permission()
3284 static int selinux_path_notify(const struct path *path, u64 mask, in selinux_path_notify()
3514 static int selinux_revalidate_file_permission(struct file *file, int mask) in selinux_revalidate_file_permission()
3527 static int selinux_file_permission(struct file *file, int mask) in selinux_file_permission()
/security/
Dsecurity.c907 int security_path_notify(const struct path *path, u64 mask, in security_path_notify()
1199 int security_inode_permission(struct inode *inode, int mask) in security_inode_permission()
1372 int security_file_permission(struct file *file, int mask) in security_file_permission()
/security/smack/
Dsmackfs.c1133 struct in_addr mask; in smk_write_net4addr() local
1399 unsigned int mask = 128; in smk_write_net6addr() local
Dsmack_lsm.c1171 static int smack_inode_permission(struct inode *inode, int mask) in smack_inode_permission()