Introduce basic Trusted Path Execution (TPE) support
This introduces a new command to secadm: tpe. To enable TPE, use
`secadm tpe -T`. To disable TPE, use `secadm tpe -t`. To set the GID,
use `secadm tpe -g <gid>`. To enforce TPE for everyone, use `secadm
tpe -A`. To invert the GID, use `secadm tpe -g`. The GID by default is
0.
TODO:
1) Documentation
2) Support tpe in secadm.rules(5)
Signed-off-by:
Shawn Webb <shawn.webb@hardenedbsd.org>
kmod/tpe.c
0 → 100644