diff options
Diffstat (limited to 'misc.h')
-rw-r--r-- | misc.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -188,6 +188,8 @@ struct notifier_ctx *notify_start(int, const char *, ...) | |||
188 | __attribute__((format(printf, 2, 3))); | 188 | __attribute__((format(printf, 2, 3))); |
189 | void notify_complete(struct notifier_ctx *); | 189 | void notify_complete(struct notifier_ctx *); |
190 | 190 | ||
191 | int secure_permissions(struct stat *st, uid_t uid); | ||
192 | |||
191 | #define MINIMUM(a, b) (((a) < (b)) ? (a) : (b)) | 193 | #define MINIMUM(a, b) (((a) < (b)) ? (a) : (b)) |
192 | #define MAXIMUM(a, b) (((a) > (b)) ? (a) : (b)) | 194 | #define MAXIMUM(a, b) (((a) > (b)) ? (a) : (b)) |
193 | #define ROUNDUP(x, y) ((((x)+((y)-1))/(y))*(y)) | 195 | #define ROUNDUP(x, y) ((((x)+((y)-1))/(y))*(y)) |