linux/arch/microblaze/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 Disintegrate and delete asm/system.h 2012-03-28 15:58:21 -07:00
Makefile microblaze: Use generic init_task 2012-05-05 13:00:24 +02:00
asm-offsets.c microblaze: Remove "cache" optimized copy_page function 2010-05-06 11:21:58 +02:00
dma.c Microblaze: adapt for dma_map_ops changes 2012-03-28 16:36:38 +02:00
early_printk.c microblaze: Do not use tlb_skip in early_printk 2012-04-02 13:00:22 +02:00
entry-nommu.S microblaze: drop 'oldset' argument of do_notify_resume() 2012-05-21 23:59:48 -04:00
entry.S Merge branch 'next' of git://git.monstr.eu/linux-2.6-microblaze 2012-05-28 09:49:56 -07:00
exceptions.c microblaze: Raise SIGFPE/FPE_INTDIV for div by zero 2011-10-14 12:24:31 +02:00
ftrace.c microblaze: Fix ftrace 2011-04-01 09:34:51 +02:00
head.S microblaze: Fix bug with passing command line 2012-10-04 14:59:19 +02:00
heartbeat.c microblaze: Add support for little-endian Microblaze 2010-10-21 15:51:59 +10:00
hw_exception_handler.S microblaze: Remove additional andi which has been already done 2012-10-04 14:52:54 +02:00
intc.c Merge branch 'next' of git://git.monstr.eu/linux-2.6-microblaze 2012-03-27 18:20:56 -07:00
irq.c irq_domain/microblaze: Convert microblaze to use irq_domains 2012-02-16 06:11:24 -07:00
kgdb.c microblaze: KGDB little endian support 2010-10-21 15:51:58 +10:00
mcount.S microblaze: ftrace: Pass the first calling instruction for dynamic ftrace 2012-05-25 06:34:35 +02:00
microblaze_ksyms.c mtd/uclinux: Use generic __bss_stop instead of _ebss 2012-06-27 09:59:43 +02:00
misc.S microblaze: Handle TLB skip size dynamically 2012-03-23 09:28:19 +01:00
module.c microblaze: Fix debug message in module 2012-01-05 08:34:27 +01:00
process.c microblaze: Setup correct pointer to TLS area 2012-05-25 06:41:18 +02:00
prom.c Disintegrate asm/system.h for Microblaze 2012-03-28 18:30:02 +01:00
prom_parse.c of/pci: move of_irq_map_pci() into generic code 2011-02-04 11:46:50 -07:00
ptrace.c seccomp: ignore secure_computing return values 2012-04-18 12:24:50 +10:00
reset.c microblaze: Prefer to use pr_XXX instead of printk(KERN_XX) 2012-10-04 15:00:32 +02:00
selfmod.c microblaze_v8: Selfmodified code 2009-03-27 14:25:15 +01:00
setup.c microblaze: Prefer to use pr_XXX instead of printk(KERN_XX) 2012-10-04 15:00:32 +02:00
signal.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/signal 2012-10-12 10:49:08 +09:00
stacktrace.c microblaze: Add stack unwinder 2010-08-04 10:22:35 +02:00
sys_microblaze.c vfs: define struct filename and have getname() return it 2012-10-12 20:14:55 -04:00
syscall_table.S microblaze: Wire-up new system calls 2012-01-05 11:16:51 +01:00
timer.c microblaze: Prefer to use pr_XXX instead of printk(KERN_XX) 2012-10-04 15:00:32 +02:00
traps.c Disintegrate asm/system.h for Microblaze 2012-03-28 18:30:02 +01:00
unwind.c microblaze: Add missing headers caused by disintegration asm/system.h 2012-03-30 12:11:46 +02:00
vmlinux.lds.S mtd/uclinux: Use generic __bss_stop instead of _ebss 2012-06-27 09:59:43 +02:00