Home
last modified time | relevance | path

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

/security/tomoyo/
Daudit.c118 static inline const char *tomoyo_filetype(const umode_t mode) in tomoyo_filetype()
188 umode_t mode; in tomoyo_print_header() local
332 u8 mode; in tomoyo_get_audit() local
Dtomoyo.c169 umode_t mode) in tomoyo_path_mkdir()
220 umode_t mode, unsigned int dev) in tomoyo_path_mknod()
346 static int tomoyo_path_chmod(const struct path *path, umode_t mode) in tomoyo_path_chmod()
Dsecurityfs_if.c223 static void __init tomoyo_create_entry(const char *name, const umode_t mode, in tomoyo_create_entry()
Dutil.c973 u8 mode; in tomoyo_get_mode() local
Dcommon.h449 unsigned int mode; member
499 u8 mode; /* One of tomoyo_mode_index . */ member
571 umode_t mode; member
732 struct tomoyo_number_union mode; member
Dfile.c860 const unsigned int mode, unsigned int dev) in tomoyo_mkdev_perm()
Dcommon.c632 u8 mode; in tomoyo_set_mode() local
/security/
Dinode.c107 static struct dentry *securityfs_create_dentry(const char *name, umode_t mode, in securityfs_create_dentry()
200 struct dentry *securityfs_create_file(const char *name, umode_t mode, in securityfs_create_file()
Dsecurity.c696 int security_ptrace_access_check(struct task_struct *child, unsigned int mode) in security_ptrace_access_check()
951 int security_dentry_init_security(struct dentry *dentry, int mode, in security_dentry_init_security()
960 int security_dentry_create_files_as(struct dentry *dentry, int mode, in security_dentry_create_files_as()
1016 int security_path_mknod(const struct path *dir, struct dentry *dentry, umode_t mode, in security_path_mknod()
1025 int security_path_mkdir(const struct path *dir, struct dentry *dentry, umode_t mode) in security_path_mkdir()
1091 int security_path_chmod(const struct path *path, umode_t mode) in security_path_chmod()
1112 int security_inode_create(struct inode *dir, struct dentry *dentry, umode_t mode) in security_inode_create()
1143 int security_inode_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode) in security_inode_mkdir()
1158 int security_inode_mknod(struct inode *dir, struct dentry *dentry, umode_t mode, dev_t dev) in security_inode_mknod()
1797 struct task_struct *target, long type, int mode) in security_msg_queue_msgrcv()
Dcommoncap.c133 int cap_ptrace_access_check(struct task_struct *child, unsigned int mode) in cap_ptrace_access_check()
/security/smack/
Dsmack_lsm.c97 static void smk_bu_mode(int mode, char *s) in smk_bu_mode()
121 struct smack_known *oskp, int mode, int rc) in smk_bu_note()
136 #define smk_bu_note(note, sskp, oskp, mode, RC) (RC) argument
141 int mode, int rc) in smk_bu_current()
158 #define smk_bu_current(note, oskp, mode, RC) (RC) argument
162 static int smk_bu_task(struct task_struct *otp, int mode, int rc) in smk_bu_task()
180 #define smk_bu_task(otp, mode, RC) (RC) argument
184 static int smk_bu_inode(struct inode *inode, int mode, int rc) in smk_bu_inode()
210 #define smk_bu_inode(inode, mode, RC) (RC) argument
214 static int smk_bu_file(struct file *file, int mode, int rc) in smk_bu_file()
[all …]
Dsmack_access.c220 u32 mode, struct smk_audit_info *a) in smk_tskacc()
272 u32 mode, struct smk_audit_info *a) in smk_curacc()
/security/integrity/ima/
Dima_main.c114 fmode_t mode = file->f_mode; in ima_rdwr_violation_check() local
149 fmode_t mode = file->f_mode; in ima_check_last_writer() local
/security/apparmor/
Dlsm.c106 unsigned int mode) in apparmor_ptrace_access_check()
281 struct dentry *dentry, u32 mask, umode_t mode) in common_perm_create()
297 umode_t mode) in apparmor_path_mkdir()
309 umode_t mode, unsigned int dev) in apparmor_path_mknod()
377 static int apparmor_path_chmod(const struct path *path, umode_t mode) in apparmor_path_chmod()
Dapparmorfs.c182 umode_t mode, void *data, char *link, in __aafs_setup_d_inode()
231 static struct dentry *aafs_create(const char *name, umode_t mode, in aafs_create()
292 static struct dentry *aafs_create_file(const char *name, umode_t mode, in aafs_create_file()
1689 static int ns_mkdir_op(struct inode *dir, struct dentry *dentry, umode_t mode) in ns_mkdir_op()
Dlabel.c1530 int mode = -1, count = 0; in label_modename() local
/security/apparmor/include/
Dfile.h106 umode_t mode; member
Dapparmorfs.h29 umode_t mode; member
Dpolicy.h140 long mode; member
/security/integrity/evm/
Devm_crypto.c150 umode_t mode; in hmac_add_misc() member
/security/yama/
Dyama_lsm.c355 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()
1981 static inline u32 file_mask_to_av(int mode, int mask) in file_mask_to_av()
2131 unsigned int mode) in selinux_ptrace_access_check()
2863 static int selinux_dentry_init_security(struct dentry *dentry, int mode, in selinux_dentry_init_security()
2881 static int selinux_dentry_create_files_as(struct dentry *dentry, int mode, in selinux_dentry_create_files_as()
2950 static int selinux_inode_create(struct inode *dir, struct dentry *dentry, umode_t mode) in selinux_inode_create()
2980 static int selinux_inode_mknod(struct inode *dir, struct dentry *dentry, umode_t mode, dev_t dev) in selinux_inode_mknod()
6035 long type, int mode) in selinux_msg_queue_msgrcv()
Dselinuxfs.c1157 static struct inode *sel_make_inode(struct super_block *sb, int mode) in sel_make_inode()