user-util: add mangle_gecos() call for turning strings into fields suitable as GECOS fields
This commit is contained in:
@@ -105,6 +105,7 @@ typedef enum ValidUserFlags {
|
||||
|
||||
bool valid_user_group_name(const char *u, ValidUserFlags flags);
|
||||
bool valid_gecos(const char *d);
|
||||
char *mangle_gecos(const char *d);
|
||||
bool valid_home(const char *p);
|
||||
|
||||
static inline bool valid_shell(const char *p) {
|
||||
|
||||
Reference in New Issue
Block a user