Add file creation/unlinking utils to directory handle
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 9 May 2019 18:10:58 +0000 (14:10 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 18 Jul 2019 19:58:25 +0000 (15:58 -0400)
commit2912cead42803e75e41157418d264d7b5ff6c69f
tree3bb0ded3a8e7bf937c24177f499be1114d1c95ac
parent658f12fa973b58f324b6f018672cc03222cfc7b4
Add file creation/unlinking utils to directory handle

This commit adds file creation and unlinking functions to the
directory handle interface and corresponding run_as wrappers.

This allows the creation and unlinking of files relative to
an existing directory handle using either openat/unlinkat when
directory file descriptors are supported or open/unlink when
they are not.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/common/compat/directory-handle.c
src/common/compat/directory-handle.h
src/common/runas.c
src/common/runas.h
This page took 0.02553 seconds and 4 git commands to generate.