aboutsummaryrefslogtreecommitdiff
path: root/support/Makefile
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2021-08-24 16:12:24 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2021-08-26 17:13:45 -0300
commite814f4b04ee413a7bb3dfa43e74c8fb4abf58359 (patch)
treed83648696fae2c7a8ee71da52297bed7dafe06c6 /support/Makefile
parent5aa359d33163bde660fec9b26e23cfb93d63ecde (diff)
downloadglibc-e814f4b04ee413a7bb3dfa43e74c8fb4abf58359.zip
glibc-e814f4b04ee413a7bb3dfa43e74c8fb4abf58359.tar.gz
glibc-e814f4b04ee413a7bb3dfa43e74c8fb4abf58359.tar.bz2
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/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/support/Makefile b/support/Makefile
index a462781..6332e7b 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 \