glibc/login
Ulrich Drepper 139ee080b6 Prevent unintended file desriptor leak in grantpt.
The pt_chown program is completely transparently called.  It might
not be able to live with the various file descriptors the program
has open at the time of the call (e.g., under SELinux).  Close all
but the needed descriptor and connect stdin, stdout, and stderr
with /dev/null.  pt_chown shouldn't print anything when called to
do real work.
2009-11-24 18:24:14 -08:00
..
programs Prevent unintended file desriptor leak in grantpt. 2009-11-24 18:24:14 -08:00
Makefile Build pt_chown as PIE. 2009-06-16 20:46:42 -07:00
Versions
endutxent.c
forkpty.c * inet/ether_line.c (ether_line): Remove unused variable. 2007-12-17 21:22:17 +00:00
getpt.c
getutent.c
getutent_r.c
getutid.c
getutid_r.c
getutline.c
getutline_r.c
getutmp.c
getutmpx.c
getutxent.c
getutxid.c
getutxline.c
grantpt.c
lastlog.h
login.c
login_tty.c * login/login_tty.c (login_tty): The Linux kernel can return EBUSY 2007-10-04 21:54:22 +00:00
logout.c * locale/programs/ld-monetary.c (monetary_finish): Avoid range check 2007-07-28 20:45:36 +00:00
logwtmp.c * locale/programs/ld-monetary.c (monetary_finish): Avoid range check 2007-07-28 20:45:36 +00:00
openpty.c * inet/ether_line.c (ether_line): Remove unused variable. 2007-12-17 21:22:17 +00:00
ptsname.c
pty.h * inet/ether_line.c (ether_line): Remove unused variable. 2007-12-17 21:22:17 +00:00
pututxline.c
setutxent.c
tst-grantpt.c * login/tst-grantpt.c (test_einval): Add 3rd argument to open. 2007-08-17 06:28:40 +00:00
tst-utmp.c
tst-utmpx.c
unlockpt.c
updwtmp.c
updwtmpx.c
utmp-private.h
utmp.h
utmp_file.c Bump timeout for utmp operations to 10s. 2009-10-29 21:41:19 -07:00
utmpname.c
utmpxname.c