| 
         For the latest stable version, please use Emilua API 0.11!  | 
    
system.linux_capabilities
local system = require "system"
local caps = system.cap_init()
caps:set_proc()
system.cap_reset_ambient()
Functions
cap_drop_bound(cap: string)
See cap_drop_bound(3).
| Only the master VM is allowed to use this function. | 
cap_set_ambient(cap: string, value: boolean)
See cap_set_ambient(3).
| Only the master VM is allowed to use this function. | 
cap_set_secbits(bits: integer)
See cap_set_secbits(3).
The securebits flag constants are available from the system table:
- 
SECBIT_NOROOT - 
SECBIT_NOROOT_LOCKED - 
SECBIT_NO_SETUID_FIXUP - 
SECBIT_NO_SETUID_FIXUP_LOCKED - 
SECBIT_KEEP_CAPS - 
SECBIT_KEEP_CAPS_LOCKED - 
SECBIT_NO_CAP_AMBIENT_RAISE - 
SECBIT_NO_CAP_AMBIENT_RAISE_LOCKED 
| Only the master VM is allowed to use this function. |