kernel-fxtec-pro1x/arch/hexagon/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
..
asm-offsets.c Hexagon: Add configuration and makefiles for the Hexagon architecture. 2011-11-01 07:34:21 -07:00
dma.c arch/hexagon/kernel/dma.c: make function static 2012-05-22 18:40:45 -05:00
head.S
hexagon_ksyms.c
irq_cpu.c
kgdb.c
Makefile hexagon: Use generic idle_task 2012-05-05 13:00:23 +02:00
module.c
process.c hexagon: Use common threadinfo allocator 2012-05-08 14:08:45 +02:00
ptrace.c Hexagon: misc compile warning/error cleanup due to missing headers 2012-04-23 12:56:41 -05:00
reset.c
setup.c
signal.c Uninclude linux/freezer.h 2012-10-01 09:58:18 -04:00
smp.c hexagon: SMP: Remove call to ipi_call_lock()/ipi_call_unlock() 2012-06-05 17:27:11 +02:00
stacktrace.c Hexagon: Add basic stacktrace functionality for Hexagon architecture. 2011-11-01 07:34:21 -07:00
syscall.c vfs: define struct filename and have getname() return it 2012-10-12 20:14:55 -04:00
syscalltab.c
time.c Hexagon: Use resource_size function 2012-05-22 18:40:45 -05:00
topology.c
trampoline.S
traps.c
vdso.c Hexagon: misc compile warning/error cleanup due to missing headers 2012-04-23 12:56:41 -05:00
vm_entry.S
vm_events.c Disintegrate asm/system.h for Hexagon 2012-03-28 18:30:02 +01:00
vm_init_segtable.S
vm_ops.S
vm_switch.S
vm_vectors.S
vmlinux.lds.S Hexagon: Add configuration and makefiles for the Hexagon architecture. 2011-11-01 07:34:21 -07:00