diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2021-08-24 16:12:24 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2021-08-26 17:13:45 -0300 |
commit | e814f4b04ee413a7bb3dfa43e74c8fb4abf58359 (patch) | |
tree | d83648696fae2c7a8ee71da52297bed7dafe06c6 /support/Makefile | |
parent | 5aa359d33163bde660fec9b26e23cfb93d63ecde (diff) | |
download | glibc-e814f4b04ee413a7bb3dfa43e74c8fb4abf58359.tar glibc-e814f4b04ee413a7bb3dfa43e74c8fb4abf58359.tar.gz glibc-e814f4b04ee413a7bb3dfa43e74c8fb4abf58359.tar.bz2 glibc-e814f4b04ee413a7bb3dfa43e74c8fb4abf58359.zip |
support: Add support_open_dev_null_range
It returns a range of file descriptor referring to the '/dev/null'
pathname. The function takes care of restarting the open range
if a file descriptor is found within the specified range and
also increases RLIMIT_NOFILE if required.
Checked on x86_64-linux-gnu.
Diffstat (limited to 'support/Makefile')
-rw-r--r-- | support/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/support/Makefile b/support/Makefile index a462781718..6332e7b607 100644 --- a/support/Makefile +++ b/support/Makefile @@ -66,6 +66,7 @@ libsupport-routines = \ support_path_support_time64 \ support_process_state \ support_ptrace \ + support-open-dev-null-range \ support_openpty \ support_paths \ support_quote_blob \ @@ -264,6 +265,7 @@ tests = \ tst-support_capture_subprocess \ tst-support_descriptors \ tst-support_format_dns_packet \ + tst-support-open-dev-null-range \ tst-support-process_state \ tst-support_quote_blob \ tst-support_quote_string \ |