diff options
author | Ulrich Drepper <drepper@redhat.com> | 2009-11-24 18:24:14 -0800 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2009-11-24 18:24:14 -0800 |
commit | 139ee080b6b428240bf49f3e6361f3ac729f891a (patch) | |
tree | 6d995b56cab939c5107371e83cd5fa53fe3c3284 /intl/Versions | |
parent | fa214705b957d20621cb1190b467aa88bc9b69a3 (diff) | |
download | glibc-139ee080b6b428240bf49f3e6361f3ac729f891a.tar.gz glibc-139ee080b6b428240bf49f3e6361f3ac729f891a.tar.xz glibc-139ee080b6b428240bf49f3e6361f3ac729f891a.zip |
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.
Diffstat (limited to 'intl/Versions')
0 files changed, 0 insertions, 0 deletions