android_kernel_google_msm/arch/microblaze/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 Disintegrate and delete asm/system.h 2012-03-28 15:58:21 -07:00
asm-offsets.c
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
entry.S microblaze: Trivial asm fix 2012-01-05 08:34:28 +01: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: Handle TLB skip size dynamically 2012-03-23 09:28:19 +01:00
heartbeat.c
hw_exception_handler.S microblaze: Handle TLB skip size dynamically 2012-03-23 09:28:19 +01:00
init_task.c
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
Makefile microblaze: Fix ftrace 2011-04-01 09:34:51 +02:00
mcount.S
microblaze_ksyms.c Disintegrate asm/system.h for Microblaze 2012-03-28 18:30:02 +01: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 Disintegrate asm/system.h for Microblaze 2012-03-28 18:30:02 +01:00
prom.c Disintegrate asm/system.h for Microblaze 2012-03-28 18:30:02 +01:00
prom_parse.c
ptrace.c seccomp: ignore secure_computing return values 2014-10-31 19:46:19 -07:00
reset.c gpio/microblaze: Eliminate duplication of of_get_named_gpio_flags() 2011-12-12 13:40:16 -07:00
selfmod.c
setup.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6 into next 2012-03-30 12:10:03 +02:00
signal.c microblaze: Fix sparse warnings - signal.c 2011-03-09 08:09:59 +01:00
stacktrace.c
sys_microblaze.c vfs: define struct filename and have getname() return it 2018-12-07 22:28:48 +04:00
syscall_table.S microblaze: Wire-up new system calls 2012-01-05 11:16:51 +01:00
timer.c Disintegrate and delete asm/system.h 2012-03-28 15:58:21 -07: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 microblaze: Extend space for compiled-in FDT to 32kB 2012-03-23 09:28:17 +01:00