android_kernel_google_msm/arch/sh/kernel
Jeff Layton 3df0a6646d 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.

Change-Id: Ib690c3dd4d56624f0ddb081e1c1d4f23c2dd0cd1
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2018-12-07 22:28:48 +04:00
..
cpu SuperH updates for 3.4-rc1 2012-04-07 09:52:46 -07:00
vsyscall sh: vsyscall: Fix up .eh_frame generation. 2012-03-30 19:42:26 +09:00
.gitignore
asm-offsets.c
cpufreq.c sh: cpufreq: Wire up scaling_available_freqs support. 2012-01-27 20:45:24 +09:00
crash_dump.c
debugtraps.S
disassemble.c
dma-nommu.c SH: adapt for dma_map_ops changes 2012-03-28 16:36:37 +02:00
dumpstack.c sh: fix format string bug in stack tracer 2014-05-06 07:51:45 -07:00
dwarf.c
entry-common.S
ftrace.c
head_32.S
head_64.S
hw_breakpoint.c Disintegrate asm/system.h for SH 2012-03-28 18:30:03 +01:00
idle.c sh: fix up fallout from system.h disintegration. 2012-03-30 19:29:57 +09:00
init_task.c
io.c
io_trapped.c Disintegrate asm/system.h for SH 2012-03-28 18:30:03 +01:00
iomap.c
ioport.c
irq.c
irq_32.c
irq_64.c
kdebugfs.c
kgdb.c sh: fix up fallout from system.h disintegration. 2012-03-30 19:29:57 +09:00
kprobes.c
localtimer.c
machine_kexec.c
machvec.c
Makefile
module.c
nmi_debug.c
perf_callchain.c
perf_event.c perf: Disable PERF_SAMPLE_BRANCH_* when not supported 2012-03-05 14:55:42 +01:00
process.c
process_32.c vfs: define struct filename and have getname() return it 2018-12-07 22:28:48 +04:00
process_64.c vfs: define struct filename and have getname() return it 2018-12-07 22:28:48 +04:00
ptrace.c
ptrace_32.c seccomp: ignore secure_computing return values 2014-10-31 19:46:19 -07:00
ptrace_64.c seccomp: ignore secure_computing return values 2014-10-31 19:46:19 -07:00
reboot.c Disintegrate asm/system.h for SH 2012-03-28 18:30:03 +01:00
relocate_kernel.S
return_address.c
setup.c
sh_bios.c
sh_ksyms_32.c
sh_ksyms_64.c
signal_32.c SuperH updates for 3.4 merge window 2012-03-30 00:09:17 -07:00
signal_64.c sh: use set_current_blocked() and block_sigmask() 2012-03-29 09:11:26 +09:00
smp.c smp: Add task_struct argument to __cpu_up() 2016-10-29 23:12:38 +08:00
stacktrace.c
swsusp.c
sys_sh.c
sys_sh32.c
sys_sh64.c
syscalls_32.S sh: Avoid exporting unimplemented syscalls. 2012-03-28 16:20:20 +09:00
syscalls_64.S sh: Avoid exporting unimplemented syscalls. 2012-03-28 16:20:20 +09:00
time.c
topology.c arch/sh: remove references to cpu_*_map. 2012-02-24 13:21:45 +09:00
traps.c Disintegrate asm/system.h for SH 2012-03-28 18:30:03 +01:00
traps_32.c Disintegrate asm/system.h for SH 2012-03-28 18:30:03 +01:00
traps_64.c Disintegrate asm/system.h for SH 2012-03-28 18:30:03 +01:00
unwinder.c
vmlinux.lds.S