Home
last modified time | relevance | path

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

/security/apparmor/include/
Dresource.h29 unsigned int mask; member
Dfile.h114 static inline u16 dfa_map_xindex(u16 mask) in dfa_map_xindex()
/security/keys/
Dpermission.c30 key_perm_t kperm, mask; in key_task_permission() local
/security/apparmor/
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()
Dipc.c38 static const char *audit_signal_mask(u32 mask) in audit_signal_mask()
Dlsm.c203 static int common_perm(const char *op, const struct path *path, u32 mask, in common_perm()
225 static int common_perm_cond(const char *op, const struct path *path, u32 mask) in common_perm_cond()
250 struct dentry *dentry, u32 mask, in common_perm_dir_dentry()
268 struct dentry *dentry, u32 mask) in common_perm_rm()
294 struct dentry *dentry, u32 mask, umode_t mode) in common_perm_create()
484 static int common_file_perm(const char *op, struct file *file, u32 mask, in common_file_perm()
507 static int apparmor_file_permission(struct file *file, int mask) in apparmor_file_permission()
514 u32 mask = AA_MAY_LOCK; in apparmor_file_lock() local
525 int mask = 0; in common_mmap() local
Dresource.c143 unsigned int mask = 0; in __aa_transition_rlimits() local
Dtask.c192 static const char *audit_ptrace_mask(u32 mask) in audit_ptrace_mask()
Dfile.c27 static u32 map_mask_to_chr_mask(u32 mask) in map_mask_to_chr_mask()
111 u32 mask = perms->audit; in aa_audit_file() local
Dpolicy.c722 int aa_may_manage_policy(struct aa_label *label, struct aa_ns *ns, u32 mask) in aa_may_manage_policy()
899 u32 mask, struct aa_loaddata *udata) in aa_replace_profiles()
Dmount.c140 u32 mask = perms->audit; in audit_mount() local
Dapparmorfs.c414 static ssize_t policy_update(u32 mask, const char __user *buf, size_t size, in policy_update()
583 __poll_t mask = 0; in ns_revision_poll() local
/security/integrity/ima/
Dima_appraise.c74 int mask, enum ima_hooks func) in ima_must_appraise()
283 int mask; in xattr_verify() local
Dima_main.c203 u32 secid, char *buf, loff_t size, int mask, in process_measurement()
529 int ima_file_check(struct file *file, int mask) in ima_file_check()
Dima_api.c190 const struct cred *cred, u32 secid, int mask, in ima_get_action()
Dima_policy.c79 int mask; member
544 u32 secid, enum ima_hooks func, int mask, in ima_match_rules()
712 int mask, int flags, int *pcr, in ima_match_policy()
Dima.h350 struct inode *inode, int mask, in ima_must_appraise()
/security/selinux/ss/
Davtab.h87 u32 mask; /* mask to compute hash func */ member
Dpolicydb.h184 u32 mask; member
188 u32 mask[4]; member
Davtab.c32 static inline int avtab_hash(const struct avtab_key *keyp, u32 mask) in avtab_hash()
Dservices.c518 u32 mask = (1 << index); in security_dump_masked_av() local
2639 static int match_ipv6_addrmask(u32 *input, u32 *addr, u32 *mask) in match_ipv6_addrmask()
/security/selinux/
Dhooks.c1926 static inline u32 file_mask_to_av(int mode, int mask) in file_mask_to_av()
3020 static int selinux_inode_mkdir(struct inode *dir, struct dentry *dentry, umode_t mask) in selinux_inode_mkdir()
3084 static int selinux_inode_permission(struct inode *inode, int mask) in selinux_inode_permission()
3345 static int selinux_path_notify(const struct path *path, u64 mask, in selinux_path_notify()
3587 static int selinux_revalidate_file_permission(struct file *file, int mask) in selinux_revalidate_file_permission()
3600 static int selinux_file_permission(struct file *file, int mask) in selinux_file_permission()
/security/smack/
Dsmackfs.c1155 struct in_addr mask; in smk_write_net4addr() local
1420 unsigned int mask = 128; in smk_write_net6addr() local
Dsmack_lsm.c1200 static int smack_inode_permission(struct inode *inode, int mask) in smack_inode_permission()
/security/
Dsecurity.c1032 int security_path_notify(const struct path *path, u64 mask, in security_path_notify()
1336 int security_inode_permission(struct inode *inode, int mask) in security_inode_permission()
1530 int security_file_permission(struct file *file, int mask) in security_file_permission()