about summary refs log tree commit diff
path: root/support/Makefile
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2020-12-11 15:23:05 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2021-01-11 12:26:58 -0300
commit42dda89dcb0407f6799dbfd0b9dab1529666ad51 (patch)
tree895e367e9d4cd02a94205bf63e6387c6f05af7f1 /support/Makefile
parent7b9c3260bcca73781dda6bc2ddee84869bedfb8c (diff)
downloadglibc-42dda89dcb0407f6799dbfd0b9dab1529666ad51.tar.gz
glibc-42dda89dcb0407f6799dbfd0b9dab1529666ad51.tar.xz
glibc-42dda89dcb0407f6799dbfd0b9dab1529666ad51.zip
posix: Fix return value of system if shell can not be executed [BZ #27053]
POSIX states that system returned code for failure to execute the shell
shall be as if the shell had terminated using _exit(127).  This
behaviour was removed with 5fb7fc96350575.

Checked on x86_64-linux-gnu.
Diffstat (limited to 'support/Makefile')
-rw-r--r--support/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/support/Makefile b/support/Makefile
index 62d6c6ddaa..bb9889efb4 100644
--- a/support/Makefile
+++ b/support/Makefile
@@ -91,6 +91,7 @@ libsupport-routines = \
   xchroot \
   xclock_gettime \
   xclose \
+  xchmod \
   xconnect \
   xcopy_file_range \
   xdlfcn \