android_kernel_google_msm/arch/alpha
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
..
boot Disintegrate asm/system.h for Alpha 2012-03-28 18:11:12 +01:00
include/asm alpha: add io{read,write}{16,32}be functions 2014-09-25 11:49:19 +08:00
kernel vfs: define struct filename and have getname() return it 2018-12-07 22:28:48 +04:00
lib Disintegrate asm/system.h for Alpha 2012-03-28 18:11:12 +01:00
math-emu alpha: change to new Makefile flag variables 2011-01-17 05:42:13 +01:00
mm vm: add VM_FAULT_SIGSEGV handling support 2015-04-14 17:33:57 +08:00
oprofile alpha: Fix fall-out from disintegrating asm/system.h 2014-09-25 11:49:18 +08:00
defconfig
Kconfig alpha: VGA_HOSE depends on VGA_CONSOLE 2012-05-02 15:54:05 -04:00
Kconfig.debug
Makefile alpha: makefile: don't enforce small data model for kernel builds 2013-08-20 08:26:28 -07:00