diff options
Diffstat (limited to 'misc.h')
-rw-r--r-- | misc.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -163,6 +163,8 @@ char *read_passphrase(const char *, int); | |||
163 | int ask_permission(const char *, ...) __attribute__((format(printf, 1, 2))); | 163 | int ask_permission(const char *, ...) __attribute__((format(printf, 1, 2))); |
164 | int read_keyfile_line(FILE *, const char *, char *, size_t, u_long *); | 164 | int read_keyfile_line(FILE *, const char *, char *, size_t, u_long *); |
165 | 165 | ||
166 | int secure_permissions(struct stat *st, uid_t uid); | ||
167 | |||
166 | #define MINIMUM(a, b) (((a) < (b)) ? (a) : (b)) | 168 | #define MINIMUM(a, b) (((a) < (b)) ? (a) : (b)) |
167 | #define MAXIMUM(a, b) (((a) > (b)) ? (a) : (b)) | 169 | #define MAXIMUM(a, b) (((a) > (b)) ? (a) : (b)) |
168 | #define ROUNDUP(x, y) ((((x)+((y)-1))/(y))*(y)) | 170 | #define ROUNDUP(x, y) ((((x)+((y)-1))/(y))*(y)) |