Home
last modified time | relevance | path

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

12

/security/safesetid/
A 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
239 const char __user *buf, in safesetid_uid_file_write()
253 const char __user *buf, in safesetid_gid_file_write()
266 static ssize_t safesetid_file_read(struct file *file, char __user *buf, in safesetid_file_read()
285 static ssize_t safesetid_uid_file_read(struct file *file, char __user *buf, in safesetid_uid_file_read()
292 static ssize_t safesetid_gid_file_read(struct file *file, char __user *buf, in safesetid_gid_file_read()
/security/selinux/ss/
A Dpolicydb.c1007 __le32 buf[2]; in mls_read_range_helper() local
1067 __le32 buf[3]; in context_read_and_validate() local
1131 __le32 buf[2]; in perm_read() local
1163 __le32 buf[4]; in common_read() local
1213 __le32 buf[1]; in type_set_read() local
1234 __le32 buf[3]; in read_cons_helper() local
1328 __le32 buf[6]; in class_read() local
1427 __le32 buf[3]; in role_read() local
1484 __le32 buf[4]; in type_read() local
1532 __le32 buf[1]; in mls_read_level() local
[all …]
A Dconditional.c213 __le32 buf[3]; in cond_read_bool() local
325 __le32 buf[1]; in cond_read_av_list() local
374 __le32 buf[2]; in cond_read_node() local
414 __le32 buf[1]; in cond_read_list() local
451 __le32 buf[3]; in cond_write_bool() local
480 __le32 buf[1]; in cond_write_av_list() local
501 __le32 buf[2]; in cond_write_node() local
536 __le32 buf[1]; in cond_write_list() local
A Debitmap.c370 __le32 buf[3]; in ebitmap_read() local
485 __le32 buf[3]; in ebitmap_write() local
/security/selinux/
A Dselinuxfs.c123 static ssize_t sel_read_enforce(struct file *filp, char __user *buf, in sel_read_enforce()
311 static ssize_t sel_read_policyvers(struct file *filp, char __user *buf, in sel_read_policyvers()
342 static ssize_t sel_read_mls(struct file *filp, char __user *buf, in sel_read_mls()
428 static ssize_t sel_read_policy(struct file *filp, char __user *buf, in sel_read_policy()
729 const char __user *buf, in sel_write_validatetrans()
1202 static ssize_t sel_read_bool(struct file *filep, char __user *buf, in sel_read_bool()
1300 const char __user *buf, in sel_commit_bools_write()
1426 const char __user *buf, in sel_write_avc_cache_threshold()
1654 static ssize_t sel_read_initcon(struct file *file, char __user *buf, in sel_read_initcon()
1725 static ssize_t sel_read_class(struct file *file, char __user *buf, in sel_read_class()
[all …]
A Dima.c24 char *buf; in selinux_ima_collect_state() local
/security/smack/
A Dsmackfs.c642 static ssize_t smk_write_load(struct file *file, const char __user *buf, in smk_write_load()
814 static ssize_t smk_set_cipso(struct file *file, const char __user *buf, in smk_set_cipso()
1556 static ssize_t smk_read_doi(struct file *filp, char __user *buf, in smk_read_doi()
1580 static ssize_t smk_write_doi(struct file *file, const char __user *buf, in smk_write_doi()
1622 static ssize_t smk_read_direct(struct file *filp, char __user *buf, in smk_read_direct()
1700 static ssize_t smk_read_mapped(struct file *filp, char __user *buf, in smk_read_mapped()
1778 static ssize_t smk_read_ambient(struct file *filp, char __user *buf, in smk_read_ambient()
2051 static ssize_t smk_read_unconfined(struct file *filp, char __user *buf, in smk_read_unconfined()
2139 static ssize_t smk_read_logging(struct file *filp, char __user *buf, in smk_read_logging()
2609 static ssize_t smk_read_syslog(struct file *filp, char __user *buf, in smk_read_syslog()
[all …]
/security/integrity/evm/
A Devm_secfs.c38 static ssize_t evm_read_key(struct file *filp, char __user *buf, in evm_read_key()
65 static ssize_t evm_write_key(struct file *file, const char __user *buf, in evm_write_key()
126 static ssize_t evm_read_xattrs(struct file *filp, char __user *buf, in evm_read_xattrs()
179 static ssize_t evm_write_xattrs(struct file *file, const char __user *buf, in evm_write_xattrs()
/security/tomoyo/
A 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()
A 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
A Drealpath.c239 char *buf = NULL; in tomoyo_realpath_from_path() local
304 char *buf = tomoyo_realpath_from_path(&path); in tomoyo_realpath_nofollow() local
A Daudit.c247 char *buf = NULL; in tomoyo_init_log() local
369 char *buf; in tomoyo_write_log2() local
/security/integrity/ima/
A Dima_main.c237 struct lsm_prop *prop, char *buf, loff_t size, in process_measurement()
638 static int __ima_inode_hash(struct inode *inode, struct file *file, char *buf, in __ima_inode_hash()
715 int ima_file_hash(struct file *file, char *buf, size_t buf_size) in ima_file_hash()
742 int ima_inode_hash(struct inode *inode, char *buf, size_t buf_size) in ima_inode_hash()
878 static int ima_post_read_file(struct file *file, char *buf, loff_t size, in ima_post_read_file()
966 static int ima_post_load_data(char *buf, loff_t size, in ima_post_load_data()
1010 struct inode *inode, const void *buf, int size, in process_buffer_measurement()
1124 void ima_kexec_cmdline(int kernel_fd, const void *buf, int size) in ima_kexec_cmdline()
1159 const void *buf, size_t buf_len, in ima_measure_critical_data()
A 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()
A 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()
332 static ssize_t ima_write_policy(struct file *file, const char __user *buf, in ima_write_policy()
A Dima_crypto.c658 static int calc_buffer_ahash_atfm(const void *buf, loff_t len, in calc_buffer_ahash_atfm()
698 static int calc_buffer_ahash(const void *buf, loff_t len, in calc_buffer_ahash()
715 static int calc_buffer_shash_tfm(const void *buf, loff_t size, in calc_buffer_shash_tfm()
745 static int calc_buffer_shash(const void *buf, loff_t len, in calc_buffer_shash()
761 int ima_calc_buffer_hash(const void *buf, loff_t len, in ima_calc_buffer_hash()
/security/keys/trusted-keys/
A Dtrusted_tpm2.c111 u8 **buf) in tpm2_key_decode()
212 static void tpm2_buf_append_auth(struct tpm_buf *buf, u32 session_handle, in tpm2_buf_append_auth()
245 struct tpm_buf buf, sized; in tpm2_seal_trusted() local
390 struct tpm_buf buf; in tpm2_load_cmd() local
494 struct tpm_buf buf; in tpm2_unseal_cmd() local
/security/apparmor/
A 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()
A Dapparmorfs.c414 static ssize_t policy_update(u32 mask, const char __user *buf, size_t size, in policy_update()
443 static ssize_t profile_load(struct file *f, const char __user *buf, size_t size, in profile_load()
460 static ssize_t profile_replace(struct file *f, const char __user *buf, in profile_replace()
477 static ssize_t profile_remove(struct file *f, const char __user *buf, in profile_remove()
535 static ssize_t ns_revision_read(struct file *file, char __user *buf, in ns_revision_read()
671 static ssize_t query_data(char *buf, size_t buf_len, in query_data()
764 static ssize_t query_label(char *buf, size_t buf_len, in query_label()
869 const char __user *buf, in multi_transaction_new()
889 static ssize_t multi_transaction_read(struct file *file, char __user *buf, in multi_transaction_read()
1359 static ssize_t rawdata_read(struct file *file, char __user *buf, size_t size, in rawdata_read()
/security/lockdown/
A Dlockdown.c96 static ssize_t lockdown_read(struct file *filp, char __user *buf, size_t count, in lockdown_read()
122 static ssize_t lockdown_write(struct file *file, const char __user *buf, in lockdown_write()
/security/keys/
A Dbig_key.c61 u8 *buf, *enckey; in big_key_preparse() local
238 u8 *buf, *enckey = payload->data; in big_key_read() local
A Dprocess_keys.c83 char buf[20]; in look_up_user_keyrings() local
189 char buf[20]; in get_user_session_keyring_rcu() local
A Dpersistent.c79 char buf[32]; in key_get_persistent() local
/security/integrity/platform_certs/
A Dload_powerpc.c68 char buf[32]; in load_powerpc_certs() local
/security/landlock/
A Dsyscalls.c130 static ssize_t fop_dummy_read(struct file *const filp, char __user *const buf, in fop_dummy_read()
138 const char __user *const buf, const size_t size, in fop_dummy_write()

Completed in 44 milliseconds

12