nspawn: Generalize parse_bind_user_shell()
Preparation for reuse in vmspawn.
This commit is contained in:
committed by
Lennart Poettering
parent
5b94f463f0
commit
dbbbdde266
@@ -20,6 +20,7 @@ int parse_sector_size(const char *t, uint64_t *ret);
|
||||
int parse_range(const char *t, unsigned *lower, unsigned *upper);
|
||||
int parse_errno(const char *t);
|
||||
int parse_fd(const char *t);
|
||||
int parse_user_shell(const char *s, char **ret_sh, bool *ret_copy);
|
||||
|
||||
#define SAFE_ATO_REFUSE_PLUS_MINUS (1U << 30)
|
||||
#define SAFE_ATO_REFUSE_LEADING_ZERO (1U << 29)
|
||||
|
||||
Reference in New Issue
Block a user