Home
last modified time | relevance | path

Searched defs:buf (Results 1 – 25 of 38) sorted by relevance

12

/security/safesetid/
Dsecurityfs.c31 static int parse_policy_line(struct file *file, char *buf, in parse_policy_line()
143 char *buf, *p, *end; in handle_policy_update() local
236 const char __user *buf, in safesetid_uid_file_write()
250 const char __user *buf, in safesetid_gid_file_write()
263 static ssize_t safesetid_file_read(struct file *file, char __user *buf, in safesetid_file_read()
282 static ssize_t safesetid_uid_file_read(struct file *file, char __user *buf, in safesetid_uid_file_read()
289 static ssize_t safesetid_gid_file_read(struct file *file, char __user *buf, in safesetid_gid_file_read()
/security/selinux/ss/
Dpolicydb.c978 __le32 buf[2]; in mls_read_range_helper() local
1039 __le32 buf[3]; in context_read_and_validate() local
1103 __le32 buf[2]; in perm_read() local
1135 __le32 buf[4]; in common_read() local
1183 __le32 buf[1]; in type_set_read() local
1206 __le32 buf[3]; in read_cons_helper() local
1299 __le32 buf[6]; in class_read() local
1395 __le32 buf[3]; in role_read() local
1451 __le32 buf[4]; in type_read() local
1500 __le32 buf[1]; in mls_read_level() local
[all …]
Dconditional.c212 __le32 buf[3]; in cond_read_bool() local
329 __le32 buf[1]; in cond_read_av_list() local
378 __le32 buf[2]; in cond_read_node() local
418 __le32 buf[1]; in cond_read_list() local
455 __le32 buf[3]; in cond_write_bool() local
484 __le32 buf[1]; in cond_write_av_list() local
505 __le32 buf[2]; in cond_write_node() local
540 __le32 buf[1]; in cond_write_list() local
Debitmap.c372 __le32 buf[3]; in ebitmap_read() local
475 __le32 buf[3]; in ebitmap_write() local
/security/smack/
Dsmackfs.c443 static ssize_t smk_write_rules_list(struct file *file, const char __user *buf, in smk_write_rules_list()
657 static ssize_t smk_write_load(struct file *file, const char __user *buf, in smk_write_load()
829 static ssize_t smk_set_cipso(struct file *file, const char __user *buf, in smk_set_cipso()
950 static ssize_t smk_write_cipso(struct file *file, const char __user *buf, in smk_write_cipso()
1024 static ssize_t smk_write_cipso2(struct file *file, const char __user *buf, in smk_write_cipso2()
1143 static ssize_t smk_write_net4addr(struct file *file, const char __user *buf, in smk_write_net4addr()
1406 static ssize_t smk_write_net6addr(struct file *file, const char __user *buf, in smk_write_net6addr()
1570 static ssize_t smk_read_doi(struct file *filp, char __user *buf, in smk_read_doi()
1594 static ssize_t smk_write_doi(struct file *file, const char __user *buf, in smk_write_doi()
1636 static ssize_t smk_read_direct(struct file *filp, char __user *buf, in smk_read_direct()
[all …]
/security/integrity/evm/
Devm_secfs.c39 static ssize_t evm_read_key(struct file *filp, char __user *buf, in evm_read_key()
66 static ssize_t evm_write_key(struct file *file, const char __user *buf, in evm_write_key()
127 static ssize_t evm_read_xattrs(struct file *filp, char __user *buf, in evm_read_xattrs()
180 static ssize_t evm_write_xattrs(struct file *file, const char __user *buf, in evm_write_xattrs()
/security/selinux/
Dselinuxfs.c125 static ssize_t sel_read_enforce(struct file *filp, char __user *buf, in sel_read_enforce()
138 static ssize_t sel_write_enforce(struct file *file, const char __user *buf, in sel_write_enforce()
204 static ssize_t sel_read_handle_unknown(struct file *filp, char __user *buf, in sel_read_handle_unknown()
238 static ssize_t sel_read_handle_status(struct file *filp, char __user *buf, in sel_read_handle_status()
280 static ssize_t sel_write_disable(struct file *file, const char __user *buf, in sel_write_disable()
339 static ssize_t sel_read_policyvers(struct file *filp, char __user *buf, in sel_read_policyvers()
373 static ssize_t sel_read_mls(struct file *filp, char __user *buf, in sel_read_mls()
462 static ssize_t sel_read_policy(struct file *filp, char __user *buf, in sel_read_policy()
613 static ssize_t sel_write_load(struct file *file, const char __user *buf, in sel_write_load()
676 static ssize_t sel_write_context(struct file *file, char *buf, size_t size) in sel_write_context()
[all …]
Dima.c26 char *buf; in selinux_ima_collect_state() local
/security/tomoyo/
Dsecurityfs_if.c41 static ssize_t tomoyo_write_self(struct file *file, const char __user *buf, in tomoyo_write_self()
100 static ssize_t tomoyo_read_self(struct file *file, char __user *buf, in tomoyo_read_self()
176 static ssize_t tomoyo_read(struct file *file, char __user *buf, size_t count, in tomoyo_read()
192 static ssize_t tomoyo_write(struct file *file, const char __user *buf, in tomoyo_write()
Dfile.c130 static void tomoyo_add_slash(struct tomoyo_path_info *buf) in tomoyo_add_slash()
149 static bool tomoyo_get_realpath(struct tomoyo_path_info *buf, const struct path *path) in tomoyo_get_realpath()
716 struct tomoyo_path_info buf; in tomoyo_path_number_perm() local
758 struct tomoyo_path_info buf; in tomoyo_check_open_permission() local
810 struct tomoyo_path_info buf; in tomoyo_path_perm() local
867 struct tomoyo_path_info buf; in tomoyo_mkdev_perm() local
Drealpath.c239 char *buf = NULL; in tomoyo_realpath_from_path() local
309 char *buf = tomoyo_realpath_from_path(&path); in tomoyo_realpath_nofollow() local
Daudit.c247 char *buf = NULL; in tomoyo_init_log() local
369 char *buf; in tomoyo_write_log2() local
Dnetwork.c124 void tomoyo_print_ip(char *buf, const unsigned int size, in tomoyo_print_ip()
381 char buf[128]; in tomoyo_audit_inet_log() local
553 char *buf = address->unix0.addr; in tomoyo_unix_entry() local
/security/integrity/ima/
Dima_main.c203 u32 secid, char *buf, loff_t size, int mask, in process_measurement()
539 static int __ima_inode_hash(struct inode *inode, char *buf, size_t buf_size) in __ima_inode_hash()
592 int ima_file_hash(struct file *file, char *buf, size_t buf_size) in ima_file_hash()
619 int ima_inode_hash(struct inode *inode, char *buf, size_t buf_size) in ima_inode_hash()
755 int ima_post_read_file(struct file *file, void *buf, loff_t size, in ima_post_read_file()
843 int ima_post_load_data(char *buf, loff_t size, in ima_post_load_data()
880 struct inode *inode, const void *buf, int size, in process_buffer_measurement()
995 void ima_kexec_cmdline(int kernel_fd, const void *buf, int size) in ima_kexec_cmdline()
1033 const void *buf, size_t buf_len, in ima_measure_critical_data()
Dima_fs.c41 static ssize_t ima_show_htable_value(char __user *buf, size_t count, in ima_show_htable_value()
52 char __user *buf, in ima_show_htable_violations()
64 char __user *buf, in ima_show_measurements_count()
314 static ssize_t ima_write_policy(struct file *file, const char __user *buf, in ima_write_policy()
Dima_modsig.c40 int ima_read_modsig(enum ima_hooks func, const void *buf, loff_t buf_len, in ima_read_modsig()
100 void ima_collect_modsig(struct modsig *modsig, const void *buf, loff_t size) in ima_collect_modsig()
Dima_crypto.c663 static int calc_buffer_ahash_atfm(const void *buf, loff_t len, in calc_buffer_ahash_atfm()
703 static int calc_buffer_ahash(const void *buf, loff_t len, in calc_buffer_ahash()
720 static int calc_buffer_shash_tfm(const void *buf, loff_t size, in calc_buffer_shash_tfm()
750 static int calc_buffer_shash(const void *buf, loff_t len, in calc_buffer_shash()
766 int ima_calc_buffer_hash(const void *buf, loff_t len, in ima_calc_buffer_hash()
/security/keys/trusted-keys/
Dtrusted_tpm2.c98 u8 **buf) in tpm2_key_decode()
199 static void tpm2_buf_append_auth(struct tpm_buf *buf, u32 session_handle, in tpm2_buf_append_auth()
232 struct tpm_buf buf; in tpm2_seal_trusted() local
365 struct tpm_buf buf; in tpm2_load_cmd() local
463 struct tpm_buf buf; in tpm2_unseal_cmd() local
/security/apparmor/
Dpath.c48 static int disconnect(const struct path *path, char *buf, char **name, in disconnect()
88 static int d_namespace_path(const struct path *path, char *buf, char **name, in d_namespace_path()
Dapparmorfs.c411 static ssize_t policy_update(u32 mask, const char __user *buf, size_t size, in policy_update()
440 static ssize_t profile_load(struct file *f, const char __user *buf, size_t size, in profile_load()
457 static ssize_t profile_replace(struct file *f, const char __user *buf, in profile_replace()
474 static ssize_t profile_remove(struct file *f, const char __user *buf, in profile_remove()
531 static ssize_t ns_revision_read(struct file *file, char __user *buf, in ns_revision_read()
658 static ssize_t query_data(char *buf, size_t buf_len, in query_data()
751 static ssize_t query_label(char *buf, size_t buf_len, in query_label()
858 const char __user *buf, in multi_transaction_new()
878 static ssize_t multi_transaction_read(struct file *file, char __user *buf, in multi_transaction_read()
1340 static ssize_t rawdata_read(struct file *file, char __user *buf, size_t size, in rawdata_read()
/security/lockdown/
Dlockdown.c90 static ssize_t lockdown_read(struct file *filp, char __user *buf, size_t count, in lockdown_read()
116 static ssize_t lockdown_write(struct file *file, const char __user *buf, in lockdown_write()
/security/keys/
Dbig_key.c60 u8 *buf, *enckey; in big_key_preparse() local
239 u8 *buf, *enckey = (u8 *)key->payload.data[big_key_data]; in big_key_read() local
Dprocess_keys.c83 char buf[20]; in look_up_user_keyrings() local
189 char buf[20]; in get_user_session_keyring_rcu() local
Dpersistent.c79 char buf[32]; in key_get_persistent() local
/security/landlock/
Dsyscalls.c105 static ssize_t fop_dummy_read(struct file *const filp, char __user *const buf, in fop_dummy_read()
113 const char __user *const buf, const size_t size, in fop_dummy_write()

12