Home
last modified time | relevance | path

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

12

/security/integrity/
Diint.c33 static struct integrity_iint_cache *__integrity_iint_find(struct inode *inode) in __integrity_iint_find()
55 struct integrity_iint_cache *integrity_iint_find(struct inode *inode) in integrity_iint_find()
78 struct inode *inode) in iint_lockdep_annotate()
93 struct inode *inode) in iint_init_always()
124 struct integrity_iint_cache *integrity_inode_get(struct inode *inode) in integrity_inode_get()
182 void integrity_inode_free(struct inode *inode) in integrity_inode_free()
Dintegrity_audit.c28 void integrity_audit_msg(int audit_msgno, struct inode *inode, in integrity_audit_msg()
36 void integrity_audit_message(int audit_msgno, struct inode *inode, in integrity_audit_message()
Dintegrity.h129 struct inode *inode; /* back pointer to inode in question */ member
256 static inline void integrity_audit_msg(int audit_msgno, struct inode *inode, in integrity_audit_msg()
264 struct inode *inode, in integrity_audit_message()
/security/integrity/ima/
Dima_main.c90 struct inode *inode; in mmap_violation_check() local
123 struct inode *inode = file_inode(file); in ima_rdwr_violation_check() local
157 struct inode *inode, struct file *file) in ima_check_last_writer()
189 struct inode *inode = file_inode(file); in ima_file_free() local
206 struct inode *backing_inode, *inode = file_inode(file); in process_measurement() local
455 struct inode *inode; in ima_file_mprotect() local
539 static int __ima_inode_hash(struct inode *inode, char *buf, size_t buf_size) in __ima_inode_hash()
619 int ima_inode_hash(struct inode *inode, char *buf, size_t buf_size) in ima_inode_hash()
638 struct inode *inode) in ima_post_create_tmpfile()
673 struct inode *inode = dentry->d_inode; in ima_post_path_mknod() local
[all …]
Dima_api.c103 int violation, struct inode *inode, in ima_store_template()
138 struct inode *inode = file_inode(file); in ima_add_violation() local
188 int ima_get_action(struct user_namespace *mnt_userns, struct inode *inode, in ima_get_action()
218 struct inode *inode = file_inode(file); in ima_collect_measurement() local
314 struct inode *inode = file_inode(file); in ima_store_measurement() local
Dima_fs.c196 static int ima_measurements_open(struct inode *inode, struct file *file) in ima_measurements_open()
262 static int ima_ascii_measurements_open(struct inode *inode, struct file *file) in ima_ascii_measurements_open()
385 static int ima_open_policy(struct inode *inode, struct file *filp) in ima_open_policy()
410 static int ima_release_policy(struct inode *inode, struct file *file) in ima_release_policy()
Dima_appraise.c71 int ima_must_appraise(struct user_namespace *mnt_userns, struct inode *inode, in ima_must_appraise()
385 struct inode *inode = d_backing_inode(dentry); in ima_appraise_measurement() local
530 struct inode *inode = d_backing_inode(dentry); in ima_inode_post_setattr() local
563 static void ima_reset_appraise_flags(struct inode *inode, int digsig) in ima_reset_appraise_flags()
Dima_queue.c160 const char *op, struct inode *inode, in ima_add_template_entry()
/security/
Dlsm_audit.c233 struct inode *inode; in dump_common_audit_data() local
246 struct inode *inode; in dump_common_audit_data() local
259 struct inode *inode; in dump_common_audit_data() local
274 struct inode *inode; in dump_common_audit_data() local
291 struct inode *inode; in dump_common_audit_data() local
Dinode.c28 static void securityfs_free_inode(struct inode *inode) in securityfs_free_inode()
113 struct inode *dir, *inode; in securityfs_create_dentry() local
Dcommoncap.c298 struct inode *inode = d_backing_inode(dentry); in cap_inode_need_killpriv() local
379 struct inode *inode, const char *name, void **buffer, in cap_inode_getsecurity()
549 struct inode *inode = d_backing_inode(dentry); in cap_convert_nscap() local
653 struct inode *inode = d_backing_inode(dentry); in get_vfs_caps_from_disk() local
1050 struct inode *inode = d_backing_inode(dentry); in cap_inode_removexattr() local
Dsecurity.c588 int lsm_inode_alloc(struct inode *inode) in lsm_inode_alloc()
1031 int security_inode_alloc(struct inode *inode) in security_inode_alloc()
1051 void security_inode_free(struct inode *inode) in security_inode_free()
1087 int security_inode_init_security(struct inode *inode, struct inode *dir, in security_inode_init_security()
1122 int security_inode_init_security_anon(struct inode *inode, in security_inode_init_security_anon()
1130 int security_old_inode_init_security(struct inode *inode, struct inode *dir, in security_old_inode_init_security()
1316 int security_inode_follow_link(struct dentry *dentry, struct inode *inode, in security_inode_follow_link()
1324 int security_inode_permission(struct inode *inode, int mask) in security_inode_permission()
1433 struct inode *inode, const char *name, in security_inode_getsecurity()
1452 int security_inode_setsecurity(struct inode *inode, const char *name, const void *value, size_t siz… in security_inode_setsecurity()
[all …]
/security/tomoyo/
Drealpath.c103 struct inode *inode = d_backing_inode(path->dentry); in tomoyo_get_absolute_path() local
133 struct inode *inode = d_backing_inode(dentry); in tomoyo_get_dentry_path() local
180 struct inode *inode = d_backing_inode(sb->s_root); in tomoyo_get_local_path() local
250 struct inode *inode; in tomoyo_realpath_from_path() local
Dsecurityfs_if.c132 static int tomoyo_open(struct inode *inode, struct file *file) in tomoyo_open()
146 static int tomoyo_release(struct inode *inode, struct file *file) in tomoyo_release()
/security/integrity/evm/
Devm_main.c139 struct inode *inode = d_backing_inode(dentry); in evm_find_protected_xattrs() local
183 struct inode *inode; in evm_verify_hmac() local
436 struct inode *inode = d_backing_inode(dentry); in evm_verify_current_integrity() local
462 struct inode *inode = d_backing_inode(dentry); in evm_xattr_acl_change() local
668 static void evm_reset_status(struct inode *inode) in evm_reset_status()
760 struct inode *inode = d_backing_inode(dentry); in evm_attr_change() local
843 int evm_inode_init_security(struct inode *inode, in evm_inode_init_security()
Devm_crypto.c142 static void hmac_add_misc(struct shash_desc *desc, struct inode *inode, in hmac_add_misc()
216 struct inode *inode = d_backing_inode(dentry); in evm_calc_hmac_or_hash() local
323 static int evm_is_immutable(struct dentry *dentry, struct inode *inode) in evm_is_immutable()
359 struct inode *inode = d_backing_inode(dentry); in evm_update_evmxattr() local
388 int evm_init_hmac(struct inode *inode, const struct xattr *lsm_xattr, in evm_init_hmac()
Devm_secfs.c187 struct inode *inode; in evm_write_xattrs() local
/security/apparmor/
Dapparmorfs.c153 static void aafs_free_inode(struct inode *inode) in aafs_free_inode()
216 struct inode *inode = new_inode(dir->i_sb); in __aafs_setup_d_inode() local
519 static int ns_revision_release(struct inode *inode, struct file *file) in ns_revision_release()
562 static int ns_revision_open(struct inode *inode, struct file *file) in ns_revision_open()
896 static int multi_transaction_release(struct inode *inode, struct file *file) in multi_transaction_release()
1012 static int aa_sfs_seq_open(struct inode *inode, struct file *file) in aa_sfs_seq_open()
1044 static int seq_profile_open(struct inode *inode, struct file *file, in seq_profile_open()
1058 static int seq_profile_release(struct inode *inode, struct file *file) in seq_profile_release()
1222 static int seq_rawdata_open(struct inode *inode, struct file *file, in seq_rawdata_open()
1242 static int seq_rawdata_release(struct inode *inode, struct file *file) in seq_rawdata_release()
[all …]
/security/landlock/
Dfs.c45 struct inode *const inode = object->underobj; in release_inode() local
87 static struct landlock_object *get_inode_object(struct inode *const inode) in get_inode_object()
196 const struct inode *inode; in find_rule() local
365 static void hook_inode_free_security(struct inode *const inode) in hook_inode_free_security()
383 struct inode *inode, *prev_inode = NULL; in hook_sb_delete() local
Dfs.h54 landlock_inode(const struct inode *const inode) in landlock_inode()
/security/smack/
Dsmack_lsm.c181 static int smk_bu_inode(struct inode *inode, int mode, int rc) in smk_bu_inode()
207 #define smk_bu_inode(inode, mode, RC) (RC) argument
215 struct inode *inode = file_inode(file); in smk_bu_file() local
245 struct inode *inode = file_inode(file); in smk_bu_credfile() local
311 static void init_inode_smack(struct inode *inode, struct smack_known *skp) in init_inode_smack()
757 struct inode *inode = d_backing_inode(root); in smack_set_mnt_opts() local
881 struct inode *inode = file_inode(bprm->file); in smack_bprm_creds_for_exec() local
935 static int smack_inode_alloc_security(struct inode *inode) in smack_inode_alloc_security()
954 static int smack_inode_init_security(struct inode *inode, struct inode *dir, in smack_inode_init_security()
1156 static int smack_inode_permission(struct inode *inode, int mask) in smack_inode_permission()
[all …]
Dsmackfs.c644 static int smk_open_load(struct inode *inode, struct file *file) in smk_open_load()
813 static int smk_open_cipso(struct inode *inode, struct file *file) in smk_open_cipso()
1009 static int smk_open_cipso2(struct inode *inode, struct file *file) in smk_open_cipso2()
1085 static int smk_open_net4addr(struct inode *inode, struct file *file) in smk_open_net4addr()
1349 static int smk_open_net6addr(struct inode *inode, struct file *file) in smk_open_net6addr()
1905 static int smk_open_onlycap(struct inode *inode, struct file *file) in smk_open_onlycap()
2252 static int smk_open_load_self(struct inode *inode, struct file *file) in smk_open_load_self()
2383 static int smk_open_load2(struct inode *inode, struct file *file) in smk_open_load2()
2460 static int smk_open_load_self2(struct inode *inode, struct file *file) in smk_open_load_self2()
2733 static int smk_open_relabel_self(struct inode *inode, struct file *file) in smk_open_relabel_self()
/security/selinux/
Dhooks.c266 static int __inode_security_revalidate(struct inode *inode, in __inode_security_revalidate()
289 static struct inode_security_struct *inode_security_novalidate(struct inode *inode) in inode_security_novalidate()
294 static struct inode_security_struct *inode_security_rcu(struct inode *inode, bool rcu) in inode_security_rcu()
307 static struct inode_security_struct *inode_security(struct inode *inode) in inode_security()
315 struct inode *inode = d_backing_inode(dentry); in backing_inode_security_novalidate() local
325 struct inode *inode = d_backing_inode(dentry); in backing_inode_security() local
331 static void inode_free_security(struct inode *inode) in inode_free_security()
583 struct inode *inode = isec->inode; in sb_finish_set_opts() local
1379 static int inode_doinit_use_xattr(struct inode *inode, struct dentry *dentry, in inode_doinit_use_xattr()
1441 static int inode_doinit_with_dentry(struct inode *inode, struct dentry *opt_dentry) in inode_doinit_with_dentry()
[all …]
Dselinuxfs.c225 static int sel_open_handle_status(struct inode *inode, struct file *filp) in sel_open_handle_status()
395 static int sel_open_policy(struct inode *inode, struct file *filp) in sel_open_policy()
447 static int sel_release_policy(struct inode *inode, struct file *filp) in sel_release_policy()
1427 struct inode *inode = NULL; in sel_make_bools() local
1668 static int sel_open_avc_cache_stats(struct inode *inode, struct file *file) in sel_open_avc_cache_stats()
1696 struct inode *inode; in sel_make_avc_files() local
1727 struct inode *inode; in sel_make_ss_files() local
1776 struct inode *inode; in sel_make_initcon_files() local
1880 struct inode *inode; in sel_make_perm_files() local
1915 struct inode *inode = NULL; in sel_make_class_dir_entries() local
[all …]
/security/selinux/include/
Dobjsec.h47 struct inode *inode; /* back pointer to inode object */ member
162 const struct inode *inode) in selinux_inode()

12