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 policycoreutils: open_init_tty man page typos 2011-08-03 18:02:36 -04:00
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 Give people who use run_init or newrole an indicator to make it not ask for passwords 2013-10-24 13:58:39 -04:00