remarkable-linux/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: Add startup code 2011-11-01 07:34:19 -07:00
hexagon_ksyms.c Hexagon: Export ksyms defined in assembly files. 2011-11-01 07:34:19 -07:00
irq_cpu.c Hexagon: Add interrupts 2011-11-01 07:34:19 -07:00
kgdb.c Hexagon: kgdb support files 2011-11-01 07:34:21 -07:00
Makefile hexagon: Use generic idle_task 2012-05-05 13:00:23 +02:00
module.c Hexagon: Support dynamic module loading. 2011-11-01 07:34:19 -07:00
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 Hexagon: Add startup code 2011-11-01 07:34:19 -07:00
setup.c Hexagon: Add startup code 2011-11-01 07:34:19 -07:00
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 Hexagon: Add syscalls 2011-11-01 07:34:18 -07:00
time.c Hexagon: Use resource_size function 2012-05-22 18:40:45 -05:00
topology.c Hexagon: Add SMP support 2011-11-01 07:34:20 -07:00
trampoline.S Hexagon: Add signal functions 2011-11-01 07:34:19 -07:00
traps.c Hexagon: Provide basic debugging and system trap support. 2011-11-01 07:34:19 -07:00
vdso.c Hexagon: misc compile warning/error cleanup due to missing headers 2012-04-23 12:56:41 -05:00
vm_entry.S Hexagon: Add hypervisor interface 2011-11-01 07:34:19 -07:00
vm_events.c Disintegrate asm/system.h for Hexagon 2012-03-28 18:30:02 +01:00
vm_init_segtable.S Hexagon: Add hypervisor interface 2011-11-01 07:34:19 -07:00
vm_ops.S Hexagon: Add hypervisor interface 2011-11-01 07:34:19 -07:00
vm_switch.S Hexagon: Add hypervisor interface 2011-11-01 07:34:19 -07:00
vm_vectors.S Hexagon: Add hypervisor interface 2011-11-01 07:34:19 -07:00
vmlinux.lds.S Hexagon: Add configuration and makefiles for the Hexagon architecture. 2011-11-01 07:34:21 -07:00