Home
last modified time | relevance | path

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

/security/apparmor/
Dlsm.c162 static int common_perm(int op, struct path *path, u32 mask, in common_perm()
186 struct dentry *dentry, u32 mask, in common_perm_dir_dentry()
204 struct dentry *dentry, u32 mask) in common_perm_mnt_dentry()
224 struct dentry *dentry, u32 mask) in common_perm_rm()
249 u32 mask, umode_t mode) in common_perm_create()
426 static int common_file_perm(int op, struct file *file, u32 mask) in common_file_perm()
454 static int apparmor_file_permission(struct file *file, int mask) in apparmor_file_permission()
461 u32 mask = AA_MAY_LOCK; in apparmor_file_lock() local
473 int mask = 0; in common_mmap() local
Dfile.c30 static void audit_file_mask(struct audit_buffer *ab, u32 mask) in audit_file_mask()
124 u32 mask = perms->audit; in aa_audit_file() local
Dresource.c114 unsigned int mask = 0; in __aa_transition_rlimits() local
/security/apparmor/include/
Dresource.h33 unsigned int mask; member
Dfile.h102 static inline u16 dfa_map_xindex(u16 mask) in dfa_map_xindex()
/security/integrity/ima/
Dima_main.c143 int mask, int function) in process_measurement()
262 int ima_file_check(struct file *file, int mask) in ima_file_check()
Dima_api.c115 int ima_get_action(struct inode *inode, int mask, int function) in ima_get_action()
125 int ima_must_measure(struct inode *inode, int mask, int function) in ima_must_measure()
Dima_policy.c48 int mask; member
165 struct inode *inode, enum ima_hooks func, int mask) in ima_match_rules()
262 int ima_match_policy(struct inode *inode, enum ima_hooks func, int mask, in ima_match_policy()
Dima_appraise.c37 int ima_must_appraise(struct inode *inode, int mask, enum ima_hooks func) in ima_must_appraise()
Dima.h163 static inline int ima_must_appraise(struct inode *inode, int mask, in ima_must_appraise()
/security/selinux/ss/
Davtab.c29 static inline int avtab_hash(struct avtab_key *keyp, u16 mask) in avtab_hash()
275 u16 mask = 0; in avtab_alloc() local
Davtab.h89 u16 mask; /* mask to compute hash func */ member
Dpolicydb.h184 u32 mask; member
188 u32 mask[4]; member
Dservices.c515 u32 mask = (1 << index); in security_dump_masked_av() local
2235 static int match_ipv6_addrmask(u32 *input, u32 *addr, u32 *mask) in match_ipv6_addrmask()
/security/
Dcapability.c149 umode_t mask) in cap_inode_create()
172 umode_t mask) in cap_inode_mkdir()
205 static int cap_inode_permission(struct inode *inode, int mask) in cap_inode_permission()
319 static int cap_file_permission(struct file *file, int mask) in cap_file_permission()
Ddevice_cgroup.c776 int __devcgroup_inode_permission(struct inode *inode, int mask) in __devcgroup_inode_permission()
Dsecurity.c559 int security_inode_permission(struct inode *inode, int mask) in security_inode_permission()
676 int security_file_permission(struct file *file, int mask) in security_file_permission()
/security/selinux/
Dhooks.c1807 static inline u32 file_mask_to_av(int mode, int mask) in file_mask_to_av()
2711 static int selinux_inode_mkdir(struct inode *dir, struct dentry *dentry, umode_t mask) in selinux_inode_mkdir()
2765 static int selinux_inode_permission(struct inode *inode, int mask) in selinux_inode_permission()
3071 static int selinux_revalidate_file_permission(struct file *file, int mask) in selinux_revalidate_file_permission()
3084 static int selinux_file_permission(struct file *file, int mask) in selinux_file_permission()
/security/smack/
Dsmack_lsm.c740 static int smack_inode_permission(struct inode *inode, int mask) in smack_inode_permission()
1057 static int smack_file_permission(struct file *file, int mask) in smack_file_permission()
Dsmackfs.c1141 struct in_addr mask; in smk_write_netlbladdr() local