summaryrefslogtreecommitdiffstats
path: root/src/basic/fs-util.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2024-10-21 16:37:28 +0200
committerGitHub <noreply@github.com>2024-10-21 16:37:28 +0200
commit9312b3dc28010fdc7a9086fe87cee9a71d13a6a6 (patch)
treedbffc312b4df15d755411d7c942dbea48bc06014 /src/basic/fs-util.h
parentMerge pull request #34787 from yuwata/core-ip-address-allow-deny (diff)
parenttty-askpw-agent: modernize wall_tty_match() a bit (diff)
downloadsystemd-9312b3dc28010fdc7a9086fe87cee9a71d13a6a6.tar.xz
systemd-9312b3dc28010fdc7a9086fe87cee9a71d13a6a6.zip
Merge pull request #34403 from poettering/askpw-per-user
modernize the ask-password logic, and add unpriv askpw agents to the concept
Diffstat (limited to 'src/basic/fs-util.h')
-rw-r--r--src/basic/fs-util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/basic/fs-util.h b/src/basic/fs-util.h
index 06c95a3b08..93af685eef 100644
--- a/src/basic/fs-util.h
+++ b/src/basic/fs-util.h
@@ -54,6 +54,8 @@ int stat_warn_permissions(const char *path, const struct stat *st);
#define access_nofollow(path, mode) \
RET_NERRNO(faccessat(AT_FDCWD, (path), (mode), AT_SYMLINK_NOFOLLOW))
+int touch_fd(int fd, usec_t stamp);
+
int touch_file(const char *path, bool parents, usec_t stamp, uid_t uid, gid_t gid, mode_t mode);
static inline int touch(const char *path) {