version 1.295, 2018/07/27 05:13:02 |
version 1.296, 2018/07/27 05:34:42 |
|
|
add_local_forward(Options *options, const struct Forward *newfwd) |
add_local_forward(Options *options, const struct Forward *newfwd) |
{ |
{ |
struct Forward *fwd; |
struct Forward *fwd; |
extern uid_t original_real_uid; |
|
int i; |
int i; |
|
|
/* Don't add duplicates */ |
/* Don't add duplicates */ |
|
|
char *shell; |
char *shell; |
pid_t pid; |
pid_t pid; |
int devnull, status; |
int devnull, status; |
extern uid_t original_real_uid; |
|
|
|
if ((shell = getenv("SHELL")) == NULL) |
if ((shell = getenv("SHELL")) == NULL) |
shell = _PATH_BSHELL; |
shell = _PATH_BSHELL; |