X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fshared%2Futil.h;h=29e85bb7e14fb7a2dcb56d520b2173fedcd8764a;hb=093c2cfe3b1ae6081f12927ae7906d90d6623534;hp=d229e1e68c95ac447462255fdf7907900f8b9482;hpb=a88c8750b3f0618036782b31a184c27c80bcb38d;p=elogind.git diff --git a/src/shared/util.h b/src/shared/util.h index d229e1e68..29e85bb7e 100644 --- a/src/shared/util.h +++ b/src/shared/util.h @@ -1053,6 +1053,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 change_attr_fd(int fd, unsigned value, unsigned mask); int read_attr_fd(int fd, unsigned *ret); int read_attr_path(const char *p, unsigned *ret);