Home
last modified time | relevance | path

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

/security/apparmor/
Dlsm.c192 static int common_perm(const char *op, const struct path *path, u32 mask, in common_perm()
214 static int common_perm_cond(const char *op, const struct path *path, u32 mask) in common_perm_cond()
237 struct dentry *dentry, u32 mask, in common_perm_dir_dentry()
255 struct dentry *dentry, u32 mask) in common_perm_rm()
280 struct dentry *dentry, u32 mask, umode_t mode) in common_perm_create()
444 static int common_file_perm(const char *op, struct file *file, u32 mask) in common_file_perm()
465 static int apparmor_file_permission(struct file *file, int mask) in apparmor_file_permission()
472 u32 mask = AA_MAY_LOCK; in apparmor_file_lock() local
483 int mask = 0; in common_mmap() local
Dlib.c205 void aa_perm_mask_to_str(char *str, const char *chrs, u32 mask) in aa_perm_mask_to_str()
216 void aa_audit_perm_names(struct audit_buffer *ab, const char **names, u32 mask) in aa_audit_perm_names()
233 void aa_audit_perm_mask(struct audit_buffer *ab, u32 mask, const char *chrs, in aa_audit_perm_mask()
Dipc.c30 static void audit_ptrace_mask(struct audit_buffer *ab, u32 mask) in audit_ptrace_mask()
152 static void audit_signal_mask(struct audit_buffer *ab, u32 mask) in audit_signal_mask()
Dfile.c28 static u32 map_mask_to_chr_mask(u32 mask) in map_mask_to_chr_mask()
45 static void audit_file_mask(struct audit_buffer *ab, u32 mask) in audit_file_mask()
122 u32 mask = perms->audit; in aa_audit_file() local
Dresource.c147 unsigned int mask = 0; in __aa_transition_rlimits() local
Dpolicy.c678 int aa_may_manage_policy(struct aa_label *label, struct aa_ns *ns, u32 mask) in aa_may_manage_policy()
854 u32 mask, struct aa_loaddata *udata) in aa_replace_profiles()
Dmount.c143 u32 mask = perms->audit; in audit_mount() local
Dapparmorfs.c415 static ssize_t policy_update(u32 mask, const char __user *buf, size_t size, in policy_update()
583 unsigned int mask = 0; in ns_revision_poll() local
/security/apparmor/include/
Dresource.h33 unsigned int mask; member
Dfile.h115 static inline u16 dfa_map_xindex(u16 mask) in dfa_map_xindex()
/security/integrity/ima/
Dima_main.c172 int mask, enum ima_hooks func, int opened) in process_measurement()
351 int ima_file_check(struct file *file, int mask, int opened) in ima_file_check()
Dima_policy.c62 int mask; member
250 enum ima_hooks func, int mask) in ima_match_rules()
365 int ima_match_policy(struct inode *inode, enum ima_hooks func, int mask, in ima_match_policy()
Dima_appraise.c51 int ima_must_appraise(struct inode *inode, int mask, enum ima_hooks func) in ima_must_appraise()
Dima_api.c175 int ima_get_action(struct inode *inode, int mask, enum ima_hooks func, int *pcr) in ima_get_action()
Dima.h262 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()
313 u32 mask = 0; in avtab_alloc() local
Davtab.h90 u32 mask; /* mask to compute hash func */ member
Dpolicydb.h184 u32 mask; member
188 u32 mask[4]; member
Dservices.c530 u32 mask = (1 << index); in security_dump_masked_av() local
2371 static int match_ipv6_addrmask(u32 *input, u32 *addr, u32 *mask) in match_ipv6_addrmask()
/security/
Ddevice_cgroup.c837 int __devcgroup_inode_permission(struct inode *inode, int mask) in __devcgroup_inode_permission()
Dsecurity.c696 int security_inode_permission(struct inode *inode, int mask) in security_inode_permission()
863 int security_file_permission(struct file *file, int mask) in security_file_permission()
/security/smack/
Dsmackfs.c1161 struct in_addr mask; in smk_write_net4addr() local
1427 unsigned int mask = 128; in smk_write_net6addr() local
Dsmack_lsm.c1215 static int smack_inode_permission(struct inode *inode, int mask) in smack_inode_permission()
/security/selinux/
Dhooks.c2075 static inline u32 file_mask_to_av(int mode, int mask) in file_mask_to_av()
3024 static int selinux_inode_mkdir(struct inode *dir, struct dentry *dentry, umode_t mask) in selinux_inode_mkdir()
3092 static int selinux_inode_permission(struct inode *inode, int mask) in selinux_inode_permission()
3457 static int selinux_revalidate_file_permission(struct file *file, int mask) in selinux_revalidate_file_permission()
3470 static int selinux_file_permission(struct file *file, int mask) in selinux_file_permission()