Home
last modified time | relevance | path

Searched refs:ppos (Results 1 – 12 of 12) sorted by relevance

/security/smack/
Dsmackfs.c444 size_t count, loff_t *ppos, in smk_write_rules_list() argument
459 if (*ppos != 0) in smk_write_rules_list()
658 size_t count, loff_t *ppos) in smk_write_load() argument
668 return smk_write_rules_list(file, buf, count, ppos, NULL, NULL, in smk_write_load()
832 size_t count, loff_t *ppos, int format) in smk_set_cipso() argument
853 if (*ppos != 0) in smk_set_cipso()
930 size_t count, loff_t *ppos) in smk_write_cipso() argument
932 return smk_set_cipso(file, buf, count, ppos, SMK_FIXED24_FMT); in smk_write_cipso()
1004 size_t count, loff_t *ppos) in smk_write_cipso2() argument
1006 return smk_set_cipso(file, buf, count, ppos, SMK_LONG_FMT); in smk_write_cipso2()
[all …]
/security/integrity/evm/
Devm_secfs.c42 size_t count, loff_t *ppos) in evm_read_key() argument
47 if (*ppos != 0) in evm_read_key()
51 rc = simple_read_from_buffer(buf, count, ppos, temp, strlen(temp)); in evm_read_key()
69 size_t count, loff_t *ppos) in evm_write_key() argument
129 size_t count, loff_t *ppos) in evm_read_xattrs() argument
136 if (*ppos != 0) in evm_read_xattrs()
158 rc = simple_read_from_buffer(buf, count, ppos, temp, strlen(temp)); in evm_read_xattrs()
175 size_t count, loff_t *ppos) in evm_write_xattrs() argument
186 if (*ppos != 0) in evm_write_xattrs()
/security/tomoyo/
Dsecurityfs_if.c42 size_t count, loff_t *ppos) in tomoyo_write_self() argument
101 size_t count, loff_t *ppos) in tomoyo_read_self() argument
105 loff_t pos = *ppos; in tomoyo_read_self()
114 *ppos += len; in tomoyo_read_self()
176 loff_t *ppos) in tomoyo_read() argument
192 size_t count, loff_t *ppos) in tomoyo_write() argument
/security/selinux/
Dselinuxfs.c122 size_t count, loff_t *ppos) in sel_read_enforce() argument
130 return simple_read_from_buffer(buf, count, ppos, tmpbuf, length); in sel_read_enforce()
135 size_t count, loff_t *ppos) in sel_write_enforce() argument
148 if (*ppos != 0) in sel_write_enforce()
200 size_t count, loff_t *ppos) in sel_read_handle_unknown() argument
212 return simple_read_from_buffer(buf, count, ppos, tmpbuf, length); in sel_read_handle_unknown()
234 size_t count, loff_t *ppos) in sel_read_handle_status() argument
240 return simple_read_from_buffer(buf, count, ppos, in sel_read_handle_status()
276 size_t count, loff_t *ppos) in sel_write_disable() argument
289 if (*ppos != 0) in sel_write_disable()
[all …]
/security/integrity/ima/
Dima_fs.c43 loff_t *ppos, atomic_long_t *val) in ima_show_htable_value() argument
49 return simple_read_from_buffer(buf, count, ppos, tmpbuf, len); in ima_show_htable_value()
54 size_t count, loff_t *ppos) in ima_show_htable_violations() argument
56 return ima_show_htable_value(buf, count, ppos, &ima_htable.violations); in ima_show_htable_violations()
66 size_t count, loff_t *ppos) in ima_show_measurements_count() argument
68 return ima_show_htable_value(buf, count, ppos, &ima_htable.len); in ima_show_measurements_count()
313 size_t datalen, loff_t *ppos) in ima_write_policy() argument
323 if (*ppos != 0) in ima_write_policy()
/security/
Dmin_addr.c33 void __user *buffer, size_t *lenp, loff_t *ppos) in mmap_min_addr_handler() argument
40 ret = proc_doulongvec_minmax(table, write, buffer, lenp, ppos); in mmap_min_addr_handler()
Dinode.c319 loff_t *ppos) in lsm_read() argument
321 return simple_read_from_buffer(buf, count, ppos, lsm_names, in lsm_read()
/security/safesetid/
Dsecurityfs.c198 loff_t *ppos) in safesetid_file_write() argument
203 if (*ppos != 0) in safesetid_file_write()
210 size_t len, loff_t *ppos) in safesetid_file_read() argument
221 res = simple_read_from_buffer(buf, len, ppos, in safesetid_file_read()
/security/lockdown/
Dlockdown.c116 loff_t *ppos) in lockdown_read() argument
138 return simple_read_from_buffer(buf, count, ppos, temp, strlen(temp)); in lockdown_read()
142 size_t n, loff_t *ppos) in lockdown_write() argument
/security/yama/
Dyama_lsm.c433 void __user *buffer, size_t *lenp, loff_t *ppos) in yama_dointvec_minmax() argument
445 return proc_dointvec_minmax(&table_copy, write, buffer, lenp, ppos); in yama_dointvec_minmax()
/security/apparmor/
Dapparmorfs.c533 size_t size, loff_t *ppos) in ns_revision_read() argument
554 if (*ppos + size > avail) { in ns_revision_read()
556 *ppos = 0; in ns_revision_read()
560 return simple_read_from_buffer(buf, size, ppos, buffer, avail); in ns_revision_read()
933 size_t count, loff_t *ppos) in aa_write_access() argument
938 if (*ppos) in aa_write_access()
1288 loff_t *ppos) in rawdata_read() argument
1292 return simple_read_from_buffer(buf, size, ppos, rawdata->data, in rawdata_read()
Dlsm.c1574 void __user *buffer, size_t *lenp, loff_t *ppos) in apparmor_dointvec() argument
1581 return proc_dointvec(table, write, buffer, lenp, ppos); in apparmor_dointvec()