Home
last modified time | relevance | path

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

12

/security/integrity/
Diint.c33 static struct integrity_iint_cache *__integrity_iint_find(struct inode *inode) in __integrity_iint_find()
57 struct integrity_iint_cache *integrity_iint_find(struct inode *inode) in integrity_iint_find()
95 struct integrity_iint_cache *integrity_inode_get(struct inode *inode) in integrity_inode_get()
138 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()
Dintegrity.h122 struct inode *inode; /* back pointer to inode in question */ member
242 static inline void integrity_audit_msg(int audit_msgno, struct inode *inode, in integrity_audit_msg()
/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
289 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
Dsecurity.c549 int lsm_inode_alloc(struct inode *inode) in lsm_inode_alloc()
913 int security_inode_alloc(struct inode *inode) in security_inode_alloc()
933 void security_inode_free(struct inode *inode) in security_inode_free()
969 int security_inode_init_security(struct inode *inode, struct inode *dir, in security_inode_init_security()
1004 int security_old_inode_init_security(struct inode *inode, struct inode *dir, in security_old_inode_init_security()
1191 int security_inode_follow_link(struct dentry *dentry, struct inode *inode, in security_inode_follow_link()
1199 int security_inode_permission(struct inode *inode, int mask) in security_inode_permission()
1304 int security_inode_getsecurity(struct inode *inode, const char *name, void **buffer, bool alloc) in security_inode_getsecurity()
1322 int security_inode_setsecurity(struct inode *inode, const char *name, const void *value, size_t siz… in security_inode_setsecurity()
1341 int security_inode_listsecurity(struct inode *inode, char *buffer, size_t buffer_size) in security_inode_listsecurity()
[all …]
Dcommoncap.c297 struct inode *inode = d_backing_inode(dentry); in cap_inode_need_killpriv() local
370 int cap_inode_getsecurity(struct inode *inode, const char *name, void **buffer, in cap_inode_getsecurity()
483 struct inode *inode = d_backing_inode(dentry); in cap_convert_nscap() local
574 struct inode *inode = d_backing_inode(dentry); in get_vfs_caps_from_disk() local
957 struct inode *inode = d_backing_inode(dentry); in cap_inode_removexattr() local
/security/tomoyo/
Drealpath.c102 struct inode *inode = d_backing_inode(path->dentry); in tomoyo_get_absolute_path() local
132 struct inode *inode = d_backing_inode(dentry); in tomoyo_get_dentry_path() local
178 struct inode *inode = d_backing_inode(sb->s_root); in tomoyo_get_local_path() local
248 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()
145 static int tomoyo_release(struct inode *inode, struct file *file) in tomoyo_release()
/security/integrity/ima/
Dima_main.c80 struct inode *inode; in mmap_violation_check() local
113 struct inode *inode = file_inode(file); in ima_rdwr_violation_check() local
147 struct inode *inode, struct file *file) in ima_check_last_writer()
179 struct inode *inode = file_inode(file); in ima_file_free() local
196 struct inode *inode = file_inode(file); in process_measurement() local
452 void ima_post_create_tmpfile(struct inode *inode) in ima_post_create_tmpfile()
481 struct inode *inode = dentry->d_inode; in ima_post_path_mknod() local
Dima_api.c92 int violation, struct inode *inode, in ima_store_template()
137 struct inode *inode = file_inode(file); in ima_add_violation() local
184 int ima_get_action(struct inode *inode, const struct cred *cred, u32 secid, in ima_get_action()
211 struct inode *inode = file_inode(file); in ima_collect_measurement() local
302 struct inode *inode = file_inode(file); in ima_store_measurement() local
Dima_appraise.c48 int ima_must_appraise(struct inode *inode, int mask, enum ima_hooks func) in ima_must_appraise()
323 struct inode *inode = d_backing_inode(dentry); in ima_appraise_measurement() local
458 struct inode *inode = d_backing_inode(dentry); in ima_inode_post_setattr() local
493 static void ima_reset_appraise_flags(struct inode *inode, int digsig) in ima_reset_appraise_flags()
Dima_fs.c197 static int ima_measurements_open(struct inode *inode, struct file *file) in ima_measurements_open()
263 static int ima_ascii_measurements_open(struct inode *inode, struct file *file) in ima_ascii_measurements_open()
384 static int ima_open_policy(struct inode *inode, struct file *filp) in ima_open_policy()
409 static int ima_release_policy(struct inode *inode, struct file *file) in ima_release_policy()
Dima_queue.c165 const char *op, struct inode *inode, in ima_add_template_entry()
Dima_template_lib.c277 struct inode *inode; in ima_eventdigest_init() local
Dima_policy.c370 static bool ima_match_rules(struct ima_rule_entry *rule, struct inode *inode, in ima_match_rules()
490 int ima_match_policy(struct inode *inode, const struct cred *cred, u32 secid, in ima_match_policy()
/security/integrity/evm/
Devm_crypto.c142 static void hmac_add_misc(struct shash_desc *desc, struct inode *inode, in hmac_add_misc()
192 struct inode *inode = d_backing_inode(dentry); in evm_calc_hmac_or_hash() local
269 static int evm_is_immutable(struct dentry *dentry, struct inode *inode) in evm_is_immutable()
305 struct inode *inode = d_backing_inode(dentry); in evm_update_evmxattr() local
333 int evm_init_hmac(struct inode *inode, const struct xattr *lsm_xattr, in evm_init_hmac()
Devm_main.c94 struct inode *inode = d_backing_inode(dentry); in evm_find_protected_xattrs() local
139 struct inode *inode; in evm_verify_hmac() local
294 struct inode *inode = d_backing_inode(dentry); in evm_verify_current_integrity() local
413 static void evm_reset_status(struct inode *inode) in evm_reset_status()
520 int evm_inode_init_security(struct inode *inode, in evm_inode_init_security()
Devm_secfs.c181 struct inode *inode; in evm_write_xattrs() local
/security/apparmor/
Dapparmorfs.c123 static void aafs_free_inode(struct inode *inode) in aafs_free_inode()
186 struct inode *inode = new_inode(dir->i_sb); in __aafs_setup_d_inode() local
520 static int ns_revision_release(struct inode *inode, struct file *file) in ns_revision_release()
563 static int ns_revision_open(struct inode *inode, struct file *file) in ns_revision_open()
895 static int multi_transaction_release(struct inode *inode, struct file *file) in multi_transaction_release()
1011 static int aa_sfs_seq_open(struct inode *inode, struct file *file) in aa_sfs_seq_open()
1043 static int seq_profile_open(struct inode *inode, struct file *file, in seq_profile_open()
1057 static int seq_profile_release(struct inode *inode, struct file *file) in seq_profile_release()
1221 static int seq_rawdata_open(struct inode *inode, struct file *file, in seq_rawdata_open()
1241 static int seq_rawdata_release(struct inode *inode, struct file *file) in seq_rawdata_release()
[all …]
/security/smack/
Dsmack_lsm.c184 static int smk_bu_inode(struct inode *inode, int mode, int rc) in smk_bu_inode()
210 #define smk_bu_inode(inode, mode, RC) (RC) argument
218 struct inode *inode = file_inode(file); in smk_bu_file() local
248 struct inode *inode = file_inode(file); in smk_bu_credfile() local
315 static void init_inode_smack(struct inode *inode, struct smack_known *skp) in init_inode_smack()
784 struct inode *inode = d_backing_inode(root); in smack_set_mnt_opts() local
908 struct inode *inode = file_inode(bprm->file); in smack_bprm_set_creds() local
965 static int smack_inode_alloc_security(struct inode *inode) in smack_inode_alloc_security()
984 static int smack_inode_init_security(struct inode *inode, struct inode *dir, in smack_inode_init_security()
1171 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()
815 static int smk_open_cipso(struct inode *inode, struct file *file) in smk_open_cipso()
988 static int smk_open_cipso2(struct inode *inode, struct file *file) in smk_open_cipso2()
1064 static int smk_open_net4addr(struct inode *inode, struct file *file) in smk_open_net4addr()
1328 static int smk_open_net6addr(struct inode *inode, struct file *file) in smk_open_net6addr()
1880 static int smk_open_onlycap(struct inode *inode, struct file *file) in smk_open_onlycap()
2221 static int smk_open_load_self(struct inode *inode, struct file *file) in smk_open_load_self()
2351 static int smk_open_load2(struct inode *inode, struct file *file) in smk_open_load2()
2428 static int smk_open_load_self2(struct inode *inode, struct file *file) in smk_open_load_self2()
2697 static int smk_open_relabel_self(struct inode *inode, struct file *file) in smk_open_relabel_self()
/security/selinux/
Dhooks.c243 static int inode_alloc_security(struct inode *inode) in inode_alloc_security()
267 static int __inode_security_revalidate(struct inode *inode, in __inode_security_revalidate()
290 static struct inode_security_struct *inode_security_novalidate(struct inode *inode) in inode_security_novalidate()
295 static struct inode_security_struct *inode_security_rcu(struct inode *inode, bool rcu) in inode_security_rcu()
308 static struct inode_security_struct *inode_security(struct inode *inode) in inode_security()
316 struct inode *inode = d_backing_inode(dentry); in backing_inode_security_novalidate() local
326 struct inode *inode = d_backing_inode(dentry); in backing_inode_security() local
332 static void inode_free_security(struct inode *inode) in inode_free_security()
409 static inline int inode_doinit(struct inode *inode) in inode_doinit()
596 struct inode *inode = isec->inode; in sb_finish_set_opts() local
[all …]
Dselinuxfs.c220 static int sel_open_handle_status(struct inode *inode, struct file *filp) in sel_open_handle_status()
373 static int sel_open_policy(struct inode *inode, struct file *filp) in sel_open_policy()
425 static int sel_release_policy(struct inode *inode, struct file *filp) in sel_release_policy()
1332 struct inode *inode = NULL; in sel_make_bools() local
1583 static int sel_open_avc_cache_stats(struct inode *inode, struct file *file) in sel_open_avc_cache_stats()
1611 struct inode *inode; in sel_make_avc_files() local
1642 struct inode *inode; in sel_make_ss_files() local
1691 struct inode *inode; in sel_make_initcon_files() local
1791 struct inode *inode; in sel_make_perm_files() local
1825 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
163 const struct inode *inode) in selinux_inode()

12