summaryrefslogtreecommitdiffstats
path: root/src/shared/chown-recursive.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2019-04-16 18:44:28 +0200
committerLennart Poettering <lennart@poettering.net>2019-12-17 20:03:40 +0100
commite10720818ec36021bc82767d68ec84377ed23221 (patch)
tree1d43dd19bead582fc6979a917f5a0e36ec7b91c0 /src/shared/chown-recursive.h
parentchown-recursive: move src/core/chown-recursive.[ch] → src/shared/ (diff)
downloadsystemd-e10720818ec36021bc82767d68ec84377ed23221.tar.xz
systemd-e10720818ec36021bc82767d68ec84377ed23221.zip
chown-recursive: add fd based API
Diffstat (limited to '')
-rw-r--r--src/shared/chown-recursive.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/shared/chown-recursive.h b/src/shared/chown-recursive.h
index bfee05f3be..14a79733f5 100644
--- a/src/shared/chown-recursive.h
+++ b/src/shared/chown-recursive.h
@@ -4,3 +4,5 @@
#include <sys/types.h>
int path_chown_recursive(const char *path, uid_t uid, gid_t gid, mode_t mask);
+
+int fd_chown_recursive(int fd, uid_t uid, gid_t gid, mode_t mask);