diff options
author | Denys Vlasenko | 2017-01-07 10:15:01 +0100 |
---|---|---|
committer | Denys Vlasenko | 2017-01-07 10:16:56 +0100 |
commit | 86584e134eec1a81298149f8c04c77727f6dccb9 (patch) | |
tree | 6e3323d82c8dc1c2c7da58fa86573ca1cea33e71 /coreutils/mknod.c | |
parent | fe93624fb69e3858ebaea2d9e53e0522c1025698 (diff) | |
download | busybox-86584e134eec1a81298149f8c04c77727f6dccb9.zip busybox-86584e134eec1a81298149f8c04c77727f6dccb9.tar.gz |
ash: fix open fds leaking in redirects. Closes 9561
commit e19923f6652a638ac39c84012e97f52cf5a7568e deleted clearredir()
call in shellexec():
ash: [REDIR] Remove redundant CLOEXEC calls
Upstream commit:
Now that we're marking file descriptors as CLOEXEC in savefd, we no longer
need to close them on exec or in setinputfd.
but it missed one place where we don't set CLOEXEC. Fixing this.
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'coreutils/mknod.c')
0 files changed, 0 insertions, 0 deletions