kernel-fxtec-pro1x/arch/avr32/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
asm-offsets.c
avr32_ksyms.c
cpu.c cpu: convert 'cpu' and 'machinecheck' sysdev_class to a regular subsystem 2011-12-21 14:29:42 -08:00
entry-avr32b.S TIF_RESTORE_SIGMASK can be set only when TIF_SIGPENDING is set 2012-06-01 12:58:50 -04:00
head.S
irq.c driver-core: remove sysdev.h usage. 2011-12-21 16:26:03 -08:00
kprobes.c
Makefile avr32: Use generic init_task 2012-05-05 13:00:22 +02:00
module.c modules: make arch's use default loader hooks 2011-07-24 22:06:04 +09:30
nmi_debug.c
ocd.c
process.c vfs: define struct filename and have getname() return it 2012-10-12 20:14:55 -04:00
ptrace.c
setup.c
signal.c Uninclude linux/freezer.h 2012-10-01 09:58:18 -04:00
stacktrace.c
switch_to.S
sys_avr32.c
syscall-stubs.S
syscall_table.S All Arch: remove linkage for sys_nfsservctl system call 2011-08-26 15:09:58 -07:00
time.c
traps.c treewide: remove useless NORET_TYPE macro and uses 2012-01-12 20:13:03 -08:00
vmlinux.lds.S