extern const char * const bb_path_group_file;
extern const char * const bb_path_securetty_file;
extern const char * const bb_path_motd_file;
-
+extern const char * const bb_dev_null;
/*
* You can change LIBBB_DEFAULT_LOGIN_SHELL, but don`t use,
* use bb_default_login_shell and next defines,
can_not_create_raw_socket.o perm_denied_are_you_root.o \
shadow_file.o passwd_file.o group_file.o gshadow_file.o nologin_file.o \
securetty_file.o motd_file.o \
- msg_standard_input.o msg_standard_output.o shell_file.o
+ msg_standard_input.o msg_standard_output.o shell_file.o bb_dev_null.o
LIBBB_MSRC1:=$(srcdir)/xfuncs.c
LIBBB_MOBJ1:=xmalloc.o xrealloc.o xcalloc.o xstrdup.o xstrndup.o \
* Licensed under the GPL v2, see the file LICENSE in this tarball.
*/
+#include "libbb.h"
#ifdef L_bb_getgrgid
/* Hacked by Tito Ragusa (c) 2004 <farmatito@tiscali.it> to make it more
* the program exits.
*/
-#include "libbb.h"
#include "grp_.h"
/* gets a groupname given a gid */
#ifdef L_bb_xgetgrnam
#include <stdio.h>
#include <string.h>
-#include "libbb.h"
#include "pwd_.h"
#include "grp_.h"
#ifdef L_bb_xgetpwnam
#include <stdio.h>
#include <string.h>
-#include "libbb.h"
#include "pwd_.h"
#include "grp_.h"
* the program exits.
*/
-#include "libbb.h"
#include "pwd_.h"
/* gets a username given a uid */
#include <stdio.h>
#include <assert.h>
-#include "libbb.h"
/* internal function for bb_getpwuid and bb_getgrgid */
const char * const bb_default_login_shell = LIBBB_DEFAULT_LOGIN_SHELL;
#endif
+#ifdef L_dev_null
+const char * const bb_dev_null = "dev/null";
+#endif
+