Let CloudABI use the SV_CAPSICUM flag.

CloudABI processes will now start up in capabilities mode.

Reviewed by:	kib
This commit is contained in:
Ed Schouten 2015-08-03 13:42:52 +00:00
parent 39f5ebb774
commit ee95773383

View File

@ -224,7 +224,7 @@ static struct sysentvec cloudabi64_elf_sysvec = {
.sv_usrstack = USRSTACK,
.sv_stackprot = VM_PROT_READ | VM_PROT_WRITE,
.sv_copyout_strings = cloudabi64_copyout_strings,
.sv_flags = SV_ABI_CLOUDABI,
.sv_flags = SV_ABI_CLOUDABI | SV_CAPSICUM,
.sv_set_syscall_retval = cloudabi64_set_syscall_retval,
.sv_fetch_syscall_args = cloudabi64_fetch_syscall_args,
.sv_syscallnames = cloudabi64_syscallnames,