android_kernel_google_msm/ipc
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
..
Makefile
compat.c
compat_mq.c
ipc_sysctl.c
ipcns_notifier.c
mq_sysctl.c
mqueue.c vfs: define struct filename and have getname() return it 2018-12-07 22:28:48 +04:00
msg.c Initialize msg/shm IPC objects before doing ipc_addid() 2016-03-21 09:17:56 +08:00
msgutil.c Merge remote-tracking branch 'stable/linux-3.4.y' into lineage-15.1 2017-12-27 17:13:15 +03:00
namespace.c proc: Usable inode numbers for the namespace file descriptors. 2015-07-13 11:18:01 -07:00
sem.c ipc,sem: fix use after free on IPC_RMID after a task using same semaphore set exits 2016-03-21 09:17:52 +08:00
shm.c Merge remote-tracking branch 'stable/linux-3.4.y' into lineage-15.1 2017-12-27 17:13:15 +03:00
syscall.c
util.c Initialize msg/shm IPC objects before doing ipc_addid() 2016-03-21 09:17:56 +08:00
util.h ipc, msg: fix message length check for negative values 2014-04-14 06:44:16 -07:00