Searched refs:kernel_read_file (Results 1 – 13 of 13) sorted by relevance
/linux/fs/ |
H A D | kernel_read_file.c | 4 #include <linux/kernel_read_file.h> 9 * kernel_read_file() - read file contents into a kernel buffer 29 * change between calls to kernel_read_file(). 35 ssize_t kernel_read_file(struct file *file, loff_t offset, void **buf, in kernel_read_file() function 125 EXPORT_SYMBOL_GPL(kernel_read_file); 141 ret = kernel_read_file(file, offset, buf, buf_size, file_size, id); in kernel_read_file_from_path() 168 ret = kernel_read_file(file, offset, buf, buf_size, file_size, id); in kernel_read_file_from_path_initns() 183 return kernel_read_file(fd_file(f), offset, buf, buf_size, file_size, id); in kernel_read_file_from_fd()
|
H A D | Makefile | 18 kernel_read_file.o mnt_idmapping.o remap_range.o pidfs.o \
|
/linux/tools/testing/selftests/bpf/progs/ |
H A D | ima.c | 82 SEC("lsm.s/kernel_read_file") 83 int BPF_PROG(kernel_read_file, struct file *file, enum kernel_read_file_id id, in BPF_PROG() argument
|
/linux/include/linux/ |
H A D | kernel_read_file.h | 38 ssize_t kernel_read_file(struct file *file, loff_t offset,
|
/linux/security/ipe/ |
H A D | ipe.c | 52 LSM_HOOK_INIT(kernel_read_file, ipe_kernel_read_file),
|
/linux/security/loadpin/ |
H A D | loadpin.c | 14 #include <linux/kernel_read_file.h> 218 LSM_HOOK_INIT(kernel_read_file, loadpin_read_file), 307 rc = kernel_read_file(fd_file(f), 0, (void **)&data, SZ_4K - 1, NULL, READING_POLICY); in read_trusted_verity_root_digests()
|
/linux/Documentation/admin-guide/LSM/ |
H A D | LoadPin.rst | 31 defined in ``include/linux/kernel_read_file.h``.
|
/linux/Documentation/translations/zh_CN/mm/ |
H A D | page_owner.rst | 102 kernel_read_file+0x309/0x4d0
|
/linux/Documentation/mm/ |
H A D | page_owner.rst | 112 kernel_read_file+0x309/0x4d0
|
/linux/security/integrity/ima/ |
H A D | ima_main.c | 21 #include <linux/kernel_read_file.h> 1252 LSM_HOOK_INIT(kernel_read_file, ima_read_file),
|
/linux/kernel/module/ |
H A D | main.c | 20 #include <linux/kernel_read_file.h> 3682 len = kernel_read_file(f, 0, &buf, INT_MAX, NULL, READING_MODULE); in init_module_from_file()
|
/linux/security/ |
H A D | security.c | 20 #include <linux/kernel_read_file.h> 3382 return call_int_hook(kernel_read_file, file, id, contents); in security_kernel_read_file()
|
/linux/security/selinux/ |
H A D | hooks.c | 27 #include <linux/kernel_read_file.h> 7416 LSM_HOOK_INIT(kernel_read_file, selinux_kernel_read_file),
|