Home
last modified time | relevance | path

Searched defs:dentry (Results 1 – 25 of 25) sorted by relevance

/security/integrity/evm/
A Devm_main.c131 static int evm_find_protected_xattrs(struct dentry *dentry) in evm_find_protected_xattrs()
154 static int is_unsupported_hmac_fs(struct dentry *dentry) in is_unsupported_hmac_fs()
421 enum integrity_status evm_verifyxattr(struct dentry *dentry, in evm_verifyxattr()
462 struct dentry *dentry, const char *xattr_name, in evm_xattr_change()
498 struct dentry *dentry, const char *xattr_name, in evm_protect_xattr()
633 struct dentry *dentry, const char *name, in evm_inode_set_acl_change()
652 struct dentry *dentry, in evm_inode_set_acl_change()
804 static void evm_inode_post_setxattr(struct dentry *dentry, in evm_inode_post_setxattr()
879 struct dentry *dentry, in evm_inode_post_remove_acl()
886 struct dentry *dentry, struct iattr *attr) in evm_attr_change()
[all …]
A Devm_crypto.c220 static int evm_calc_hmac_or_hash(struct dentry *dentry, in evm_calc_hmac_or_hash()
315 int evm_calc_hmac(struct dentry *dentry, const char *req_xattr_name, in evm_calc_hmac()
324 int evm_calc_hash(struct dentry *dentry, const char *req_xattr_name, in evm_calc_hash()
332 static int evm_is_immutable(struct dentry *dentry, struct inode *inode) in evm_is_immutable()
366 int evm_update_evmxattr(struct dentry *dentry, const char *xattr_name, in evm_update_evmxattr()
A Devm_secfs.c303 struct dentry *dentry; in evm_init_secfs() local
/security/integrity/ima/
A Dima_appraise.c88 static int ima_fix_xattr(struct dentry *dentry, struct ima_iint_cache *iint) in ima_fix_xattr()
225 int ima_read_xattr(struct dentry *dentry, in ima_read_xattr()
500 struct dentry *dentry = file_dentry(file); in ima_appraise_measurement() local
630 struct dentry *dentry = file_dentry(file); in ima_update_xattr() local
662 struct dentry *dentry, int ia_valid) in ima_inode_post_setattr()
686 static int ima_protect_xattr(struct dentry *dentry, const char *xattr_name, in ima_protect_xattr()
728 static int validate_hash_algo(struct dentry *dentry, in validate_hash_algo()
775 static int ima_inode_setxattr(struct mnt_idmap *idmap, struct dentry *dentry, in ima_inode_setxattr()
806 static int ima_inode_set_acl(struct mnt_idmap *idmap, struct dentry *dentry, in ima_inode_set_acl()
815 static int ima_inode_removexattr(struct mnt_idmap *idmap, struct dentry *dentry, in ima_inode_removexattr()
[all …]
A Dima_fs.c405 struct dentry *dentry; in create_securityfs_measurement_lists() local
499 struct dentry *dentry; in ima_fs_init() local
A Dima_main.c793 static void ima_post_path_mknod(struct mnt_idmap *idmap, struct dentry *dentry) in ima_post_path_mknod()
A Dima.h498 static inline int ima_read_xattr(struct dentry *dentry, in ima_read_xattr()
/security/tomoyo/
A Drealpath.c125 static char *tomoyo_get_dentry_path(struct dentry *dentry, char * const buffer, in tomoyo_get_dentry_path()
153 static char *tomoyo_get_local_path(struct dentry *dentry, char * const buffer, in tomoyo_get_local_path()
242 struct dentry *dentry = path->dentry; in tomoyo_realpath_from_path() local
A Dtomoyo.c158 static int tomoyo_path_unlink(const struct path *parent, struct dentry *dentry) in tomoyo_path_unlink()
174 static int tomoyo_path_mkdir(const struct path *parent, struct dentry *dentry, in tomoyo_path_mkdir()
191 static int tomoyo_path_rmdir(const struct path *parent, struct dentry *dentry) in tomoyo_path_rmdir()
207 static int tomoyo_path_symlink(const struct path *parent, struct dentry *dentry, in tomoyo_path_symlink()
225 static int tomoyo_path_mknod(const struct path *parent, struct dentry *dentry, in tomoyo_path_mknod()
A Dcondition.c716 struct dentry *dentry = NULL; in tomoyo_get_attributes() local
/security/
A Dsecurity.c1169 int security_quota_on(struct dentry *dentry) in security_quota_on()
1545 int security_sb_statfs(struct dentry *dentry) in security_sb_statfs()
2280 int security_inode_readlink(struct dentry *dentry) in security_inode_readlink()
2341 struct dentry *dentry, struct iattr *attr) in security_inode_setattr()
2407 struct dentry *dentry, const char *name, in security_inode_setxattr()
2439 struct dentry *dentry, const char *acl_name, in security_inode_set_acl()
2476 struct dentry *dentry, const char *acl_name) in security_inode_get_acl()
2512 struct dentry *dentry, const char *acl_name) in security_inode_post_remove_acl()
2563 int security_inode_listxattr(struct dentry *dentry) in security_inode_listxattr()
2594 struct dentry *dentry, const char *name) in security_inode_removexattr()
[all …]
A Dcommoncap.c326 int cap_inode_need_killpriv(struct dentry *dentry) in cap_inode_need_killpriv()
351 int cap_inode_killpriv(struct mnt_idmap *idmap, struct dentry *dentry) in cap_inode_killpriv()
422 struct dentry *dentry; in cap_inode_getsecurity() local
559 int cap_convert_nscap(struct mnt_idmap *idmap, struct dentry *dentry, in cap_convert_nscap()
666 const struct dentry *dentry, in get_vfs_caps_from_disk()
1015 int cap_inode_setxattr(struct dentry *dentry, const char *name, in cap_inode_setxattr()
1057 struct dentry *dentry, const char *name) in cap_inode_removexattr()
A Dinode.c112 struct dentry *dentry; in securityfs_create_dentry() local
306 void securityfs_remove(struct dentry *dentry) in securityfs_remove()
A Dlsm_audit.c254 struct dentry *dentry; in audit_log_lsm_data() local
/security/landlock/
A Dfs.c365 const struct dentry *const dentry) in find_rule()
390 static bool is_nouser_or_private(const struct dentry *dentry) in is_nouser_or_private()
1002 static access_mask_t maybe_remove(const struct dentry *const dentry) in maybe_remove()
1392 struct dentry *const dentry) in log_fs_change_topology_dentry()
1530 struct dentry *const dentry, const umode_t mode) in hook_path_mkdir()
1536 struct dentry *const dentry, const umode_t mode, in hook_path_mknod()
1543 struct dentry *const dentry, in hook_path_symlink()
1550 struct dentry *const dentry) in hook_path_unlink()
1556 struct dentry *const dentry) in hook_path_rmdir()
/security/apparmor/
A Dapparmorfs.c150 static int aafs_show_path(struct seq_file *seq, struct dentry *dentry) in aafs_show_path()
269 struct dentry *dentry; in aafs_create() local
351 static void aafs_remove(struct dentry *dentry) in aafs_remove()
1626 static const char *rawdata_get_link_base(struct dentry *dentry, in rawdata_get_link_base()
1654 static const char *rawdata_get_link_sha256(struct dentry *dentry, in rawdata_get_link_sha256()
1661 static const char *rawdata_get_link_abi(struct dentry *dentry, in rawdata_get_link_abi()
1668 static const char *rawdata_get_link_data(struct dentry *dentry, in rawdata_get_link_data()
1807 struct dentry *dentry, umode_t mode) in ns_mkdir_op()
1857 static int ns_rmdir_op(struct inode *dir, struct dentry *dentry) in ns_rmdir_op()
2562 struct dentry *dentry; in aa_mk_null_file() local
[all …]
A Dlsm.c268 struct dentry *dentry, u32 mask, in common_perm_dir_dentry()
286 struct dentry *dentry, u32 mask) in common_perm_rm()
313 struct dentry *dentry, u32 mask, umode_t mode) in common_perm_create()
323 static int apparmor_path_unlink(const struct path *dir, struct dentry *dentry) in apparmor_path_unlink()
328 static int apparmor_path_mkdir(const struct path *dir, struct dentry *dentry, in apparmor_path_mkdir()
335 static int apparmor_path_rmdir(const struct path *dir, struct dentry *dentry) in apparmor_path_rmdir()
340 static int apparmor_path_mknod(const struct path *dir, struct dentry *dentry, in apparmor_path_mknod()
356 static int apparmor_path_symlink(const struct path *dir, struct dentry *dentry, in apparmor_path_symlink()
/security/selinux/
A Dhooks.c279 struct dentry *dentry, in __inode_security_revalidate()
1425 struct dentry *dentry; in inode_doinit_with_dentry() local
1688 struct dentry *dentry, in dentry_has_perm()
1813 struct dentry *dentry, in may_create()
1857 struct dentry *dentry, in may_link()
2075 struct dentry *dentry = file->f_path.dentry; in selinux_binder_transfer_file() local
2193 static int selinux_quota_on(struct dentry *dentry) in selinux_quota_on()
3322 struct dentry *dentry, const char *name, in selinux_inode_setxattr()
3408 struct dentry *dentry, const char *acl_name, in selinux_inode_set_acl()
3415 struct dentry *dentry, const char *acl_name) in selinux_inode_get_acl()
[all …]
A Dselinuxfs.c1370 struct dentry *dentry; in sel_make_bools() local
1603 struct dentry *dentry; in sel_make_avc_files() local
1634 struct dentry *dentry; in sel_make_ss_files() local
1682 struct dentry *dentry; in sel_make_initcon_files() local
1786 struct dentry *dentry; in sel_make_perm_files() local
1819 struct dentry *dentry = NULL; in sel_make_class_dir_entries() local
1885 struct dentry *dentry = NULL; in sel_make_policycap() local
1915 struct dentry *dentry = d_alloc_name(dir, name); in sel_make_dir() local
1952 struct dentry *dentry = d_alloc_name(sb->s_root, ".swapover"); in sel_make_swapover_dir() local
1981 struct dentry *dentry; in sel_fill_super() local
/security/lockdown/
A Dlockdown.c157 struct dentry *dentry; in lockdown_secfs_init() local
/security/smack/
A Dsmack_lsm.c877 static int smack_sb_statfs(struct dentry *dentry) in smack_sb_statfs()
1087 static int smack_inode_unlink(struct inode *dir, struct dentry *dentry) in smack_inode_unlink()
1121 static int smack_inode_rmdir(struct inode *dir, struct dentry *dentry) in smack_inode_rmdir()
1309 struct dentry *dentry, const char *name, in smack_inode_setxattr()
1409 static int smack_inode_getxattr(struct dentry *dentry, const char *name) in smack_inode_getxattr()
1433 struct dentry *dentry, const char *name) in smack_inode_removexattr()
1491 struct dentry *dentry, const char *acl_name, in smack_inode_set_acl()
1514 struct dentry *dentry, const char *acl_name) in smack_inode_get_acl()
1536 struct dentry *dentry, const char *acl_name) in smack_inode_remove_acl()
4873 static int smack_inode_copy_up(struct dentry *dentry, struct cred **new) in smack_inode_copy_up()
[all …]
/security/ipe/
A Dfs.c200 struct dentry *dentry; in ipe_init_securityfs() local
/security/loadpin/
A Dloadpin.c417 struct dentry *loadpin_dir, *dentry; in init_loadpin_securityfs() local
/security/apparmor/include/
A Dapparmorfs.h28 struct dentry *dentry; member
A Dlib.h117 static inline bool path_mediated_fs(struct dentry *dentry) in path_mediated_fs()

Completed in 81 milliseconds