Searched refs:kn_dir (Results 1 – 4 of 4) sorted by relevance
/linux-6.6.21/include/linux/ |
D | security.h | 386 int security_kernfs_init_security(struct kernfs_node *kn_dir, 962 static inline int security_kernfs_init_security(struct kernfs_node *kn_dir, in security_kernfs_init_security() argument
|
D | lsm_hook_defs.h | 167 LSM_HOOK(int, 0, kernfs_init_security, struct kernfs_node *kn_dir,
|
/linux-6.6.21/security/ |
D | security.c | 2556 int security_kernfs_init_security(struct kernfs_node *kn_dir, in security_kernfs_init_security() argument 2559 return call_int_hook(kernfs_init_security, 0, kn_dir, kn); in security_kernfs_init_security()
|
/linux-6.6.21/security/selinux/ |
D | hooks.c | 3535 static int selinux_kernfs_init_security(struct kernfs_node *kn_dir, in selinux_kernfs_init_security() argument 3543 rc = kernfs_xattr_get(kn_dir, XATTR_NAME_SELINUX, NULL, 0); in selinux_kernfs_init_security() 3554 rc = kernfs_xattr_get(kn_dir, XATTR_NAME_SELINUX, context, clen); in selinux_kernfs_init_security() 3573 q.hash_len = hashlen_string(kn_dir, kn->name); in selinux_kernfs_init_security()
|