]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
New AT_... flag: AT_EMPTY_PATH
authorAl Viro <viro@zeniv.linux.org.uk>
Mon, 14 Mar 2011 22:56:51 +0000 (18:56 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 14 Mar 2011 23:12:20 +0000 (19:12 -0400)
commitf52e0c11305aa09ed56cad97ffc8f0cdc3d78b5d
treeb04070034f8a941fe5d7e9e1b335a02784686bd5
parent5fe0c2378884e68beb532f5890cc0e3539ac747b
New AT_... flag: AT_EMPTY_PATH

For name_to_handle_at(2) we'll want both ...at()-style syscall that
would be usable for non-directory descriptors (with empty relative
pathname).  Introduce new flag (AT_EMPTY_PATH) to deal with that and
corresponding LOOKUP_EMPTY; teach user_path_at() and path_init() to
deal with the latter.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/namei.c
include/linux/fcntl.h
include/linux/namei.h