android_kernel_google_msm/arch/avr32
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 avr32: fix missing module.h causing build failure in mimc200/fram.c 2014-03-11 16:09:57 -07:00
boot avr32: fix out-of-range jump in large kernels 2013-12-04 10:50:32 -08:00
configs mmc: at91/avr32/atmel-mci: fix DMA-channel leak on module unload 2013-05-07 19:51:57 -07:00
include/asm signal: Define __ARCH_HAS_SA_RESTORER so we know whether to clear sa_restorer 2013-04-05 10:04:14 -07:00
kernel vfs: define struct filename and have getname() return it 2018-12-07 22:28:48 +04:00
lib
mach-at32ap avr32: fix build failures from mis-naming of atmel_nand.h 2012-04-02 14:41:25 -07:00
mm vm: add VM_FAULT_SIGSEGV handling support 2015-04-14 17:33:57 +08:00
oprofile Disintegrate asm/system.h for AVR32 2012-03-28 18:30:01 +01:00
Kconfig avr32: select generic atomic64_t support 2012-02-03 16:16:40 -08:00
Kconfig.debug
Makefile avr32: Makefile: add '-D__linux__' flag for gcc-4.4.7 use 2014-03-11 16:09:57 -07:00