android_kernel_google_msm/arch/mips
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
..
alchemy
ar7
ath79
bcm47xx
bcm63xx
boot
cavium-octeon
cobalt
configs netfilter: remove xt_NOTRACK 2018-12-07 22:04:24 +04:00
dec
emma
fw
include/asm MIPS: atomic: Fix comment describing atomic64_add_unless's return value. 2016-10-26 23:15:23 +08:00
jazz
jz4740
kernel vfs: define struct filename and have getname() return it 2018-12-07 22:28:48 +04:00
lantiq
lasat
lib
loongson MIPS: Loongson: Make platform serial setup always built-in. 2015-04-14 17:33:38 +08:00
math-emu
mipssim
mm BACKPORT: FROMLIST: mm: ASLR: use get_random_long() 2017-12-27 22:50:17 +03:00
mti-malta
netlogic
oprofile MIPS: oprofile: Fix backtrace on 64-bit kernel 2015-02-02 17:05:22 +08:00
pci
pmc-sierra
pnx833x
pnx8550
power MIPS: Hibernate: flush TLB entries earlier 2015-09-18 09:20:28 +08:00
powertv
rb532
sgi-ip22
sgi-ip27
sgi-ip32
sibyte
sni
txx9
vr41xx
wrppmc
Kbuild
Kbuild.platforms
Kconfig
Kconfig.debug
Makefile