mirror of
https://github.com/sheumann/hush.git
synced 2024-12-28 07:30:23 +00:00
hide shadow using stuff when CONFIG_FEATURE_SHADOWPASSWDS
is not set -Erik
This commit is contained in:
parent
7f90ed4460
commit
935daf2d0d
@ -41,12 +41,14 @@
|
|||||||
#include "busybox.h"
|
#include "busybox.h"
|
||||||
|
|
||||||
static struct passwd *pw;
|
static struct passwd *pw;
|
||||||
static struct spwd *spw;
|
|
||||||
static struct vt_mode ovtm;
|
static struct vt_mode ovtm;
|
||||||
static struct termios oterm;
|
static struct termios oterm;
|
||||||
static int vfd;
|
static int vfd;
|
||||||
static int o_lock_all = 0;
|
static int o_lock_all = 0;
|
||||||
|
|
||||||
|
#ifdef CONFIG_FEATURE_SHADOWPASSWDS
|
||||||
|
static struct spwd *spw;
|
||||||
|
|
||||||
/* getspuid - get a shadow entry by uid */
|
/* getspuid - get a shadow entry by uid */
|
||||||
struct spwd *getspuid(uid_t uid)
|
struct spwd *getspuid(uid_t uid)
|
||||||
{
|
{
|
||||||
@ -64,6 +66,7 @@ struct spwd *getspuid(uid_t uid)
|
|||||||
endspent();
|
endspent();
|
||||||
return (sp);
|
return (sp);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
static void release_vt(int signo)
|
static void release_vt(int signo)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user