Home
last modified time | relevance | path

Searched defs:dir (Results 1 – 11 of 11) sorted by relevance

/security/apparmor/
Dlsm.c236 static int common_perm_dir_dentry(const char *op, const struct path *dir, in common_perm_dir_dentry()
254 static int common_perm_rm(const char *op, const struct path *dir, in common_perm_rm()
279 static int common_perm_create(const char *op, const struct path *dir, in common_perm_create()
290 static int apparmor_path_unlink(const struct path *dir, struct dentry *dentry) in apparmor_path_unlink()
295 static int apparmor_path_mkdir(const struct path *dir, struct dentry *dentry, in apparmor_path_mkdir()
302 static int apparmor_path_rmdir(const struct path *dir, struct dentry *dentry) in apparmor_path_rmdir()
307 static int apparmor_path_mknod(const struct path *dir, struct dentry *dentry, in apparmor_path_mknod()
318 static int apparmor_path_symlink(const struct path *dir, struct dentry *dentry, in apparmor_path_symlink()
Dpolicy_ns.c247 struct dentry *dir) in __aa_create_ns()
287 struct dentry *dir) in __aa_find_or_create_ns()
Dapparmorfs.c184 static int __aafs_setup_d_inode(struct inode *dir, struct dentry *dentry, in __aafs_setup_d_inode()
240 struct inode *dir; in aafs_create() local
354 struct inode *dir; in aafs_remove() local
1354 struct dentry *dent, *dir; in __aa_fs_create_rawdata() local
1465 static struct dentry *create_profile_file(struct dentry *dir, const char *name, in create_profile_file()
1517 struct dentry *dent = NULL, *dir; in __aafs_profile_mkdir() local
1629 static int ns_mkdir_op(struct inode *dir, struct dentry *dentry, umode_t mode) in ns_mkdir_op()
1678 static int ns_rmdir_op(struct inode *dir, struct dentry *dentry) in ns_rmdir_op()
1789 static int __aafs_ns_mkdir_entries(struct aa_ns *ns, struct dentry *dir) in __aafs_ns_mkdir_entries()
1853 struct dentry *dir; in __aafs_ns_mkdir() local
[all …]
/security/
Dinode.c112 struct inode *dir, *inode; in securityfs_create_dentry() local
296 struct inode *dir; in securityfs_remove() local
Dsecurity.c466 int security_inode_init_security(struct inode *inode, struct inode *dir, in security_inode_init_security()
501 int security_old_inode_init_security(struct inode *inode, struct inode *dir, in security_old_inode_init_security()
513 int security_path_mknod(const struct path *dir, struct dentry *dentry, umode_t mode, in security_path_mknod()
522 int security_path_mkdir(const struct path *dir, struct dentry *dentry, umode_t mode) in security_path_mkdir()
530 int security_path_rmdir(const struct path *dir, struct dentry *dentry) in security_path_rmdir()
537 int security_path_unlink(const struct path *dir, struct dentry *dentry) in security_path_unlink()
545 int security_path_symlink(const struct path *dir, struct dentry *dentry, in security_path_symlink()
609 int security_inode_create(struct inode *dir, struct dentry *dentry, umode_t mode) in security_inode_create()
617 int security_inode_link(struct dentry *old_dentry, struct inode *dir, in security_inode_link()
625 int security_inode_unlink(struct inode *dir, struct dentry *dentry) in security_inode_unlink()
[all …]
/security/tomoyo/
Dmount.c77 const struct path *dir, const char *type, in tomoyo_mount_acl()
Dcommon.h482 const struct tomoyo_path_info *dir; member
/security/selinux/
Dselinuxfs.c1258 struct dentry *dir = bool_dir; in sel_make_bools() local
1487 static int sel_make_avc_files(struct dentry *dir) in sel_make_avc_files()
1541 static int sel_make_initcon_files(struct dentry *dir) in sel_make_initcon_files()
1632 struct dentry *dir) in sel_make_perm_files()
1669 struct dentry *dir) in sel_make_class_dir_entries()
1765 static struct dentry *sel_make_dir(struct dentry *dir, const char *name, in sel_make_dir()
Dxfrm.c153 int selinux_xfrm_policy_lookup(struct xfrm_sec_ctx *ctx, u32 fl_secid, u8 dir) in selinux_xfrm_policy_lookup()
Dhooks.c1897 struct inode *dir, in selinux_determine_inode_label()
1919 static int may_create(struct inode *dir, in may_create()
1963 static int may_link(struct inode *dir, in may_link()
2956 static int selinux_inode_init_security(struct inode *inode, struct inode *dir, in selinux_inode_init_security()
3004 static int selinux_inode_create(struct inode *dir, struct dentry *dentry, umode_t mode) in selinux_inode_create()
3009 static int selinux_inode_link(struct dentry *old_dentry, struct inode *dir, struct dentry *new_dent… in selinux_inode_link()
3014 static int selinux_inode_unlink(struct inode *dir, struct dentry *dentry) in selinux_inode_unlink()
3019 static int selinux_inode_symlink(struct inode *dir, struct dentry *dentry, const char *name) in selinux_inode_symlink()
3024 static int selinux_inode_mkdir(struct inode *dir, struct dentry *dentry, umode_t mask) in selinux_inode_mkdir()
3029 static int selinux_inode_rmdir(struct inode *dir, struct dentry *dentry) in selinux_inode_rmdir()
[all …]
/security/smack/
Dsmack_lsm.c1028 static int smack_inode_init_security(struct inode *inode, struct inode *dir, in smack_inode_init_security()
1077 static int smack_inode_link(struct dentry *old_dentry, struct inode *dir, in smack_inode_link()
1109 static int smack_inode_unlink(struct inode *dir, struct dentry *dentry) in smack_inode_unlink()
1143 static int smack_inode_rmdir(struct inode *dir, struct dentry *dentry) in smack_inode_rmdir()