This test asserts that chflags will fail if securelevel=1 and certain flags are already set. Since it requires changing securelevel, we do it in a jail, using the jail-rs crate. Since we can't fork in a multithreaded program, we instead execute /bin/chflags within the jail.
This test asserts that chflags will fail if securelevel=1 and certain flags are already set. Since it requires changing securelevel, we do it in a jail, using the jail-rs crate. Since we can't fork in a multithreaded program, we instead execute /bin/chflags within the jail.
Issue #10