projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f90ed4
)
hide shadow using stuff when CONFIG_FEATURE_SHADOWPASSWDS
author
Eric Andersen
<andersen@codepoet.org>
Wed, 3 Jul 2002 09:13:21 +0000
(09:13 -0000)
committer
Eric Andersen
<andersen@codepoet.org>
Wed, 3 Jul 2002 09:13:21 +0000
(09:13 -0000)
is not set
-Erik
loginutils/vlock.c
patch
|
blob
|
history
diff --git
a/loginutils/vlock.c
b/loginutils/vlock.c
index a26999f895f648aefb6de39ada645b71efec8616..18f4b940733014bb178541eabd9a904a587a2c2f 100644
(file)
--- a/
loginutils/vlock.c
+++ b/
loginutils/vlock.c
@@
-41,12
+41,14
@@
#include "busybox.h"
static struct passwd *pw;
-static struct spwd *spw;
static struct vt_mode ovtm;
static struct termios oterm;
static int vfd;
static int o_lock_all = 0;
+#ifdef CONFIG_FEATURE_SHADOWPASSWDS
+static struct spwd *spw;
+
/* getspuid - get a shadow entry by uid */
struct spwd *getspuid(uid_t uid)
{
@@
-64,6
+66,7
@@
struct spwd *getspuid(uid_t uid)
endspent();
return (sp);
}
+#endif
static void release_vt(int signo)
{