Bases: object
Command filter only checking that the 1st argument matches exec_path
Returns command to execute (with sudo -u if run_as != root).
Returns specific environment to set, None if none
Only check that the first argument (command) matches exec_path
Bases: nova.rootwrap.filters.CommandFilter
Specific filter for the dnsmasq call (which includes env)
Bases: nova.rootwrap.filters.CommandFilter
Specific filter for the kill calls. 1st argument is a list of accepted signals (emptystring means no signal) 2nd argument is a list of accepted affected executables.
This filter relies on /proc to accurately determine affected executable, so it will only work on procfs-capable systems (not OSX).
Bases: nova.rootwrap.filters.CommandFilter
Specific filter for the utils.read_file_as_root call
Bases: nova.rootwrap.filters.CommandFilter
Command filter doing regexp matching for every argument