selinux/policycoreutils/run_init
Christian Göttsche 9229f8b3b7 policycoreutils: handle argument counter of zero
The number of arguments passed to main(), argc, can be zero if the
pathname passed to execve(2) is NULL, e.g. via:

    execve("/path/to/exe", {NULL}, {NULL});

Also avoid NULL pointer dereferences on the argument value.

Signed-off-by: Christian Göttsche <cgzones@googlemail.com>
2022-02-07 11:14:26 -05:00
..
ru Add man pages translation by Olesya Gerasimenko 2019-01-28 12:03:57 +01:00
Makefile Allow installing translated man pages 2019-01-28 12:03:57 +01:00
open_init_pty.8
open_init_pty.c policycoreutils: handle argument counter of zero 2022-02-07 11:14:26 -05:00
run_init.8 policycoreutils, python: Fix bad manpage formatting in "SEE ALSO" 2017-01-12 14:59:31 -05:00
run_init.c policycoreutils: mark local functions static 2021-11-15 16:00:54 -05:00
run_init.pamd