1.0.1 (r46) ~~~~~~~~~~~ -Fix: VULN: in permit_cmd(), fix the argv[] and cargv[] array indexing, which caused an unwanted behavior (no command was permitted if command had an argument) and an exploit (if command had no argument, and the condition matched, the command itself was not validated, and the command could be anything the caller wished) -Fix: when checking "euid" and "egid" conditions, use geteuid() and getegid() functions instead of getuid() and getgid() -Fix: call setreuid() and execute a generator script in a child process, thus side-effects of setreuid() is enclosed in the child process, so the original sud0 process will not behave differently