android_kernel_asus_sm8350/arch/score/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
..
asm-offsets.c
entry.S score: fix off-by-one index into syscall table 2012-01-23 08:38:49 -08:00
head.S
irq.c score: Use generic show_interrupts() 2011-03-28 12:03:35 +08:00
Makefile score: Use generic init_task 2012-05-05 13:00:25 +02:00
module.c modules: make arch's use default loader hooks 2011-07-24 22:06:04 +09:30
process.c score: Add missing RCU idle APIs on idle loop 2012-09-23 07:44:50 -07:00
ptrace.c ptrace: cleanup arch_ptrace() on score 2010-10-27 18:03:12 -07:00
setup.c score: Use HAVE_MEMBLOCK_NODE_MAP 2011-12-08 10:22:09 -08:00
signal.c score: fix bogus restarts on sigreturn() 2012-10-01 09:58:10 -04:00
sys_call_table.c score: add generic sys_call_table 2009-06-19 14:10:33 +02:00
sys_score.c vfs: define struct filename and have getname() return it 2012-10-12 20:14:55 -04:00
time.c score: fix function prototypes 2009-06-27 15:14:58 +02:00
traps.c score: update files according to review comments 2009-06-19 11:40:13 +02:00
vmlinux.lds.S score: Cleanup linker script using new macros. 2009-09-23 13:41:15 +08:00