Remove SV_CAPSICUM
It was only needed for cloudabi Reviewed by: emaste Sponsored by: The FreeBSD Foundation Differential revision: https://reviews.freebsd.org/D31923
This commit is contained in:
parent
cf0ee8738e
commit
397f188936
@ -681,10 +681,6 @@ do_execve(struct thread *td, struct image_args *args, struct mac *mac_p,
|
||||
goto exec_fail_dealloc;
|
||||
}
|
||||
|
||||
/* ABI enforces the use of Capsicum. Switch into capabilities mode. */
|
||||
if (SV_PROC_FLAG(p, SV_CAPSICUM))
|
||||
sys_cap_enter(td, NULL);
|
||||
|
||||
/*
|
||||
* Copy out strings (args and env) and initialize stack base.
|
||||
*/
|
||||
|
@ -165,7 +165,7 @@ struct sysentvec {
|
||||
#define SV_IA32 0x004000 /* Intel 32-bit executable. */
|
||||
#define SV_AOUT 0x008000 /* a.out executable. */
|
||||
#define SV_SHP 0x010000 /* Shared page. */
|
||||
#define SV_CAPSICUM 0x020000 /* Force cap_enter() on startup. */
|
||||
#define SV_AVAIL1 0x020000 /* Unused */
|
||||
#define SV_TIMEKEEP 0x040000 /* Shared page timehands. */
|
||||
#define SV_ASLR 0x080000 /* ASLR allowed. */
|
||||
#define SV_RNG_SEED_VER 0x100000 /* random(4) reseed generation. */
|
||||
|
Loading…
Reference in New Issue
Block a user