Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F108580586
D31923.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
931 B
Referenced Files
None
Subscribers
None
D31923.diff
View Options
diff --git a/sys/kern/kern_exec.c b/sys/kern/kern_exec.c
--- a/sys/kern/kern_exec.c
+++ b/sys/kern/kern_exec.c
@@ -681,10 +681,6 @@
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.
*/
diff --git a/sys/sys/sysent.h b/sys/sys/sysent.h
--- a/sys/sys/sysent.h
+++ b/sys/sys/sysent.h
@@ -165,7 +165,7 @@
#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. */
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Jan 27, 2:19 PM (5 h, 33 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16199153
Default Alt Text
D31923.diff (931 B)
Attached To
Mode
D31923: Drop cloudabi
Attached
Detach File
Event Timeline
Log In to Comment