K 10 svn:author V 3 pjd K 8 svn:date V 27 2013-03-02T00:11:27.090006Z K 7 svn:log V 500 Provide cap_sandboxed(3) function, which is a wrapper around cap_getmode(2) system call, which has a nice property - it never fails, so it is a bit easier to use. If there is no support for capability mode in the kernel the function will return false (not in a sandbox). If the kernel is compiled with the support for capability mode, the function will return true or false depending if the calling process is in the capability mode sandbox or not respectively. Sponsored by: The FreeBSD Foundation END