linux/arch/parisc/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
binfmt_elf32.c
cache.c mm: replace vma prio_tree with an interval tree 2012-10-09 16:22:39 +09:00
drivers.c
entry.S
firmware.c
ftrace.c
hardware.c
head.S
hpmc.S
inventory.c
irq.c
Makefile
module.c
pa7300lc.c
pacache.S
parisc_ksyms.c
pci-dma.c
pci.c
pdc_chassis.c
pdc_cons.c TTY: use tty_port_link_device 2012-08-13 16:50:19 -07:00
perf_asm.S
perf_images.h
perf.c
process.c vfs: define struct filename and have getname() return it 2012-10-12 20:14:55 -04:00
processor.c
ptrace.c
real2.S
setup.c
signal32.c
signal32.h compat: move compat_siginfo_t definition to asm/compat.h 2012-10-06 03:05:16 +09:00
signal.c parisc: don't bother looping in do_signal() 2012-10-01 09:58:14 -04:00
smp.c
stacktrace.c
sys32.h
sys_parisc32.c vfs: define struct filename and have getname() return it 2012-10-12 20:14:55 -04:00
sys_parisc.c
syscall_table.S
syscall.S parisc: decide whether to go to slow path (tracesys) based on thread flags 2012-10-01 09:58:14 -04:00
time.c
topology.c
traps.c
unaligned.c
unwind.c
vmlinux.lds.S