@@ -4292,8 +4292,13 @@ extern "C" {
4292
4292
pub fn cpuset_setid ( which : cpuwhich_t , id : :: id_t , setid : :: cpusetid_t ) -> :: c_int ;
4293
4293
pub fn cap_enter ( ) -> :: c_int ;
4294
4294
pub fn cap_getmode ( modep : * mut :: c_uint ) -> :: c_int ;
4295
+ pub fn cap_fcntls_get ( fd : :: c_int , fcntlrightsp : * mut u32 ) -> :: c_int ;
4296
+ pub fn cap_fcntls_limit ( fd : :: c_int , fcntlrights : u32 ) -> :: c_int ;
4297
+ pub fn cap_ioctls_get ( fd : :: c_int , cmds : * mut u_long , maxcmds : usize ) -> isize ;
4298
+ pub fn cap_ioctls_limit ( fd : :: c_int , cmds : * const u_long , ncmds : usize ) -> :: c_int ;
4295
4299
pub fn __cap_rights_init ( version : :: c_int , rights : * mut cap_rights_t , ...)
4296
4300
-> * mut cap_rights_t ;
4301
+ pub fn __cap_rights_get ( version : :: c_int , fd : :: c_int , rightsp : * mut cap_rights_t ) -> :: c_int ;
4297
4302
pub fn __cap_rights_set ( rights : * mut cap_rights_t , ...) -> * mut cap_rights_t ;
4298
4303
pub fn __cap_rights_clear ( rights : * mut cap_rights_t , ...) -> * mut cap_rights_t ;
4299
4304
pub fn __cap_rights_is_set ( rights : * const cap_rights_t , ...) -> bool ;
@@ -4303,6 +4308,7 @@ extern "C" {
4303
4308
pub fn cap_rights_remove ( dst : * mut cap_rights_t , src : * const cap_rights_t )
4304
4309
-> * mut cap_rights_t ;
4305
4310
pub fn cap_rights_contains ( big : * const cap_rights_t , little : * const cap_rights_t ) -> bool ;
4311
+ pub fn cap_sandboxed ( ) -> bool ;
4306
4312
4307
4313
pub fn reallocarray ( ptr : * mut :: c_void , nmemb : :: size_t , size : :: size_t ) -> * mut :: c_void ;
4308
4314
0 commit comments