diff options
author | Pascal Bellard <pascal.bellard@ads-lu.com> | 2012-06-12 13:21:02 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2012-06-12 13:21:02 +0200 |
commit | 70fc8c17e2d032f34162f7abc3e65a67c0ff272a (patch) | |
tree | b2a4b1b2f6d52b01056e4601aca1c676e7f0f80f /include | |
parent | 588e284f53da2dc5c58f3d1b9efacd6e9061baf1 (diff) | |
download | busybox-w32-70fc8c17e2d032f34162f7abc3e65a67c0ff272a.tar.gz busybox-w32-70fc8c17e2d032f34162f7abc3e65a67c0ff272a.tar.bz2 busybox-w32-70fc8c17e2d032f34162f7abc3e65a67c0ff272a.zip |
su: do not change to home dir unless -l
Signed-off-by: Pascal Bellard <pascal.bellard@ads-lu.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/libbb.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libbb.h b/include/libbb.h index 5e5c8c7e8..322a28cab 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
@@ -1286,6 +1286,7 @@ int sd_listen_fds(void); | |||
1286 | #define SETUP_ENV_CHANGEENV (1 << 0) | 1286 | #define SETUP_ENV_CHANGEENV (1 << 0) |
1287 | #define SETUP_ENV_CLEARENV (1 << 1) | 1287 | #define SETUP_ENV_CLEARENV (1 << 1) |
1288 | #define SETUP_ENV_TO_TMP (1 << 2) | 1288 | #define SETUP_ENV_TO_TMP (1 << 2) |
1289 | #define SETUP_ENV_NO_CHDIR (1 << 4) | ||
1289 | extern void setup_environment(const char *shell, int flags, const struct passwd *pw) FAST_FUNC; | 1290 | extern void setup_environment(const char *shell, int flags, const struct passwd *pw) FAST_FUNC; |
1290 | extern int correct_password(const struct passwd *pw) FAST_FUNC; | 1291 | extern int correct_password(const struct passwd *pw) FAST_FUNC; |
1291 | /* Returns a malloced string */ | 1292 | /* Returns a malloced string */ |