linux/arch/mips/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
..
cpufreq MIPS: Loongson 2: Sort out clock managment. 2012-08-01 18:10:06 +02:00
.gitignore
8250-platform.c
asm-offsets.c
binfmt_elfn32.c
binfmt_elfo32.c
bmips_vec.S
branch.c
cevt-bcm1480.c
cevt-ds1287.c
cevt-gt641xx.c
cevt-r4k.c MIPS: Add EIC support for GIC. 2012-09-13 15:43:49 -05:00
cevt-sb1250.c
cevt-smtc.c
cevt-txx9.c
cpu-bugs64.c
cpu-probe.c Merge branch 'ralf-3.7' of git://git.linux-mips.org/pub/scm/sjhill/linux-sjhill into mips-for-linux-next 2012-09-28 16:29:55 +02:00
csrc-bcm1480.c
csrc-ioasic.c
csrc-powertv.c
csrc-r4k.c
csrc-sb1250.c
early_printk.c
entry.S MIPS: Merge the identical "return from syscall" per-ABI code 2012-09-22 15:47:31 +02:00
ftrace.c
genex.S
gpio_txx9.c
head.S
i8253.c
i8259.c
irq-gic.c MIPS: Make VPE count to be one-based. 2012-09-13 15:43:51 -05:00
irq-gt641xx.c
irq-msc01.c
irq-rm7000.c
irq-rm9000.c
irq.c
irq_cpu.c
irq_txx9.c
jump_label.c
kgdb.c
kprobes.c
kspd.c posix_types.h: Cleanup stale __NFDBITS and related definitions 2012-07-26 13:36:43 -07:00
linux32.c vfs: define struct filename and have getname() return it 2012-10-12 20:14:55 -04:00
machine_kexec.c
Makefile Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus 2012-10-09 16:08:04 +09:00
mcount.S
mips-mt-fpaff.c
mips-mt.c Merge branch 'master' into for-next 2012-04-08 21:48:52 +02:00
mips_ksyms.c MIPS: Refactor 'clear_page' and 'copy_page' functions. 2012-07-19 11:23:43 +02:00
mips_machine.c
module.c MIPS: Module: Deal with malformed HI16/LO16 relocation sequences. 2012-08-17 10:57:28 +02:00
octeon_switch.S MIPS: Fix race condition with FPU thread task flag during context switch. 2012-07-19 11:23:43 +02:00
perf_event.c
perf_event_mipsxx.c MIPS: Add CPU support for Loongson1B 2012-07-23 13:57:04 +01:00
proc.c MIPS: Code formatting fixes. 2012-05-15 17:48:39 +02:00
process.c
prom.c MIPS: Prune some target specific code out of prom.c 2012-07-23 13:54:52 +01:00
ptrace.c seccomp: ignore secure_computing return values 2012-04-18 12:24:50 +10:00
ptrace32.c
r4k_fpu.S
r4k_switch.S MIPS: Fix race condition with FPU thread task flag during context switch. 2012-07-19 11:23:43 +02:00
r2300_fpu.S
r2300_switch.S MIPS: Fix race condition with FPU thread task flag during context switch. 2012-07-19 11:23:43 +02:00
r6000_fpu.S
relocate_kernel.S
reset.c
rtlx.c
scall32-o32.S MIPS: Wire kcmp syscall. 2012-09-26 11:24:28 +02:00
scall64-64.S MIPS: Wire kcmp syscall. 2012-09-26 11:24:28 +02:00
scall64-n32.S MIPS: Wire kcmp syscall. 2012-09-26 11:24:28 +02:00
scall64-o32.S MIPS: Wire kcmp syscall. 2012-09-26 11:24:28 +02:00
setup.c MIPS: Move cache setup to setup_arch(). 2012-05-16 23:34:34 +02:00
signal-common.h most of set_current_blocked() callers want SIGKILL/SIGSTOP removed from set 2012-06-01 12:58:51 -04:00
signal.c MIPS: Prevent hitting do_notify_resume() with !user_mode(regs). 2012-09-22 15:47:11 +02:00
signal32.c most of set_current_blocked() callers want SIGKILL/SIGSTOP removed from set 2012-06-01 12:58:51 -04:00
signal_n32.c most of set_current_blocked() callers want SIGKILL/SIGSTOP removed from set 2012-06-01 12:58:51 -04:00
smp-bmips.c MIPS: BMIPS: delay irq enable to ->smp_finish() 2012-07-19 11:23:44 +02:00
smp-cmp.c MIPS: CMP/SMTC: Fix tc_id calculation 2012-08-27 16:10:13 +02:00
smp-mt.c MIPS: Fix build error for non-malta VSMP kernel 2012-08-22 23:46:38 +02:00
smp-up.c
smp.c MIPS: Synchronize MIPS count one CPU at a time 2012-08-17 10:57:28 +02:00
smtc-asm.S
smtc-proc.c
smtc.c MIPS: SMTC: Support for Multi-threaded FPUs 2012-07-23 13:55:53 +01:00
spinlock_test.c
spram.c
stacktrace.c
sync-r4k.c MIPS: Synchronize MIPS count one CPU at a time 2012-08-17 10:57:28 +02:00
syscall.c vfs: define struct filename and have getname() return it 2012-10-12 20:14:55 -04:00
time.c
topology.c
traps.c MIPS: Add CPU support for Loongson1B 2012-07-23 13:57:04 +01:00
unaligned.c
vdso.c
vmlinux.lds.S MIPS: Properly align the .data..init_task section. 2012-07-19 11:23:43 +02:00
vpe.c
watch.c