Home
last modified time | relevance | path

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

/security/integrity/evm/
Devm_main.c137 static int evm_find_protected_xattrs(struct dentry *dentry) in evm_find_protected_xattrs()
173 static enum integrity_status evm_verify_hmac(struct dentry *dentry, in evm_verify_hmac()
338 int evm_read_protected_xattrs(struct dentry *dentry, u8 *buffer, in evm_read_protected_xattrs()
409 enum integrity_status evm_verifyxattr(struct dentry *dentry, in evm_verifyxattr()
434 static enum integrity_status evm_verify_current_integrity(struct dentry *dentry) in evm_verify_current_integrity()
456 struct dentry *dentry, const char *xattr_name, in evm_xattr_acl_change()
505 struct dentry *dentry, const char *xattr_name, in evm_xattr_change()
542 struct dentry *dentry, const char *xattr_name, in evm_protect_xattr()
624 int evm_inode_setxattr(struct user_namespace *mnt_userns, struct dentry *dentry, in evm_inode_setxattr()
657 struct dentry *dentry, const char *xattr_name) in evm_inode_removexattr()
[all …]
Devm_crypto.c210 static int evm_calc_hmac_or_hash(struct dentry *dentry, in evm_calc_hmac_or_hash()
307 int evm_calc_hmac(struct dentry *dentry, const char *req_xattr_name, in evm_calc_hmac()
315 int evm_calc_hash(struct dentry *dentry, const char *req_xattr_name, in evm_calc_hash()
323 static int evm_is_immutable(struct dentry *dentry, struct inode *inode) in evm_is_immutable()
356 int evm_update_evmxattr(struct dentry *dentry, const char *xattr_name, in evm_update_evmxattr()
/security/integrity/ima/
Dima_appraise.c85 static int ima_fix_xattr(struct dentry *dentry, in ima_fix_xattr()
216 int ima_read_xattr(struct dentry *dentry, in ima_read_xattr()
384 struct dentry *dentry = file_dentry(file); in ima_appraise_measurement() local
497 struct dentry *dentry = file_dentry(file); in ima_update_xattr() local
528 struct dentry *dentry) in ima_inode_post_setattr()
552 static int ima_protect_xattr(struct dentry *dentry, const char *xattr_name, in ima_protect_xattr()
594 static int validate_hash_algo(struct dentry *dentry, in validate_hash_algo()
641 int ima_inode_setxattr(struct dentry *dentry, const char *xattr_name, in ima_inode_setxattr()
671 int ima_inode_removexattr(struct dentry *dentry, const char *xattr_name) in ima_inode_removexattr()
Dima_main.c670 struct dentry *dentry) in ima_post_path_mknod()
Dima.h374 static inline int ima_read_xattr(struct dentry *dentry, in ima_read_xattr()
/security/landlock/
Dfs.c193 const struct dentry *const dentry) in find_rule()
609 static inline access_mask_t maybe_remove(const struct dentry *const dentry) in maybe_remove()
641 struct dentry *const dentry, const umode_t mode) in hook_path_mkdir()
647 struct dentry *const dentry, const umode_t mode, in hook_path_mknod()
659 struct dentry *const dentry, in hook_path_symlink()
666 struct dentry *const dentry) in hook_path_unlink()
672 struct dentry *const dentry) in hook_path_rmdir()
/security/tomoyo/
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
Dtomoyo.c145 static int tomoyo_path_unlink(const struct path *parent, struct dentry *dentry) in tomoyo_path_unlink()
161 static int tomoyo_path_mkdir(const struct path *parent, struct dentry *dentry, in tomoyo_path_mkdir()
178 static int tomoyo_path_rmdir(const struct path *parent, struct dentry *dentry) in tomoyo_path_rmdir()
194 static int tomoyo_path_symlink(const struct path *parent, struct dentry *dentry, in tomoyo_path_symlink()
212 static int tomoyo_path_mknod(const struct path *parent, struct dentry *dentry, in tomoyo_path_mknod()
Dcondition.c716 struct dentry *dentry = NULL; in tomoyo_get_attributes() local
/security/
Dsecurity.c816 int security_quota_on(struct dentry *dentry) in security_quota_on()
970 int security_sb_statfs(struct dentry *dentry) in security_sb_statfs()
1069 int security_dentry_init_security(struct dentry *dentry, int mode, in security_dentry_init_security()
1079 int security_dentry_create_files_as(struct dentry *dentry, int mode, in security_dentry_create_files_as()
1143 int security_path_mknod(const struct path *dir, struct dentry *dentry, umode_t mode, in security_path_mknod()
1152 int security_path_mkdir(const struct path *dir, struct dentry *dentry, umode_t mode) in security_path_mkdir()
1160 int security_path_rmdir(const struct path *dir, struct dentry *dentry) in security_path_rmdir()
1167 int security_path_unlink(const struct path *dir, struct dentry *dentry) in security_path_unlink()
1175 int security_path_symlink(const struct path *dir, struct dentry *dentry, in security_path_symlink()
1238 int security_inode_create(struct inode *dir, struct dentry *dentry, umode_t mode) in security_inode_create()
[all …]
Dcommoncap.c296 int cap_inode_need_killpriv(struct dentry *dentry) in cap_inode_need_killpriv()
321 int cap_inode_killpriv(struct user_namespace *mnt_userns, struct dentry *dentry) in cap_inode_killpriv()
389 struct dentry *dentry; in cap_inode_getsecurity() local
542 int cap_convert_nscap(struct user_namespace *mnt_userns, struct dentry *dentry, in cap_convert_nscap()
650 const struct dentry *dentry, in get_vfs_caps_from_disk()
997 int cap_inode_setxattr(struct dentry *dentry, const char *name, in cap_inode_setxattr()
1039 struct dentry *dentry, const char *name) in cap_inode_removexattr()
Dinode.c112 struct dentry *dentry; in securityfs_create_dentry() local
295 void securityfs_remove(struct dentry *dentry) in securityfs_remove()
Dlsm_audit.c290 struct dentry *dentry; in dump_common_audit_data() local
/security/apparmor/
Dapparmorfs.c147 static int aafs_show_path(struct seq_file *seq, struct dentry *dentry) in aafs_show_path()
211 static int __aafs_setup_d_inode(struct inode *dir, struct dentry *dentry, in __aafs_setup_d_inode()
266 struct dentry *dentry; in aafs_create() local
348 static void aafs_remove(struct dentry *dentry) in aafs_remove()
1605 static const char *rawdata_get_link_base(struct dentry *dentry, in rawdata_get_link_base()
1633 static const char *rawdata_get_link_sha1(struct dentry *dentry, in rawdata_get_link_sha1()
1640 static const char *rawdata_get_link_abi(struct dentry *dentry, in rawdata_get_link_abi()
1647 static const char *rawdata_get_link_data(struct dentry *dentry, in rawdata_get_link_data()
1779 struct dentry *dentry, umode_t mode) in ns_mkdir_op()
1828 static int ns_rmdir_op(struct inode *dir, struct dentry *dentry) in ns_rmdir_op()
[all …]
Dlsm.c250 struct dentry *dentry, u32 mask, in common_perm_dir_dentry()
268 struct dentry *dentry, u32 mask) in common_perm_rm()
294 struct dentry *dentry, u32 mask, umode_t mode) in common_perm_create()
304 static int apparmor_path_unlink(const struct path *dir, struct dentry *dentry) in apparmor_path_unlink()
309 static int apparmor_path_mkdir(const struct path *dir, struct dentry *dentry, in apparmor_path_mkdir()
316 static int apparmor_path_rmdir(const struct path *dir, struct dentry *dentry) in apparmor_path_rmdir()
321 static int apparmor_path_mknod(const struct path *dir, struct dentry *dentry, in apparmor_path_mknod()
332 static int apparmor_path_symlink(const struct path *dir, struct dentry *dentry, in apparmor_path_symlink()
Dfile.c150 static inline bool is_deleted(struct dentry *dentry) in is_deleted()
/security/selinux/
Dhooks.c267 struct dentry *dentry, in __inode_security_revalidate()
313 static struct inode_security_struct *backing_inode_security_novalidate(struct dentry *dentry) in backing_inode_security_novalidate()
323 static struct inode_security_struct *backing_inode_security(struct dentry *dentry) in backing_inode_security()
1341 static int selinux_genfs_get_sid(struct dentry *dentry, in selinux_genfs_get_sid()
1379 static int inode_doinit_use_xattr(struct inode *inode, struct dentry *dentry, in inode_doinit_use_xattr()
1447 struct dentry *dentry; in inode_doinit_with_dentry() local
1712 struct dentry *dentry, in dentry_has_perm()
1832 struct dentry *dentry, in may_create()
1879 struct dentry *dentry, in may_link()
2108 struct dentry *dentry = file->f_path.dentry; in selinux_binder_transfer_file() local
[all …]
Dselinuxfs.c1426 struct dentry *dentry = NULL; in sel_make_bools() local
1697 struct dentry *dentry; in sel_make_avc_files() local
1728 struct dentry *dentry; in sel_make_ss_files() local
1777 struct dentry *dentry; in sel_make_initcon_files() local
1881 struct dentry *dentry; in sel_make_perm_files() local
1914 struct dentry *dentry = NULL; in sel_make_class_dir_entries() local
1983 struct dentry *dentry = NULL; in sel_make_policycap() local
2013 struct dentry *dentry = d_alloc_name(dir, name); in sel_make_dir() local
2059 struct dentry *dentry; in sel_fill_super() local
/security/lockdown/
Dlockdown.c151 struct dentry *dentry; in lockdown_secfs_init() local
/security/smack/
Dsmack_lsm.c855 static int smack_sb_statfs(struct dentry *dentry) in smack_sb_statfs()
1050 static int smack_inode_unlink(struct inode *dir, struct dentry *dentry) in smack_inode_unlink()
1084 static int smack_inode_rmdir(struct inode *dir, struct dentry *dentry) in smack_inode_rmdir()
1192 static int smack_inode_setattr(struct dentry *dentry, struct iattr *iattr) in smack_inode_setattr()
1242 struct dentry *dentry, const char *name, in smack_inode_setxattr()
1307 static void smack_inode_post_setxattr(struct dentry *dentry, const char *name, in smack_inode_post_setxattr()
1342 static int smack_inode_getxattr(struct dentry *dentry, const char *name) in smack_inode_getxattr()
1365 struct dentry *dentry, const char *name) in smack_inode_removexattr()
4632 static int smack_inode_setsecctx(struct dentry *dentry, void *ctx, u32 ctxlen) in smack_inode_setsecctx()
4647 static int smack_inode_copy_up(struct dentry *dentry, struct cred **new) in smack_inode_copy_up()
[all …]
/security/apparmor/include/
Dlib.h92 static inline bool path_mediated_fs(struct dentry *dentry) in path_mediated_fs()
Dapparmorfs.h28 struct dentry *dentry; member