]> sourceware.org Git - glibc.git/commit
posix: Fix return value of system if shell can not be executed [BZ #27053]
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Fri, 11 Dec 2020 18:23:05 +0000 (15:23 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Mon, 11 Jan 2021 15:26:58 +0000 (12:26 -0300)
commit42dda89dcb0407f6799dbfd0b9dab1529666ad51
tree895e367e9d4cd02a94205bf63e6387c6f05af7f1
parent7b9c3260bcca73781dda6bc2ddee84869bedfb8c
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.
stdlib/tst-system.c
support/Makefile
sysdeps/posix/system.c
This page took 0.041309 seconds and 5 git commands to generate.