aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/checkpatch.yml
diff options
context:
space:
mode:
authorVassili Tchersky <vt+git@vbc.su>2025-02-19 03:43:11 +0100
committerBernd Schubert <bernd@bsbernd.com>2025-02-19 23:51:51 +0100
commit8ca2fe632de965c13d26e64dc1ff8517240a4078 (patch)
tree02fbbaa13ef28ec52560c8e678eb5a2ee5906e7c /.github/workflows/checkpatch.yml
parent26b0e0ee2522d88a093204433aad72da0d44cb26 (diff)
downloadlibfuse-8ca2fe632de965c13d26e64dc1ff8517240a4078.tar.gz
mount: fix closing stdout/err and error logs
Don't spawn a setuid children with FD 1&2 closed. Check status and not errno after posix_spawn(p). Add comments to fix later error checking, as posix_spawn(p) returns non-zero status only if clone/vfork/rfork fails. If only setup (open, dup2) or execve fails, the forked process exit with 127 but posix_spawn returns zero. Signed-off-by: Vassili Tchersky <vt+git@vbc.su>
Diffstat (limited to '.github/workflows/checkpatch.yml')
0 files changed, 0 insertions, 0 deletions