linux_old1/arch/h8300/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
..
timer sections: fix section conflicts in arch/h8300 2012-10-06 03:04:38 +09:00
Makefile h8300-use-generic-init_task 2012-05-05 13:00:23 +02:00
asm-offsets.c ptrace: remove PT_DTRACE from arch/h8300 2009-06-18 13:03:48 -07:00
entry.S h8300 entry.S update 2007-07-16 09:05:37 -07:00
gpio.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
h8300_ksyms.c Generic semaphore implementation 2008-04-17 10:42:34 -04:00
irq.c Disintegrate asm/system.h for H8300 2012-03-28 18:30:02 +01:00
module.c modules: make arch's use default loader hooks 2011-07-24 22:06:04 +09:30
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 H8300 2012-03-28 18:30:02 +01:00
setup.c h8300: use the declarations provided by <asm/sections.h> 2012-06-20 14:39:35 -07:00
signal.c Uninclude linux/freezer.h 2012-10-01 09:58:18 -04:00
sys_h8300.c sections: fix section conflicts in arch/h8300 2012-10-06 03:04:38 +09:00
syscalls.S h8300: switch to saved_sigmask-based sigsuspend/rt_sigsuspend 2012-05-21 23:58:07 -04:00
time.c h8300/time: add missing #include <asm/irq_regs.h> 2012-07-11 16:04:45 -07:00
traps.c Disintegrate asm/system.h for H8300 2012-03-28 18:30:02 +01:00
vmlinux.lds.S module: make MODULE_SYMBOL_PREFIX into a CONFIG option 2009-12-15 16:28:26 +10:30