NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
bin/51859: [PATCH] tests/lib/libc/sys/t_pipe2: use closefrom/restore RLIMIT_NOFILE when done
>Number: 51859
>Category: bin
>Synopsis: [PATCH] tests/lib/libc/sys/t_pipe2: use closefrom/restore RLIMIT_NOFILE when done
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Jan 13 07:05:00 +0000 2017
>Originator: Ngie Cooper
>Release: 7.0.2
>Organization:
>Environment:
n/a
>Description:
- Using closefrom instead of fcntl(3, F_CLOSEM) is for portability.
- Resetting RLIMIT_NOFILE at the end is to ensure that the limit doesn't interfere with the tester process.
>How-To-Repeat:
>Fix:
Home |
Main Index |
Thread Index |
Old Index