android_kernel_google_msm/arch/blackfin
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 Kbuild: centralize MKIMAGE and cmd_uimage definitions 2012-03-26 15:49:20 +02:00
configs blackfin: update defconfig for bf527-ezkit 2012-04-06 10:25:03 +08:00
include blackfin: gpio: fix compile error if !CONFIG_GPIOLIB 2012-04-06 10:25:03 +08:00
kernel vfs: define struct filename and have getname() return it 2018-12-07 22:28:48 +04:00
lib blackfin: clean up string bfin_dma_5xx after rename. 2012-03-21 11:00:10 +08:00
mach-bf518 arch/blackfin: don't generate random mac in bfin_get_ether_addr() 2012-03-21 11:00:08 +08:00
mach-bf527 arch/blackfin: don't generate random mac in bfin_get_ether_addr() 2012-03-21 11:00:08 +08:00
mach-bf533 blackfin: i2c-lcd: change default clock rate 2012-01-09 10:26:16 +08:00
mach-bf537 Blackfin: pnav: delete duplicate linux/export.h include 2012-03-21 11:00:09 +08:00
mach-bf538 blackfin: fix ifdef fustercluck in mach-bf538/boards/ezkit.c 2012-04-26 14:46:51 -04:00
mach-bf548 bf548: ssm2602: Add ssm2602 platform data into bf548 ezkit board file. 2012-03-21 11:00:10 +08:00
mach-bf561 bf561: add ppi DLEN macro for 10bits to 16bits 2012-03-21 11:00:09 +08:00
mach-common smp: Add task_struct argument to __cpu_up() 2016-10-29 23:12:38 +08:00
mm blackfin: Add export.h to files using EXPORT_SYMBOL/THIS_MODULE 2011-10-31 19:31:01 -04:00
oprofile
ADI_BSD.txt
Kconfig blackfin: fix L1 data A overflow link issue 2012-04-06 10:25:02 +08:00
Kconfig.debug
Makefile