linux/arch/cris/arch-v32/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
..
Makefile CRISv32: Remove obsolete vcs_hook.o from Makefile 2009-04-21 13:10:33 +02:00
cache.c [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
cacheflush.S CRIS: Add debug for assembler functions 2010-08-04 12:59:43 +02:00
crisksyms.c CRIS: Don't use mask_irq as symbol name 2010-05-25 17:48:14 +02:00
debugport.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 Disintegrate asm/system.h for CRIS 2012-03-28 18:30:02 +01:00
head.S CRIS: Remove VCS simulator specific code 2012-10-03 09:57:01 +02:00
irq.c cris: convert old cpumask API into new one 2011-05-25 08:39:39 -07:00
kgdb.c CRIS: Remove VCS simulator specific code 2012-10-03 09:57:01 +02:00
kgdb_asm.S CRIS: v32: Correct path for intr_vect.h 2010-08-04 13:00:53 +02:00
process.c vfs: define struct filename and have getname() return it 2012-10-12 20:14:55 -04:00
ptrace.c cris:removed the unused variable 2012-04-03 13:09:18 +02:00
setup.c CRIS: More ARTPEC-3 support and i2c-boardinfo. 2010-08-04 13:01:50 +02:00
signal.c new helper: signal_delivered() 2012-06-01 12:58:52 -04:00
smp.c cris: Use generic idle thread allocation 2012-04-26 12:06:11 +02:00
time.c CRIS: Remove legacy RTC drivers 2012-04-05 11:55:58 +02:00
traps.c CRIS: Minor formatting fix in traps.c 2010-08-04 13:02:15 +02:00