linux_dsm_epyc7002/arch/unicore32/kernel
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
..
asm-offsets.c
clock.c
cpu-ucv2.c
debug-macro.S
debug.S
dma.c Disintegrate asm/system.h for Unicore32 [based on ver , changed by gxt] 2012-03-28 18:30:03 +01:00
early_printk.c
elf.c
entry.S unicore32: remove pointless test 2012-10-01 09:58:15 -04:00
fpu-ucf64.c
gpio.c
head.S Disintegrate asm/system.h for Unicore32 [based on ver , changed by gxt] 2012-03-28 18:30:03 +01:00
hibernate_asm.S
hibernate.c Disintegrate asm/system.h for Unicore32 [based on ver , changed by gxt] 2012-03-28 18:30:03 +01:00
irq.c Disintegrate asm/system.h for Unicore32 [based on ver , changed by gxt] 2012-03-28 18:30:03 +01:00
ksyms.c Disintegrate asm/system.h for Unicore32 [based on ver , changed by gxt] 2012-03-28 18:30:03 +01:00
ksyms.h
Makefile pwm: Move PUV3 PWM driver to PWM framework 2012-10-05 20:56:41 +02:00
module.c
pci.c PCI: Provide a default pcibios_update_irq() 2012-09-18 17:28:21 -06:00
pm.c
process.c mm: kill vma flag VM_RESERVED and mm->reserved_vm counter 2012-10-09 16:22:19 +09:00
ptrace.c
puv3-core.c driver-core: remove sysdev.h usage. 2011-12-21 16:26:03 -08:00
puv3-nb0916.c unicore32: Remove IRQF_DISABLED 2012-01-10 10:29:41 +08:00
setup.c unicore32: standardize /proc/iomem "Kernel code" name 2012-01-10 10:29:40 +08:00
setup.h Disintegrate asm/system.h for Unicore32 [based on ver , changed by gxt] 2012-03-28 18:30:03 +01:00
signal.c Uninclude linux/freezer.h 2012-10-01 09:58:18 -04:00
sleep.S
stacktrace.c
sys.c vfs: define struct filename and have getname() return it 2012-10-12 20:14:55 -04:00
time.c unicore32: Remove IRQF_DISABLED 2012-01-10 10:29:41 +08:00
traps.c Disintegrate asm/system.h for Unicore32 [based on ver , changed by gxt] 2012-03-28 18:30:03 +01:00
vmlinux.lds.S