original_kernel/arch/blackfin/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
..
cplb-mpu
cplb-nompu blackfin: cplb-nompu: fix ROM cplb size for bf609-ezkit 2012-07-24 13:39:53 +08:00
.gitignore
Makefile pwm: Move Blackfin PWM driver to PWM framework 2012-07-02 21:38:59 +02:00
asm-offsets.c
bfin_dma.c bfin-dma: only use MDMA3 on bf609 2012-07-24 13:39:48 +08:00
bfin_gpio.c Blackfin: bfin_gpio: proc: fix return value 2012-10-08 14:36:29 +08:00
bfin_ksyms.c
cplbinfo.c
debug-mmrs.c
dma-mapping.c blackfin: Call sg_for_each to pass through the whole sg list. 2012-07-24 13:39:48 +08:00
dumpstack.c
early_printk.c
entry.S Blackfin: delete fork func 2012-05-21 14:54:39 +08:00
exception.c
fixed_code.S
flat.c
ftrace-entry.S
ftrace.c
gptimers.c blackfin: bf60x: fix compiling warning 2012-05-21 14:54:26 +08:00
ipipe.c
irqchip.c
kgdb.c
kgdb_test.c
module.c
nmi.c
perf_event.c
process.c vfs: define struct filename and have getname() return it 2012-10-12 20:14:55 -04:00
pseudodbg.c
ptrace.c
reboot.c Blackfin: fix wrong place disabled irq 2012-10-08 14:36:30 +08:00
setup.c mtd/uclinux: Use generic __bss_stop instead of _ebss 2012-06-27 09:59:43 +02:00
shadow_console.c
signal.c Uninclude linux/freezer.h 2012-10-01 09:58:18 -04:00
stacktrace.c
sys_bfin.c
time-ts.c blackfin: bf60x: enable gptimer clock source 2012-05-21 14:54:20 +08:00
time.c
trace.c blackfin: fix possible deadlock in decode_address() 2012-05-31 17:49:30 -07:00
traps.c
vmlinux.lds.S