alistair23-linux/arch/cris/arch-v10/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
..
crisksyms.c [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
debugport.c Disintegrate asm/system.h for CRIS 2012-03-28 18:30:02 +01:00
dma.c Disintegrate asm/system.h for CRIS 2012-03-28 18:30:02 +01:00
entry.S All Arch: remove linkage for sys_nfsservctl system call 2011-08-26 15:09:58 -07:00
fasttimer.c CRIS: Remove legacy RTC drivers 2012-04-05 11:55:58 +02:00
head.S CRIS: Correct address of the romfs in boot image 2010-08-04 12:59:43 +02:00
io_interface_mux.c Disintegrate asm/system.h for CRIS 2012-03-28 18:30:02 +01:00
irq.c cris: add missing declaration of kgdb_init() and breakpoint() 2011-08-03 14:25:22 -10:00
kgdb.c cris:fix the wrong function declear 2012-04-03 16:42:15 +02:00
Makefile [PATCH] CRIS update: drivers 2005-07-27 16:25:59 -07:00
process.c vfs: define struct filename and have getname() return it 2012-10-12 20:14:55 -04:00
ptrace.c Disintegrate asm/system.h for CRIS 2012-03-28 18:30:02 +01:00
setup.c Disintegrate asm/system.h for CRIS 2012-03-28 18:30:02 +01:00
shadows.c CRIS v10: Remove useless CVS id from kernel/shadows.c 2008-02-08 11:06:31 +01:00
signal.c new helper: signal_delivered() 2012-06-01 12:58:52 -04:00
time.c CRIS: Remove legacy RTC drivers 2012-04-05 11:55:58 +02:00
traps.c Disintegrate asm/system.h for CRIS 2012-03-28 18:30:02 +01:00