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