diff options
Diffstat (limited to 'misc.h')
-rw-r--r-- | misc.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -143,6 +143,8 @@ char *read_passphrase(const char *, int); | |||
143 | int ask_permission(const char *, ...) __attribute__((format(printf, 1, 2))); | 143 | int ask_permission(const char *, ...) __attribute__((format(printf, 1, 2))); |
144 | int read_keyfile_line(FILE *, const char *, char *, size_t, u_long *); | 144 | int read_keyfile_line(FILE *, const char *, char *, size_t, u_long *); |
145 | 145 | ||
146 | int secure_permissions(struct stat *st, uid_t uid); | ||
147 | |||
146 | #define MINIMUM(a, b) (((a) < (b)) ? (a) : (b)) | 148 | #define MINIMUM(a, b) (((a) < (b)) ? (a) : (b)) |
147 | #define MAXIMUM(a, b) (((a) > (b)) ? (a) : (b)) | 149 | #define MAXIMUM(a, b) (((a) > (b)) ? (a) : (b)) |
148 | #define ROUNDUP(x, y) ((((x)+((y)-1))/(y))*(y)) | 150 | #define ROUNDUP(x, y) ((((x)+((y)-1))/(y))*(y)) |