android_kernel_google_msm/arch/sh
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
..
boards sh: fix up fallout from system.h disintegration. 2012-03-30 19:29:57 +09:00
boot Kbuild: centralize MKIMAGE and cmd_uimage definitions 2012-03-26 15:49:20 +02:00
cchips sh: Convert to new function names 2011-03-29 14:48:13 +02:00
configs sh: fix compile error using sh7757lcr_defconfig 2011-06-21 17:40:42 +09:00
drivers sh: dma: Fix up device attribute mismatch from sysdev fallout. 2012-03-30 19:36:03 +09:00
include sh: Fix FDPIC binary loader 2013-01-21 11:45:14 -08:00
kernel vfs: define struct filename and have getname() return it 2018-12-07 22:28:48 +04:00
lib sh: always link in helper functions extracted from libgcc 2014-01-08 09:42:12 -08:00
lib64 Fix common misspellings 2011-03-31 11:26:23 -03:00
math-emu Disintegrate asm/system.h for SH 2012-03-28 18:30:03 +01:00
mm Merge remote-tracking branch 'stable/linux-3.4.y' into lineage-15.1 2017-12-27 17:13:15 +03:00
oprofile oprofile, arm/sh: Fix oprofile_arch_exit() linkage issue 2011-12-23 11:58:34 +01:00
tools sh: Add support for AP-SH4AD-0A board. 2011-01-13 18:36:21 +09:00
Kconfig SuperH updates for 3.4 merge window 2012-03-30 00:09:17 -07:00
Kconfig.cpu
Kconfig.debug sh: dwarf unwinder depends on SHcompact. 2012-03-30 19:31:22 +09:00
Makefile sh: Add default uImage rule for sh7757lcr 2011-11-01 16:01:12 +09:00