Home
last modified time | relevance | path

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

/security/integrity/evm/
Devm_main.c92 static int evm_find_protected_xattrs(struct dentry *dentry) in evm_find_protected_xattrs()
129 static enum integrity_status evm_verify_hmac(struct dentry *dentry, in evm_verify_hmac()
267 enum integrity_status evm_verifyxattr(struct dentry *dentry, in evm_verifyxattr()
292 static enum integrity_status evm_verify_current_integrity(struct dentry *dentry) in evm_verify_current_integrity()
313 static int evm_protect_xattr(struct dentry *dentry, const char *xattr_name, in evm_protect_xattr()
372 int evm_inode_setxattr(struct dentry *dentry, const char *xattr_name, in evm_inode_setxattr()
402 int evm_inode_removexattr(struct dentry *dentry, const char *xattr_name) in evm_inode_removexattr()
435 void evm_inode_post_setxattr(struct dentry *dentry, const char *xattr_name, in evm_inode_post_setxattr()
457 void evm_inode_post_removexattr(struct dentry *dentry, const char *xattr_name) in evm_inode_post_removexattr()
474 int evm_inode_setattr(struct dentry *dentry, struct iattr *attr) in evm_inode_setattr()
[all …]
Devm_crypto.c186 static int evm_calc_hmac_or_hash(struct dentry *dentry, in evm_calc_hmac_or_hash()
253 int evm_calc_hmac(struct dentry *dentry, const char *req_xattr_name, in evm_calc_hmac()
261 int evm_calc_hash(struct dentry *dentry, const char *req_xattr_name, in evm_calc_hash()
269 static int evm_is_immutable(struct dentry *dentry, struct inode *inode) in evm_is_immutable()
302 int evm_update_evmxattr(struct dentry *dentry, const char *xattr_name, in evm_update_evmxattr()
/security/integrity/ima/
Dima_appraise.c60 static int ima_fix_xattr(struct dentry *dentry, in ima_fix_xattr()
190 int ima_read_xattr(struct dentry *dentry, in ima_read_xattr()
322 struct dentry *dentry = file_dentry(file); in ima_appraise_measurement() local
427 struct dentry *dentry = file_dentry(file); in ima_update_xattr() local
456 void ima_inode_post_setattr(struct dentry *dentry) in ima_inode_post_setattr()
482 static int ima_protect_xattr(struct dentry *dentry, const char *xattr_name, in ima_protect_xattr()
511 int ima_inode_setxattr(struct dentry *dentry, const char *xattr_name, in ima_inode_setxattr()
529 int ima_inode_removexattr(struct dentry *dentry, const char *xattr_name) in ima_inode_removexattr()
Dima_main.c478 void ima_post_path_mknod(struct dentry *dentry) in ima_post_path_mknod()
Dima.h306 static inline int ima_read_xattr(struct dentry *dentry, in ima_read_xattr()
/security/tomoyo/
Drealpath.c124 static char *tomoyo_get_dentry_path(struct dentry *dentry, char * const buffer, in tomoyo_get_dentry_path()
152 static char *tomoyo_get_local_path(struct dentry *dentry, char * const buffer, in tomoyo_get_local_path()
240 struct dentry *dentry = path->dentry; in tomoyo_realpath_from_path() local
Dtomoyo.c152 static int tomoyo_path_unlink(const struct path *parent, struct dentry *dentry) in tomoyo_path_unlink()
168 static int tomoyo_path_mkdir(const struct path *parent, struct dentry *dentry, in tomoyo_path_mkdir()
185 static int tomoyo_path_rmdir(const struct path *parent, struct dentry *dentry) in tomoyo_path_rmdir()
201 static int tomoyo_path_symlink(const struct path *parent, struct dentry *dentry, in tomoyo_path_symlink()
219 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.c737 int security_quota_on(struct dentry *dentry) in security_quota_on()
852 int security_sb_statfs(struct dentry *dentry) in security_sb_statfs()
951 int security_dentry_init_security(struct dentry *dentry, int mode, in security_dentry_init_security()
960 int security_dentry_create_files_as(struct dentry *dentry, int mode, in security_dentry_create_files_as()
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()
[all …]
Dcommoncap.c295 int cap_inode_need_killpriv(struct dentry *dentry) in cap_inode_need_killpriv()
313 int cap_inode_killpriv(struct dentry *dentry) in cap_inode_killpriv()
379 struct dentry *dentry; in cap_inode_getsecurity() local
477 int cap_convert_nscap(struct dentry *dentry, void **ivalue, size_t size) in cap_convert_nscap()
572 int get_vfs_caps_from_disk(const struct dentry *dentry, struct cpu_vfs_cap_data *cpu_caps) in get_vfs_caps_from_disk()
913 int cap_inode_setxattr(struct dentry *dentry, const char *name, in cap_inode_setxattr()
946 int cap_inode_removexattr(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.c288 struct dentry *dentry; in dump_common_audit_data() local
/security/apparmor/
Dapparmorfs.c117 static int aafs_show_path(struct seq_file *seq, struct dentry *dentry) in aafs_show_path()
181 static int __aafs_setup_d_inode(struct inode *dir, struct dentry *dentry, in __aafs_setup_d_inode()
236 struct dentry *dentry; in aafs_create() local
350 static void aafs_remove(struct dentry *dentry) in aafs_remove()
1516 static const char *rawdata_get_link_base(struct dentry *dentry, in rawdata_get_link_base()
1544 static const char *rawdata_get_link_sha1(struct dentry *dentry, in rawdata_get_link_sha1()
1551 static const char *rawdata_get_link_abi(struct dentry *dentry, in rawdata_get_link_abi()
1558 static const char *rawdata_get_link_data(struct dentry *dentry, in rawdata_get_link_data()
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()
[all …]
Dlsm.c238 struct dentry *dentry, u32 mask, in common_perm_dir_dentry()
256 struct dentry *dentry, u32 mask) in common_perm_rm()
281 struct dentry *dentry, u32 mask, umode_t mode) 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()
Dfile.c159 static inline bool is_deleted(struct dentry *dentry) in is_deleted()
/security/selinux/
Dhooks.c268 struct dentry *dentry, in __inode_security_revalidate()
314 static struct inode_security_struct *backing_inode_security_novalidate(struct dentry *dentry) in backing_inode_security_novalidate()
324 static struct inode_security_struct *backing_inode_security(struct dentry *dentry) in backing_inode_security()
1333 static int selinux_genfs_get_sid(struct dentry *dentry, in selinux_genfs_get_sid()
1371 static int inode_doinit_use_xattr(struct inode *inode, struct dentry *dentry, in inode_doinit_use_xattr()
1441 struct dentry *dentry; in inode_doinit_with_dentry() local
1696 struct dentry *dentry, in dentry_has_perm()
1815 struct dentry *dentry, in may_create()
1862 struct dentry *dentry, in may_link()
2097 struct dentry *dentry = file->f_path.dentry; in selinux_binder_transfer_file() local
[all …]
Dselinuxfs.c1330 struct dentry *dentry = NULL; in sel_make_bools() local
1612 struct dentry *dentry; in sel_make_avc_files() local
1643 struct dentry *dentry; in sel_make_ss_files() local
1692 struct dentry *dentry; in sel_make_initcon_files() local
1792 struct dentry *dentry; in sel_make_perm_files() local
1824 struct dentry *dentry = NULL; in sel_make_class_dir_entries() local
1894 struct dentry *dentry = NULL; in sel_make_policycap() local
1926 struct dentry *dentry = d_alloc_name(dir, name); in sel_make_dir() local
1956 struct dentry *dentry; in sel_fill_super() local
/security/lockdown/
Dlockdown.c176 struct dentry *dentry; in lockdown_secfs_init() local
/security/smack/
Dsmack_lsm.c882 static int smack_sb_statfs(struct dentry *dentry) in smack_sb_statfs()
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()
1207 static int smack_inode_setattr(struct dentry *dentry, struct iattr *iattr) in smack_inode_setattr()
1256 static int smack_inode_setxattr(struct dentry *dentry, const char *name, in smack_inode_setxattr()
1321 static void smack_inode_post_setxattr(struct dentry *dentry, const char *name, in smack_inode_post_setxattr()
1356 static int smack_inode_getxattr(struct dentry *dentry, const char *name) in smack_inode_getxattr()
1378 static int smack_inode_removexattr(struct dentry *dentry, const char *name) in smack_inode_removexattr()
4498 static int smack_inode_setsecctx(struct dentry *dentry, void *ctx, u32 ctxlen) in smack_inode_setsecctx()
4512 static int smack_inode_copy_up(struct dentry *dentry, struct cred **new) in smack_inode_copy_up()
[all …]
/security/apparmor/include/
Dlib.h87 static inline bool path_mediated_fs(struct dentry *dentry) in path_mediated_fs()
Dapparmorfs.h28 struct dentry *dentry; member