Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F151922421
D15637.id43215.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
2 KB
Referenced Files
None
Subscribers
None
D15637.id43215.diff
View Options
Index: sys/compat/freebsd32/syscalls.master
===================================================================
--- sys/compat/freebsd32/syscalls.master
+++ sys/compat/freebsd32/syscalls.master
@@ -65,8 +65,7 @@
; of the current calls.
0 AUE_NULL NOPROTO { int nosys(void); } syscall nosys_args int
-1 AUE_EXIT NOPROTO { void sys_exit(int rval); } exit \
- sys_exit_args void
+1 AUE_EXIT NOPROTO { void exit(int rval); }
2 AUE_FORK NOPROTO { int fork(void); }
3 AUE_READ NOPROTO { ssize_t read(int fd, void *buf, \
size_t nbyte); }
Index: sys/i386/ibcs2/syscalls.master
===================================================================
--- sys/i386/ibcs2/syscalls.master
+++ sys/i386/ibcs2/syscalls.master
@@ -35,8 +35,7 @@
; #ifdef's, etc. may be included, and are copied to the output files.
0 AUE_NULL NOPROTO { int nosys(void); } syscall nosys_args int
-1 AUE_EXIT NOPROTO { void sys_exit(int rval); } exit \
- sys_exit_args void
+1 AUE_EXIT NOPROTO { void exit(int rval); }
2 AUE_FORK NOPROTO { int fork(void); }
3 AUE_NULL STD { int ibcs2_read(int fd, char *buf, \
u_int nbytes); }
Index: sys/kern/capabilities.conf
===================================================================
--- sys/kern/capabilities.conf
+++ sys/kern/capabilities.conf
@@ -29,7 +29,7 @@
## List of system calls enabled in capability mode, one name per line.
##
## Notes:
-## - sys_exit(2), abort2(2) and close(2) are very important.
+## - exit(2), abort2(2) and close(2) are very important.
## - Sorted alphabetically, please keep it that way.
##
## $FreeBSD$
@@ -686,9 +686,9 @@
sync
##
-## Always allow process termination with sys_exit(2).
+## Always allow process termination with exit(2).
##
-sys_exit
+exit
##
## sysarch(2) does rather diverse things, but is required on at least i386
Index: sys/kern/kern_exit.c
===================================================================
--- sys/kern/kern_exit.c
+++ sys/kern/kern_exit.c
@@ -173,8 +173,8 @@
/*
* exit -- death of process.
*/
-void
-sys_sys_exit(struct thread *td, struct sys_exit_args *uap)
+int
+sys_exit(struct thread *td, struct exit_args *uap)
{
exit1(td, uap->rval, 0);
Index: sys/kern/syscalls.master
===================================================================
--- sys/kern/syscalls.master
+++ sys/kern/syscalls.master
@@ -85,8 +85,7 @@
; of the current calls.
0 AUE_NULL STD { int nosys(void); } syscall nosys_args int
-1 AUE_EXIT STD { void sys_exit(int rval); } exit \
- sys_exit_args void
+1 AUE_EXIT STD { void exit(int rval); }
2 AUE_FORK STD { int fork(void); }
3 AUE_READ STD { ssize_t read(int fd, \
_Out_writes_bytes_(nbyte) void *buf, \
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Apr 12, 1:25 PM (18 h, 51 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31350611
Default Alt Text
D15637.id43215.diff (2 KB)
Attached To
Mode
D15637: Regularize the declaration of the exit syscall.
Attached
Detach File
Event Timeline
Log In to Comment