/security/apparmor/ |
D | lsm.c | 185 static int common_perm_dir_dentry(int op, struct path *dir, in common_perm_dir_dentry() 223 static int common_perm_rm(int op, struct path *dir, in common_perm_rm() 248 static int common_perm_create(int op, struct path *dir, struct dentry *dentry, in common_perm_create() 259 static int apparmor_path_unlink(struct path *dir, struct dentry *dentry) in apparmor_path_unlink() 264 static int apparmor_path_mkdir(struct path *dir, struct dentry *dentry, in apparmor_path_mkdir() 271 static int apparmor_path_rmdir(struct path *dir, struct dentry *dentry) in apparmor_path_rmdir() 276 static int apparmor_path_mknod(struct path *dir, struct dentry *dentry, in apparmor_path_mknod() 295 static int apparmor_path_symlink(struct path *dir, struct dentry *dentry, in apparmor_path_symlink()
|
/security/ |
D | security.c | 347 int security_inode_init_security(struct inode *inode, struct inode *dir, in security_inode_init_security() 384 int security_old_inode_init_security(struct inode *inode, struct inode *dir, in security_old_inode_init_security() 396 int security_path_mknod(struct path *dir, struct dentry *dentry, umode_t mode, in security_path_mknod() 405 int security_path_mkdir(struct path *dir, struct dentry *dentry, umode_t mode) in security_path_mkdir() 413 int security_path_rmdir(struct path *dir, struct dentry *dentry) in security_path_rmdir() 420 int security_path_unlink(struct path *dir, struct dentry *dentry) in security_path_unlink() 428 int security_path_symlink(struct path *dir, struct dentry *dentry, in security_path_symlink() 482 int security_inode_create(struct inode *dir, struct dentry *dentry, umode_t mode) in security_inode_create() 490 int security_inode_link(struct dentry *old_dentry, struct inode *dir, in security_inode_link() 498 int security_inode_unlink(struct inode *dir, struct dentry *dentry) in security_inode_unlink() [all …]
|
D | inode.c | 88 struct inode *dir, *inode; in securityfs_create_file() local
|
D | capability.c | 141 static int cap_inode_init_security(struct inode *inode, struct inode *dir, in cap_inode_init_security() 259 static int cap_path_mknod(struct path *dir, struct dentry *dentry, umode_t mode, in cap_path_mknod() 265 static int cap_path_mkdir(struct path *dir, struct dentry *dentry, umode_t mode) in cap_path_mkdir() 270 static int cap_path_rmdir(struct path *dir, struct dentry *dentry) in cap_path_rmdir() 275 static int cap_path_unlink(struct path *dir, struct dentry *dentry) in cap_path_unlink() 280 static int cap_path_symlink(struct path *dir, struct dentry *dentry, in cap_path_symlink() 806 static int cap_xfrm_policy_lookup(struct xfrm_sec_ctx *ctx, u32 sk_sid, u8 dir) in cap_xfrm_policy_lookup()
|
/security/tomoyo/ |
D | mount.c | 76 struct path *dir, const char *type, in tomoyo_mount_acl()
|
D | common.h | 481 const struct tomoyo_path_info *dir; member
|
/security/selinux/ |
D | selinuxfs.c | 1221 struct dentry *dir = bool_dir; in sel_make_bools() local 1452 static int sel_make_avc_files(struct dentry *dir) in sel_make_avc_files() 1506 static int sel_make_initcon_files(struct dentry *dir) in sel_make_initcon_files() 1597 struct dentry *dir) in sel_make_perm_files() 1634 struct dentry *dir) in sel_make_class_dir_entries() 1754 static struct dentry *sel_make_dir(struct dentry *dir, const char *name, in sel_make_dir()
|
D | xfrm.c | 80 int selinux_xfrm_policy_lookup(struct xfrm_sec_ctx *ctx, u32 fl_secid, u8 dir) in selinux_xfrm_policy_lookup()
|
D | hooks.c | 1639 static int may_create(struct inode *dir, in may_create() 1695 static int may_link(struct inode *dir, in may_link() 2626 static int selinux_inode_init_security(struct inode *inode, struct inode *dir, in selinux_inode_init_security() 2691 static int selinux_inode_create(struct inode *dir, struct dentry *dentry, umode_t mode) in selinux_inode_create() 2696 static int selinux_inode_link(struct dentry *old_dentry, struct inode *dir, struct dentry *new_dent… in selinux_inode_link() 2701 static int selinux_inode_unlink(struct inode *dir, struct dentry *dentry) in selinux_inode_unlink() 2706 static int selinux_inode_symlink(struct inode *dir, struct dentry *dentry, const char *name) in selinux_inode_symlink() 2711 static int selinux_inode_mkdir(struct inode *dir, struct dentry *dentry, umode_t mask) in selinux_inode_mkdir() 2716 static int selinux_inode_rmdir(struct inode *dir, struct dentry *dentry) in selinux_inode_rmdir() 2721 static int selinux_inode_mknod(struct inode *dir, struct dentry *dentry, umode_t mode, dev_t dev) in selinux_inode_mknod()
|
/security/smack/ |
D | smack_lsm.c | 556 static int smack_inode_init_security(struct inode *inode, struct inode *dir, in smack_inode_init_security() 610 static int smack_inode_link(struct dentry *old_dentry, struct inode *dir, in smack_inode_link() 640 static int smack_inode_unlink(struct inode *dir, struct dentry *dentry) in smack_inode_unlink() 672 static int smack_inode_rmdir(struct inode *dir, struct dentry *dentry) in smack_inode_rmdir()
|