linux/arch/blackfin
Jeff Layton 91a27b2a75 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.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2012-10-12 20:14:55 -04:00
..
boot Kbuild: centralize MKIMAGE and cmd_uimage definitions 2012-03-26 15:49:20 +02:00
configs UAPI Disintegration 2012-10-09 2012-10-09 15:04:25 +01:00
include Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/signal 2012-10-12 10:49:08 +09:00
kernel vfs: define struct filename and have getname() return it 2012-10-12 20:14:55 -04:00
lib blackfin: license: Change ADI BSD license 2012-05-21 14:54:30 +08:00
mach-bf518 blackfin: twi: Move TWI peripheral pin request array to platform data 2012-05-21 14:55:00 +08:00
mach-bf527 blackfin: add platform device for ad1836 machine driver 2012-08-17 23:25:18 +01:00
mach-bf533 blackfin: add platform device for ad1836 machine driver 2012-08-17 23:25:18 +01:00
mach-bf537 Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/lliubbo/blackfin 2012-10-09 16:10:14 +09:00
mach-bf538 blackfin: twi: Move TWI peripheral pin request array to platform data 2012-05-21 14:55:00 +08:00
mach-bf548 bf60x: sec: Clean up interrupt initialization code for SEC. 2012-07-24 13:39:51 +08:00
mach-bf561 blackfin: add platform device for ad1836 machine driver 2012-08-17 23:25:18 +01:00
mach-bf609 Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/lliubbo/blackfin 2012-10-09 16:10:14 +09:00
mach-common Blackfin: smp: add smp_mb() to keep coherency 2012-10-08 14:36:30 +08:00
mm blackfin: bf60x: add l2 ecc irq handler 2012-05-21 14:54:23 +08:00
oprofile
Clear_BSD.txt blackfin: license: Change ADI BSD license 2012-05-21 14:54:30 +08:00
Kconfig Merge branch 'akpm' (Andrew's patch-bomb) 2012-10-09 16:23:15 +09:00
Kconfig.debug blackfin: bf60x: pm: Add a debug option to calculate kernel wakeup time. 2012-05-21 14:54:52 +08:00
Makefile kbuild: add symbol prefix arg to kallsyms 2012-09-11 10:25:12 +08:00