Home
last modified time | relevance | path

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

/security/
Dinode.c113 struct inode *dir, *inode; in securityfs_create_dentry() local
297 struct inode *dir; in securityfs_remove() local
Dsecurity.c969 int security_inode_init_security(struct inode *inode, struct inode *dir, in security_inode_init_security()
1004 int security_old_inode_init_security(struct inode *inode, struct inode *dir, in security_old_inode_init_security()
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()
1033 int security_path_rmdir(const struct path *dir, struct dentry *dentry) in security_path_rmdir()
1040 int security_path_unlink(const struct path *dir, struct dentry *dentry) in security_path_unlink()
1048 int security_path_symlink(const struct path *dir, struct dentry *dentry, in security_path_symlink()
1112 int security_inode_create(struct inode *dir, struct dentry *dentry, umode_t mode) in security_inode_create()
1120 int security_inode_link(struct dentry *old_dentry, struct inode *dir, in security_inode_link()
1128 int security_inode_unlink(struct inode *dir, struct dentry *dentry) in security_inode_unlink()
[all …]
/security/apparmor/
Dpolicy_ns.c243 struct dentry *dir) in __aa_create_ns()
283 struct dentry *dir) in __aa_find_or_create_ns()
Dapparmorfs.c181 static int __aafs_setup_d_inode(struct inode *dir, struct dentry *dentry, in __aafs_setup_d_inode()
237 struct inode *dir; in aafs_create() local
352 struct inode *dir; in aafs_remove() local
1349 struct dentry *dent, *dir; in __aa_fs_create_rawdata() local
1460 static struct dentry *create_profile_file(struct dentry *dir, const char *name, in create_profile_file()
1583 struct dentry *dent = NULL, *dir; in __aafs_profile_mkdir() local
1689 static int ns_mkdir_op(struct inode *dir, struct dentry *dentry, umode_t mode) in ns_mkdir_op()
1738 static int ns_rmdir_op(struct inode *dir, struct dentry *dentry) in ns_rmdir_op()
1849 static int __aafs_ns_mkdir_entries(struct aa_ns *ns, struct dentry *dir) in __aafs_ns_mkdir_entries()
1913 struct dentry *dir; in __aafs_ns_mkdir() local
[all …]
Dlsm.c237 static int common_perm_dir_dentry(const char *op, const struct path *dir, in common_perm_dir_dentry()
255 static int common_perm_rm(const char *op, const struct path *dir, in common_perm_rm()
280 static int common_perm_create(const char *op, const struct path *dir, in common_perm_create()
291 static int apparmor_path_unlink(const struct path *dir, struct dentry *dentry) in apparmor_path_unlink()
296 static int apparmor_path_mkdir(const struct path *dir, struct dentry *dentry, in apparmor_path_mkdir()
303 static int apparmor_path_rmdir(const struct path *dir, struct dentry *dentry) in apparmor_path_rmdir()
308 static int apparmor_path_mknod(const struct path *dir, struct dentry *dentry, in apparmor_path_mknod()
319 static int apparmor_path_symlink(const struct path *dir, struct dentry *dentry, in apparmor_path_symlink()
/security/tomoyo/
Dmount.c79 const struct path *dir, const char *type, in tomoyo_mount_acl()
Dcommon.h485 const struct tomoyo_path_info *dir; member
/security/selinux/
Dselinuxfs.c1331 struct dentry *dir = fsi->bool_dir; in sel_make_bools() local
1596 static int sel_make_avc_files(struct dentry *dir) in sel_make_avc_files()
1632 static int sel_make_ss_files(struct dentry *dir) in sel_make_ss_files()
1686 static int sel_make_initcon_files(struct dentry *dir) in sel_make_initcon_files()
1780 struct dentry *dir) in sel_make_perm_files()
1820 struct dentry *dir) in sel_make_class_dir_entries()
1923 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.c1791 struct inode *dir, in selinux_determine_inode_label()
1814 static int may_create(struct inode *dir, in may_create()
1861 static int may_link(struct inode *dir, in may_link()
2902 static int selinux_inode_init_security(struct inode *inode, struct inode *dir, in selinux_inode_init_security()
2950 static int selinux_inode_create(struct inode *dir, struct dentry *dentry, umode_t mode) in selinux_inode_create()
2955 static int selinux_inode_link(struct dentry *old_dentry, struct inode *dir, struct dentry *new_dent… in selinux_inode_link()
2960 static int selinux_inode_unlink(struct inode *dir, struct dentry *dentry) in selinux_inode_unlink()
2965 static int selinux_inode_symlink(struct inode *dir, struct dentry *dentry, const char *name) in selinux_inode_symlink()
2970 static int selinux_inode_mkdir(struct inode *dir, struct dentry *dentry, umode_t mask) in selinux_inode_mkdir()
2975 static int selinux_inode_rmdir(struct inode *dir, struct dentry *dentry) in selinux_inode_rmdir()
[all …]
/security/smack/
Dsmack_lsm.c984 static int smack_inode_init_security(struct inode *inode, struct inode *dir, in smack_inode_init_security()
1033 static int smack_inode_link(struct dentry *old_dentry, struct inode *dir, in smack_inode_link()
1065 static int smack_inode_unlink(struct inode *dir, struct dentry *dentry) in smack_inode_unlink()
1099 static int smack_inode_rmdir(struct inode *dir, struct dentry *dentry) in smack_inode_rmdir()