dect
/
linux-2.6
Archived
13
0
Fork 0
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
linux-2.6/arch/arm64/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
..
vdso arm64: VDSO support 2012-09-17 13:42:09 +01:00
.gitignore arm64: Build infrastructure 2012-09-17 13:42:21 +01:00
Makefile arm64: Build infrastructure 2012-09-17 13:42:21 +01:00
arm64ksyms.c arm64: Miscellaneous library functions 2012-09-17 13:42:18 +01:00
asm-offsets.c
cputable.c arm64: CPU support 2012-09-17 13:41:59 +01:00
debug-monitors.c arm64: Debugging support 2012-09-17 13:42:14 +01:00
entry-fpsimd.S arm64: Floating point and SIMD 2012-09-17 13:42:13 +01:00
entry.S arm64: Enable interrupts before calling do_notify_resume() 2012-10-08 18:04:21 +01:00
fpsimd.c arm64: Floating point and SIMD 2012-09-17 13:42:13 +01:00
head.S arm64: Kernel booting and initialisation 2012-09-17 10:24:45 +01:00
hw_breakpoint.c arm64: Debugging support 2012-09-17 13:42:14 +01:00
io.c arm64: Device specific operations 2012-09-17 13:42:04 +01:00
irq.c arm64: IRQ handling 2012-09-17 13:42:02 +01:00
kuser32.S arm64: 32-bit (compat) applications support 2012-09-17 13:42:12 +01:00
module.c arm64: Loadable modules 2012-09-17 13:42:19 +01:00
perf_event.c arm64: Performance counters support 2012-09-17 13:42:17 +01:00
process.c arm64: Process management 2012-09-17 13:41:58 +01:00
ptrace.c arm64: ptrace: remove obsolete ptrace request numbers from user headers 2012-09-27 11:46:22 +01:00
setup.c arm64: Kernel booting and initialisation 2012-09-17 10:24:45 +01:00
signal.c arm64: Signal handling support 2012-09-17 13:42:10 +01:00
signal32.c compat: move compat_siginfo_t definition to asm/compat.h 2012-10-06 03:05:16 +09:00
smp.c arm64: SMP support 2012-09-17 13:42:06 +01:00
stacktrace.c arm64: Exception handling 2012-09-17 10:24:46 +01:00
sys.c vfs: define struct filename and have getname() return it 2012-10-12 20:14:55 -04:00
sys32.S arm64: 32-bit (compat) applications support 2012-09-17 13:42:12 +01:00
sys_compat.c vfs: define struct filename and have getname() return it 2012-10-12 20:14:55 -04:00
time.c arm64: Generic timers support 2012-09-17 13:42:20 +01:00
traps.c arm64: Exception handling 2012-09-17 10:24:46 +01:00
vdso.c arm64: VDSO support 2012-09-17 13:42:09 +01:00
vmlinux.lds.S arm64: Build infrastructure 2012-09-17 13:42:21 +01:00