login: remove setpgrp call (makes it work from shell prompt again).

login: sanitize stdio descriptors (we are suid, need to be careful!)
shrink login and set_environment by ~100 bytes.
This commit is contained in:
Denis Vlasenko
2007-04-12 12:31:02 +00:00
parent 831a20f512
commit 0de3c55b42
4 changed files with 32 additions and 38 deletions

View File

@@ -7,10 +7,6 @@
* Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
*/
#include <stdio.h>
#include <errno.h>
#include <string.h>
#include <stdlib.h>
#include "libbb.h"
void bb_info_msg(const char *s, ...)