Home
last modified time | relevance | path

Searched refs:filp (Results 1 – 7 of 7) sorted by relevance

/security/selinux/
Dselinuxfs.c125 static ssize_t sel_read_enforce(struct file *filp, char __user *buf, in sel_read_enforce() argument
128 struct selinux_fs_info *fsi = file_inode(filp)->i_sb->s_fs_info; in sel_read_enforce()
204 static ssize_t sel_read_handle_unknown(struct file *filp, char __user *buf, in sel_read_handle_unknown() argument
207 struct selinux_fs_info *fsi = file_inode(filp)->i_sb->s_fs_info; in sel_read_handle_unknown()
211 ino_t ino = file_inode(filp)->i_ino; in sel_read_handle_unknown()
225 static int sel_open_handle_status(struct inode *inode, struct file *filp) in sel_open_handle_status() argument
227 struct selinux_fs_info *fsi = file_inode(filp)->i_sb->s_fs_info; in sel_open_handle_status()
233 filp->private_data = status; in sel_open_handle_status()
238 static ssize_t sel_read_handle_status(struct file *filp, char __user *buf, in sel_read_handle_status() argument
241 struct page *status = filp->private_data; in sel_read_handle_status()
[all …]
/security/integrity/ima/
Dima_fs.c51 static ssize_t ima_show_htable_violations(struct file *filp, in ima_show_htable_violations() argument
63 static ssize_t ima_show_measurements_count(struct file *filp, in ima_show_measurements_count() argument
385 static int ima_open_policy(struct inode *inode, struct file *filp) in ima_open_policy() argument
387 if (!(filp->f_flags & O_WRONLY)) { in ima_open_policy()
391 if ((filp->f_flags & O_ACCMODE) != O_RDONLY) in ima_open_policy()
395 return seq_open(filp, &ima_policy_seqops); in ima_open_policy()
/security/landlock/
Dsyscalls.c97 struct file *const filp) in fop_ruleset_release() argument
99 struct landlock_ruleset *ruleset = filp->private_data; in fop_ruleset_release()
105 static ssize_t fop_dummy_read(struct file *const filp, char __user *const buf, in fop_dummy_read() argument
112 static ssize_t fop_dummy_write(struct file *const filp, in fop_dummy_write() argument
/security/integrity/evm/
Devm_secfs.c39 static ssize_t evm_read_key(struct file *filp, char __user *buf, in evm_read_key() argument
127 static ssize_t evm_read_xattrs(struct file *filp, char __user *buf, in evm_read_xattrs() argument
/security/lockdown/
Dlockdown.c90 static ssize_t lockdown_read(struct file *filp, char __user *buf, size_t count, in lockdown_read() argument
/security/smack/
Dsmackfs.c1570 static ssize_t smk_read_doi(struct file *filp, char __user *buf, in smk_read_doi() argument
1636 static ssize_t smk_read_direct(struct file *filp, char __user *buf, in smk_read_direct() argument
1714 static ssize_t smk_read_mapped(struct file *filp, char __user *buf, in smk_read_mapped() argument
1792 static ssize_t smk_read_ambient(struct file *filp, char __user *buf, in smk_read_ambient() argument
2065 static ssize_t smk_read_unconfined(struct file *filp, char __user *buf, in smk_read_unconfined() argument
2152 static ssize_t smk_read_logging(struct file *filp, char __user *buf, in smk_read_logging() argument
2621 static ssize_t smk_read_syslog(struct file *filp, char __user *buf, in smk_read_syslog() argument
2812 static ssize_t smk_read_ptrace(struct file *filp, char __user *buf, in smk_read_ptrace() argument
/security/
Dinode.c318 static ssize_t lsm_read(struct file *filp, char __user *buf, size_t count, in lsm_read() argument