]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Capsicum-ize soelim(1).
authorbapt <bapt@FreeBSD.org>
Sun, 18 Sep 2016 16:25:41 +0000 (16:25 +0000)
committerbapt <bapt@FreeBSD.org>
Sun, 18 Sep 2016 16:25:41 +0000 (16:25 +0000)
commit97abc61296a96e7beb77e8a62b7e1347f5690727
tree70ac98932f284ab8228cd97ee1375e7f16289d6d
parentb9fe89a1a800b1dfcdd2dbd4522f0493bdbe1653
Capsicum-ize soelim(1).

As a trick to be able to access all files passed in arguments (readonly) within
the sandbox we first open the root directory, then consider all files as
relative to this file descriptor.

This might be improved once casper add supports for filesystem.

MFC after: 1 month
Reviewed by: allanjude
Differential Revision: https://reviews.freebsd.org/D7936
usr.bin/soelim/soelim.c