]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/shared/util.h
machined: use the FS_IMMUTABLE_FL file flag, if available, to implement a "read-only...
[thirdparty/systemd.git] / src / shared / util.h
index e58a17a825b4db2a93b9e1f4d1711ad8dcb0e192..5d9637efc0a3604fd2d9e38594c239e3a5c440b2 100644 (file)
@@ -1077,4 +1077,7 @@ int same_fd(int a, int b);
 int chattr_fd(int fd, bool b, unsigned mask);
 int chattr_path(const char *p, bool b, unsigned mask);
 
+int read_attr_fd(int fd, unsigned *ret);
+int read_attr_path(const char *p, unsigned *ret);
+
 #define RLIMIT_MAKE_CONST(lim) ((struct rlimit) { lim, lim })