1
linux/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 blackfin: cplb-mpu: fix page mask table overflow 2012-03-21 11:00:06 +08:00
cplb-nompu blackfin: cplb-nompu: fix ROM cplb size for bf609-ezkit 2012-07-24 13:39:53 +08:00
.gitignore
asm-offsets.c Disintegrate asm/system.h for Blackfin [ver #2] 2012-03-21 11:00:08 +08:00
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 blackfin: add bf60x to current framework 2012-05-21 14:54:12 +08:00
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 atomic: use <linux/atomic.h> 2011-07-26 16:49:47 -07:00
gptimers.c blackfin: bf60x: fix compiling warning 2012-05-21 14:54:26 +08:00
ipipe.c Disintegrate asm/system.h for Blackfin [ver #2] 2012-03-21 11:00:08 +08:00
irqchip.c
kgdb_test.c Disintegrate asm/system.h for Blackfin [ver #2] 2012-03-21 11:00:08 +08:00
kgdb.c
Makefile pwm: Move Blackfin PWM driver to PWM framework 2012-07-02 21:38:59 +02:00
module.c modules: make arch's use default loader hooks 2011-07-24 22:06:04 +09:30
nmi.c atomic: use <linux/atomic.h> 2011-07-26 16:49:47 -07:00
perf_event.c blackfin: Add export.h to files using EXPORT_SYMBOL/THIS_MODULE 2011-10-31 19:31:01 -04:00
process.c vfs: define struct filename and have getname() return it 2012-10-12 20:14:55 -04:00
pseudodbg.c
ptrace.c Disintegrate asm/system.h for Blackfin [ver #2] 2012-03-21 11:00:08 +08:00
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 blackfin: add bf60x to current framework 2012-05-21 14:54:12 +08:00
signal.c Uninclude linux/freezer.h 2012-10-01 09:58:18 -04:00
stacktrace.c
sys_bfin.c blackfin: Add export.h to files using EXPORT_SYMBOL/THIS_MODULE 2011-10-31 19:31:01 -04:00
time-ts.c blackfin: bf60x: enable gptimer clock source 2012-05-21 14:54:20 +08:00
time.c Blackfin: irq: remove IRQF_DISABLED 2011-10-26 04:22:26 -04:00
trace.c blackfin: fix possible deadlock in decode_address() 2012-05-31 17:49:30 -07:00
traps.c Disintegrate asm/system.h for Blackfin [ver #2] 2012-03-21 11:00:08 +08:00
vmlinux.lds.S Blackfin: make sure percpu section is aligned in XIP builds 2011-07-23 01:18:22 -04:00