android_kernel_google_msm/arch/openrisc/kernel
Jeff Layton 3df0a6646d vfs: define struct filename and have getname() return it
getname() is intended to copy pathname strings from userspace into a
kernel buffer. The result is just a string in kernel space. It would
however be quite helpful to be able to attach some ancillary info to
the string.

For instance, we could attach some audit-related info to reduce the
amount of audit-related processing needed. When auditing is enabled,
we could also call getname() on the string more than once and not
need to recopy it from userspace.

This patchset converts the getname()/putname() interfaces to return
a struct instead of a string. For now, the struct just tracks the
string in kernel space and the original userland pointer for it.

Later, we'll add other information to the struct as it becomes
convenient.

Change-Id: Ib690c3dd4d56624f0ddb081e1c1d4f23c2dd0cd1
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2018-12-07 22:28:48 +04:00
..
Makefile OpenRISC: Build infrastructure 2011-07-22 18:46:30 +02:00
asm-offsets.c OpenRISC: Miscellaneous 2011-07-22 18:46:41 +02:00
dma.c Add missing DMA ops 2011-09-11 09:50:39 +02:00
entry.S openrisc: sanitize use of orig_gpr11 2012-03-06 10:37:00 +01:00
head.S openrisc: add missing header inclusion 2014-09-25 11:49:17 +08:00
idle.c Disintegrate asm/system.h for OpenRISC 2012-03-28 18:30:03 +01:00
init_task.c openrisc: include export.h for EXPORT_SYMBOL 2012-02-17 09:52:32 +01:00
irq.c openrisc: include export.h for EXPORT_SYMBOL 2012-02-17 09:52:32 +01:00
module.c OpenRISC: Module support 2011-07-22 18:46:37 +02:00
or32_ksyms.c OpenRISC: Miscellaneous 2011-07-22 18:46:41 +02:00
process.c vfs: define struct filename and have getname() return it 2018-12-07 22:28:48 +04:00
prom.c Disintegrate asm/system.h for OpenRISC 2012-03-28 18:30:03 +01:00
ptrace.c Disintegrate and delete asm/system.h 2012-03-28 15:58:21 -07:00
setup.c Disintegrate and delete asm/system.h 2012-03-28 15:58:21 -07:00
signal.c openrisc: sanitize use of orig_gpr11 2012-03-06 10:37:00 +01:00
sys_call_table.c OpenRISC: System calls 2011-07-22 18:46:34 +02:00
sys_or32.c OpenRISC: System calls 2011-07-22 18:46:34 +02:00
time.c openrisc: Set shortest clock event to 100 ticks 2012-02-17 10:08:19 +01:00
traps.c Disintegrate and delete asm/system.h 2012-03-28 15:58:21 -07:00
vmlinux.h OpenRISC: Headers 2011-07-22 18:46:39 +02:00
vmlinux.lds.S OpenRISC: Build infrastructure 2011-07-22 18:46:30 +02:00