kernel-fxtec-pro1x/arch/m32r/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
..
.gitignore m32r: add kernel/.gitignore and ignore vmlinux.lds 2010-10-15 19:37:50 -07:00
align.c
asm-offsets.c
entry.S make m32r handle multiple pending signals 2010-09-24 13:54:19 -07:00
head.S
irq.c m32r: Use generic show_interrupts() 2011-03-24 20:35:57 +01:00
m32r_ksyms.c
Makefile m32r: Use generic init_task 2012-05-05 13:00:23 +02: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 m32r: fix 'fix breakage from "m32r: use generic ptrace_resume code"' fallout 2012-07-17 16:21:30 -07:00
setup.c
signal.c Uninclude linux/freezer.h 2012-10-01 09:58:18 -04:00
smp.c atomic: use <linux/atomic.h> 2011-07-26 16:49:47 -07:00
smpboot.c smp: Add task_struct argument to __cpu_up() 2012-04-26 12:06:09 +02:00
sys_m32r.c Make do_execve() take a const filename pointer 2010-08-17 18:07:43 -07:00
syscall_table.S All Arch: remove linkage for sys_nfsservctl system call 2011-08-26 15:09:58 -07:00
time.c m32r: Switch from do_timer() to xtime_update() 2011-01-31 14:55:45 +01:00
traps.c Disintegrate asm/system.h for M32R 2012-03-28 18:30:02 +01:00
vmlinux.lds.S Merge branch 'for-2.6.40' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/percpu 2011-05-24 11:53:42 -07:00