chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
execute: move suppression of HOME=/ and SHELL=/bin/nologin into user-util.c
[elogind.git]
/
src
/
basic
/
user-util.h
diff --git
a/src/basic/user-util.h
b/src/basic/user-util.h
index 1832a5d7988dbfe701ae57f0765ddbade06bb3e8..e7add79643eccda32251ab0bf1e9a05081fef090 100644
(file)
--- a/
src/basic/user-util.h
+++ b/
src/basic/user-util.h
@@
-42,6
+42,7
@@
char* getusername_malloc(void);
#endif // 0
int get_user_creds(const char **username, uid_t *uid, gid_t *gid, const char **home, const char **shell);
#endif // 0
int get_user_creds(const char **username, uid_t *uid, gid_t *gid, const char **home, const char **shell);
+int get_user_creds_clean(const char **username, uid_t *uid, gid_t *gid, const char **home, const char **shell);
int get_group_creds(const char **groupname, gid_t *gid);
char* uid_to_name(uid_t uid);
int get_group_creds(const char **groupname, gid_t *gid);
char* uid_to_name(uid_t uid);