Home
last modified time | relevance | path

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

/security/apparmor/
Dipc.c64 unsigned int mode) in aa_may_ptrace()
86 unsigned int mode) in aa_ptrace()
Dlsm.c97 unsigned int mode) in apparmor_ptrace_access_check()
239 u32 mask, umode_t mode) in common_perm_create()
255 umode_t mode) in apparmor_path_mkdir()
267 umode_t mode, unsigned int dev) in apparmor_path_mknod()
337 static int apparmor_path_chmod(struct path *path, umode_t mode) in apparmor_path_chmod()
Dpolicy_unpack.c309 int mode = ACCEPT_TABLE(dfa)[i]; in verify_accept() local
/security/tomoyo/
Daudit.c115 static inline const char *tomoyo_filetype(const umode_t mode) in tomoyo_filetype()
186 umode_t mode; in tomoyo_print_header() local
326 u8 mode; in tomoyo_get_audit() local
Dtomoyo.c182 umode_t mode) in tomoyo_path_mkdir()
230 umode_t mode, unsigned int dev) in tomoyo_path_mknod()
354 static int tomoyo_path_chmod(struct path *path, umode_t mode) in tomoyo_path_chmod()
Dsecurityfs_if.c227 static void __init tomoyo_create_entry(const char *name, const umode_t mode, in tomoyo_create_entry()
Dutil.c978 u8 mode; in tomoyo_get_mode() local
Dcommon.h445 unsigned int mode; member
495 u8 mode; /* One of tomoyo_mode_index . */ member
567 umode_t mode; member
727 struct tomoyo_number_union mode; member
Dfile.c842 const unsigned int mode, unsigned int dev) in tomoyo_mkdev_perm()
Dcommon.c619 u8 mode; in tomoyo_set_mode() local
/security/integrity/ima/
Dima_main.c94 fmode_t mode = file->f_mode; in ima_rdwr_violation_check() local
126 fmode_t mode = file->f_mode; in ima_check_last_writer() local
/security/smack/
Dsmack_lsm.c77 static void smk_bu_mode(int mode, char *s) in smk_bu_mode()
101 struct smack_known *oskp, int mode, int rc) in smk_bu_note()
116 #define smk_bu_note(note, sskp, oskp, mode, RC) (RC) argument
121 int mode, int rc) in smk_bu_current()
138 #define smk_bu_current(note, oskp, mode, RC) (RC) argument
142 static int smk_bu_task(struct task_struct *otp, int mode, int rc) in smk_bu_task()
160 #define smk_bu_task(otp, mode, RC) (RC) argument
164 static int smk_bu_inode(struct inode *inode, int mode, int rc) in smk_bu_inode()
190 #define smk_bu_inode(inode, mode, RC) (RC) argument
194 static int smk_bu_file(struct file *file, int mode, int rc) in smk_bu_file()
[all …]
Dsmack_access.c228 u32 mode, struct smk_audit_info *a) in smk_tskacc()
280 u32 mode, struct smk_audit_info *a) in smk_curacc()
/security/
Dinode.c77 struct dentry *securityfs_create_file(const char *name, umode_t mode, in securityfs_create_file()
Dsecurity.c156 int security_ptrace_access_check(struct task_struct *child, unsigned int mode) in security_ptrace_access_check()
357 int security_dentry_init_security(struct dentry *dentry, int mode, in security_dentry_init_security()
413 int security_path_mknod(struct path *dir, struct dentry *dentry, umode_t mode, in security_path_mknod()
422 int security_path_mkdir(struct path *dir, struct dentry *dentry, umode_t mode) in security_path_mkdir()
488 int security_path_chmod(struct path *path, umode_t mode) in security_path_chmod()
509 int security_inode_create(struct inode *dir, struct dentry *dentry, umode_t mode) in security_inode_create()
540 int security_inode_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode) in security_inode_mkdir()
555 int security_inode_mknod(struct inode *dir, struct dentry *dentry, umode_t mode, dev_t dev) in security_inode_mknod()
1067 struct task_struct *target, long type, int mode) in security_msg_queue_msgrcv()
Dcommoncap.c147 int cap_ptrace_access_check(struct task_struct *child, unsigned int mode) in cap_ptrace_access_check()
Ddevice_cgroup.c853 int devcgroup_inode_mknod(int mode, dev_t dev) in devcgroup_inode_mknod()
/security/apparmor/include/
Dapparmorfs.h31 umode_t mode; member
Dfile.h75 umode_t mode; member
Dpolicy.h212 long mode; member
/security/integrity/evm/
Devm_crypto.c105 umode_t mode; in hmac_add_misc() member
/security/yama/
Dyama_lsm.c279 unsigned int mode) in yama_ptrace_access_check()
/security/selinux/
Dhooks.c1148 static inline u16 inode_mode_to_security_class(umode_t mode) in inode_mode_to_security_class()
1912 static inline u32 file_mask_to_av(int mode, int mask) in file_mask_to_av()
2043 unsigned int mode) in selinux_ptrace_access_check()
2738 static int selinux_dentry_init_security(struct dentry *dentry, int mode, in selinux_dentry_init_security()
2804 static int selinux_inode_create(struct inode *dir, struct dentry *dentry, umode_t mode) in selinux_inode_create()
2834 static int selinux_inode_mknod(struct inode *dir, struct dentry *dentry, umode_t mode, dev_t dev) in selinux_inode_mknod()
5387 long type, int mode) in selinux_msg_queue_msgrcv()
Dselinuxfs.c1029 static struct inode *sel_make_inode(struct super_block *sb, int mode) in sel_make_inode()