linux/arch/openrisc/kernel
Jeff Layton 91a27b2a75 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.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2012-10-12 20:14:55 -04:00
..
asm-offsets.c OpenRISC: Miscellaneous 2011-07-22 18:46:41 +02:00
dma.c openrisc: provide dma_map_ops 2012-05-08 11:43:51 +02:00
entry.S openrisc: use scratch regs in atomic syscall 2012-05-08 11:43:59 +02:00
head.S openrisc: enable passing of flattened device tree pointer 2012-02-17 09:55:22 +01:00
idle.c Disintegrate asm/system.h for OpenRISC 2012-03-28 18:30:03 +01:00
irq.c openrisc: remove unnecessary includes 2012-05-08 11:43:00 +02:00
Makefile openrisc: Use generic init_task 2012-05-05 13:00:24 +02: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 2012-10-12 20:14:55 -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 new helper: signal_delivered() 2012-06-01 12:58:52 -04: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