diff options
Diffstat (limited to 'src/shared/util.h')
-rw-r--r-- | src/shared/util.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/shared/util.h b/src/shared/util.h index e58a17a825..5d9637efc0 100644 --- a/src/shared/util.h +++ b/src/shared/util.h @@ -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 }) |