alistair23-linux/arch/sh/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
..
cpu sh: Fix up TIF_NOTIFY_RESUME sans TIF_SIGPENDING handling. 2012-09-18 17:04:37 +09:00
vsyscall sh: vsyscall: Fix up .eh_frame generation. 2012-03-30 19:42:26 +09:00
.gitignore
asm-offsets.c
cpufreq.c
crash_dump.c
debugtraps.S
disassemble.c
dma-nommu.c
dumpstack.c sh64: Convert to unwinder API. 2012-05-24 15:03:46 +09:00
dwarf.c
entry-common.S sh: Fix up TIF_NOTIFY_RESUME sans TIF_SIGPENDING handling. 2012-09-18 17:04:37 +09:00
ftrace.c
head_32.S
head_64.S
hw_breakpoint.c
idle.c sh: Remove cpu_idle_wait() 2012-05-08 12:35:07 +02:00
io.c
io_trapped.c
iomap.c
ioport.c sections: fix section conflicts in arch/sh 2012-10-06 03:04:40 +09:00
irq.c sh: Kill off now unused arch_probe_nr_irqs(). 2012-05-24 13:59:35 +09:00
irq_32.c
irq_64.c
kdebugfs.c
kgdb.c sh: kgdb: Fix up NULL pointer deref by kgdb_nmicallback. 2012-04-10 14:22:39 +09:00
kprobes.c
localtimer.c
machine_kexec.c
machvec.c sh: Kill off machvec IRQ hinting. 2012-05-21 17:54:01 +09:00
Makefile sh: Use generic init_task 2012-05-05 13:00:25 +02:00
module.c
nmi_debug.c
perf_callchain.c
perf_event.c
process.c sh: arch/sh/kernel/process.c needs asm/fpu.h for unlazy_fpu(). 2012-05-24 13:03:20 +09:00
process_32.c vfs: define struct filename and have getname() return it 2012-10-12 20:14:55 -04:00
process_64.c vfs: define struct filename and have getname() return it 2012-10-12 20:14:55 -04:00
ptrace.c
ptrace_32.c seccomp: ignore secure_computing return values 2012-04-18 12:24:50 +10:00
ptrace_64.c seccomp: ignore secure_computing return values 2012-04-18 12:24:50 +10:00
reboot.c
relocate_kernel.S
return_address.c
setup.c mtd/uclinux: Use generic __bss_stop instead of _ebss 2012-06-27 09:59:43 +02:00
sh_bios.c
sh_ksyms_32.c mtd/uclinux: Use generic __bss_stop instead of _ebss 2012-06-27 09:59:43 +02:00
sh_ksyms_64.c sh: use the new generic strnlen_user() function 2012-06-13 10:28:37 +09:00
signal_32.c Uninclude linux/freezer.h 2012-10-01 09:58:18 -04:00
signal_64.c Uninclude linux/freezer.h 2012-10-01 09:58:18 -04:00
smp.c sh: use clear_tasks_mm_cpumask() 2012-05-31 17:49:30 -07:00
stacktrace.c
swsusp.c
sys_sh.c
sys_sh32.c
sys_sh64.c
syscalls_32.S
syscalls_64.S
time.c
topology.c
traps.c sh: Consolidate die definitions for trap handlers. 2012-06-14 14:18:51 +09:00
traps_32.c sh: Consolidate die definitions for trap handlers. 2012-06-14 14:18:51 +09:00
traps_64.c sh64: Attempt to make reserved insn trap handler resemble C. 2012-06-14 14:46:36 +09:00
unwinder.c
vmlinux.lds.S mtd/uclinux: Use generic __bss_stop instead of _ebss 2012-06-27 09:59:43 +02:00