From 0c7a6eb5ccace1d8e9f7b301f6a61a7d3f016369 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 4 May 2024 19:42:59 +0200 Subject: Adding upstream version 4.2. Signed-off-by: Daniel Baumann --- pwgr.c | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 pwgr.c (limited to 'pwgr.c') diff --git a/pwgr.c b/pwgr.c new file mode 100644 index 0000000..a07de33 --- /dev/null +++ b/pwgr.c @@ -0,0 +1,17 @@ + +/* + * We cannot link a static binary with passwd/group support, so + * just do without + */ +#include +#include +#include + +struct passwd *getpwnam(const char *name) +{ + return NULL; +} +struct group *getgrnam(const char *name) +{ + return NULL; +} -- cgit v1.2.3