diff options
author | marcel <marcel@FreeBSD.org> | 1999-10-12 09:33:53 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 1999-10-12 09:33:53 +0000 |
commit | 2b09beb7d9293043cf30dacb2c3aee61450fc946 (patch) | |
tree | e1ffb80cc4ada24ac3be018ac0cfb6fe3378a684 /sys/sys | |
parent | 4a4539692b3644c13c39f5533ed39684da8be2ca (diff) | |
download | FreeBSD-src-2b09beb7d9293043cf30dacb2c3aee61450fc946.zip FreeBSD-src-2b09beb7d9293043cf30dacb2c3aee61450fc946.tar.gz |
Now that userland, including modules don't use the osig* syscalls
and the kernel itself doesn't use any SYS_osig* constants, change
the syscalls to be of type COMPAT.
Diffstat (limited to 'sys/sys')
-rw-r--r-- | sys/sys/syscall-hide.h | 12 | ||||
-rw-r--r-- | sys/sys/syscall.h | 12 | ||||
-rw-r--r-- | sys/sys/syscall.mk | 7 | ||||
-rw-r--r-- | sys/sys/sysproto.h | 42 |
4 files changed, 34 insertions, 39 deletions
diff --git a/sys/sys/syscall-hide.h b/sys/sys/syscall-hide.h index 2ece27a..8c06d90 100644 --- a/sys/sys/syscall-hide.h +++ b/sys/sys/syscall-hide.h @@ -3,7 +3,7 @@ * * DO NOT EDIT-- this file is automatically generated. * $FreeBSD$ - * created from FreeBSD: src/sys/kern/syscalls.master,v 1.65 1999/09/29 15:01:21 marcel Exp + * created from FreeBSD: src/sys/kern/syscalls.master,v 1.66 1999/10/12 09:29:53 marcel Exp */ HIDE_POSIX(fork) @@ -49,13 +49,13 @@ HIDE_POSIX(pipe) HIDE_POSIX(getegid) HIDE_BSD(profil) HIDE_BSD(ktrace) -HIDE_POSIX(osigaction) +HIDE_POSIX(sigaction) HIDE_POSIX(getgid) -HIDE_POSIX(osigprocmask) +HIDE_POSIX(sigprocmask) HIDE_BSD(getlogin) HIDE_BSD(setlogin) HIDE_BSD(acct) -HIDE_POSIX(osigpending) +HIDE_POSIX(sigpending) HIDE_BSD(sigaltstack) HIDE_POSIX(ioctl) HIDE_BSD(reboot) @@ -102,14 +102,14 @@ HIDE_BSD(accept) HIDE_BSD(getpriority) HIDE_BSD(send) HIDE_BSD(recv) -HIDE_BSD(osigreturn) +HIDE_BSD(sigreturn) HIDE_BSD(bind) HIDE_BSD(setsockopt) HIDE_BSD(listen) HIDE_BSD(sigvec) HIDE_BSD(sigblock) HIDE_BSD(sigsetmask) -HIDE_POSIX(osigsuspend) +HIDE_POSIX(sigsuspend) HIDE_BSD(sigstack) HIDE_BSD(recvmsg) HIDE_BSD(sendmsg) diff --git a/sys/sys/syscall.h b/sys/sys/syscall.h index 555e5e0..73195f0 100644 --- a/sys/sys/syscall.h +++ b/sys/sys/syscall.h @@ -3,7 +3,7 @@ * * DO NOT EDIT-- this file is automatically generated. * $FreeBSD$ - * created from FreeBSD: src/sys/kern/syscalls.master,v 1.65 1999/09/29 15:01:21 marcel Exp + * created from FreeBSD: src/sys/kern/syscalls.master,v 1.66 1999/10/12 09:29:53 marcel Exp */ #define SYS_syscall 0 @@ -52,13 +52,13 @@ #define SYS_getegid 43 #define SYS_profil 44 #define SYS_ktrace 45 -#define SYS_osigaction 46 + /* 46 is old sigaction */ #define SYS_getgid 47 -#define SYS_osigprocmask 48 + /* 48 is old sigprocmask */ #define SYS_getlogin 49 #define SYS_setlogin 50 #define SYS_acct 51 -#define SYS_osigpending 52 + /* 52 is old sigpending */ #define SYS_sigaltstack 53 #define SYS_ioctl 54 #define SYS_reboot 55 @@ -107,7 +107,7 @@ #define SYS_getpriority 100 /* 101 is old send */ /* 102 is old recv */ -#define SYS_osigreturn 103 + /* 103 is old sigreturn */ #define SYS_bind 104 #define SYS_setsockopt 105 #define SYS_listen 106 @@ -115,7 +115,7 @@ /* 108 is old sigvec */ /* 109 is old sigblock */ /* 110 is old sigsetmask */ -#define SYS_osigsuspend 111 + /* 111 is old sigsuspend */ /* 112 is old sigstack */ /* 113 is old recvmsg */ /* 114 is old sendmsg */ diff --git a/sys/sys/syscall.mk b/sys/sys/syscall.mk index abc1835..ad471e8 100644 --- a/sys/sys/syscall.mk +++ b/sys/sys/syscall.mk @@ -1,7 +1,7 @@ # FreeBSD system call names. # DO NOT EDIT-- this file is automatically generated. # $FreeBSD$ -# created from FreeBSD: src/sys/kern/syscalls.master,v 1.65 1999/09/29 15:01:21 marcel Exp +# created from FreeBSD: src/sys/kern/syscalls.master,v 1.66 1999/10/12 09:29:53 marcel Exp MIASM = \ syscall.o \ exit.o \ @@ -44,13 +44,10 @@ MIASM = \ getegid.o \ profil.o \ ktrace.o \ - osigaction.o \ getgid.o \ - osigprocmask.o \ getlogin.o \ setlogin.o \ acct.o \ - osigpending.o \ sigaltstack.o \ ioctl.o \ reboot.o \ @@ -85,11 +82,9 @@ MIASM = \ socket.o \ connect.o \ getpriority.o \ - osigreturn.o \ bind.o \ setsockopt.o \ listen.o \ - osigsuspend.o \ gettimeofday.o \ getrusage.o \ getsockopt.o \ diff --git a/sys/sys/sysproto.h b/sys/sys/sysproto.h index d80e69c..66f0641 100644 --- a/sys/sys/sysproto.h +++ b/sys/sys/sysproto.h @@ -3,7 +3,7 @@ * * DO NOT EDIT-- this file is automatically generated. * $FreeBSD$ - * created from FreeBSD: src/sys/kern/syscalls.master,v 1.65 1999/09/29 15:01:21 marcel Exp + * created from FreeBSD: src/sys/kern/syscalls.master,v 1.66 1999/10/12 09:29:53 marcel Exp */ #ifndef _SYS_SYSPROTO_H_ @@ -188,18 +188,9 @@ struct ktrace_args { int facs; char facs_[PAD_(int)]; int pid; char pid_[PAD_(int)]; }; -struct osigaction_args { - int signum; char signum_[PAD_(int)]; - struct osigaction * nsa; char nsa_[PAD_(struct osigaction *)]; - struct osigaction * osa; char osa_[PAD_(struct osigaction *)]; -}; struct getgid_args { register_t dummy; }; -struct osigprocmask_args { - int how; char how_[PAD_(int)]; - osigset_t mask; char mask_[PAD_(osigset_t)]; -}; struct getlogin_args { char * namebuf; char namebuf_[PAD_(char *)]; u_int namelen; char namelen_[PAD_(u_int)]; @@ -358,9 +349,6 @@ struct getpriority_args { int which; char which_[PAD_(int)]; int who; char who_[PAD_(int)]; }; -struct osigreturn_args { - struct osigcontext * sigcntxp; char sigcntxp_[PAD_(struct osigcontext *)]; -}; struct bind_args { int s; char s_[PAD_(int)]; caddr_t name; char name_[PAD_(caddr_t)]; @@ -377,9 +365,6 @@ struct listen_args { int s; char s_[PAD_(int)]; int backlog; char backlog_[PAD_(int)]; }; -struct osigsuspend_args { - osigset_t mask; char mask_[PAD_(osigset_t)]; -}; struct gettimeofday_args { struct timeval * tp; char tp_[PAD_(struct timeval *)]; struct timezone * tzp; char tzp_[PAD_(struct timezone *)]; @@ -983,13 +968,10 @@ int pipe __P((struct proc *, struct pipe_args *)); int getegid __P((struct proc *, struct getegid_args *)); int profil __P((struct proc *, struct profil_args *)); int ktrace __P((struct proc *, struct ktrace_args *)); -int osigaction __P((struct proc *, struct osigaction_args *)); int getgid __P((struct proc *, struct getgid_args *)); -int osigprocmask __P((struct proc *, struct osigprocmask_args *)); int getlogin __P((struct proc *, struct getlogin_args *)); int setlogin __P((struct proc *, struct setlogin_args *)); int acct __P((struct proc *, struct acct_args *)); -int osigpending __P((struct proc *, struct osigpending_args *)); int sigaltstack __P((struct proc *, struct sigaltstack_args *)); int ioctl __P((struct proc *, struct ioctl_args *)); int reboot __P((struct proc *, struct reboot_args *)); @@ -1024,11 +1006,9 @@ int setpriority __P((struct proc *, struct setpriority_args *)); int socket __P((struct proc *, struct socket_args *)); int connect __P((struct proc *, struct connect_args *)); int getpriority __P((struct proc *, struct getpriority_args *)); -int osigreturn __P((struct proc *, struct osigreturn_args *)); int bind __P((struct proc *, struct bind_args *)); int setsockopt __P((struct proc *, struct setsockopt_args *)); int listen __P((struct proc *, struct listen_args *)); -int osigsuspend __P((struct proc *, struct osigsuspend_args *)); int gettimeofday __P((struct proc *, struct gettimeofday_args *)); int getrusage __P((struct proc *, struct getrusage_args *)); int getsockopt __P((struct proc *, struct getsockopt_args *)); @@ -1180,6 +1160,15 @@ struct olstat_args { char * path; char path_[PAD_(char *)]; struct ostat * ub; char ub_[PAD_(struct ostat *)]; }; +struct osigaction_args { + int signum; char signum_[PAD_(int)]; + struct osigaction * nsa; char nsa_[PAD_(struct osigaction *)]; + struct osigaction * osa; char osa_[PAD_(struct osigaction *)]; +}; +struct osigprocmask_args { + int how; char how_[PAD_(int)]; + osigset_t mask; char mask_[PAD_(osigset_t)]; +}; struct ofstat_args { int fd; char fd_[PAD_(int)]; struct ostat * sb; char sb_[PAD_(struct ostat *)]; @@ -1218,6 +1207,9 @@ struct orecv_args { int len; char len_[PAD_(int)]; int flags; char flags_[PAD_(int)]; }; +struct osigreturn_args { + struct osigcontext * sigcntxp; char sigcntxp_[PAD_(struct osigcontext *)]; +}; struct osigvec_args { int signum; char signum_[PAD_(int)]; struct sigvec * nsv; char nsv_[PAD_(struct sigvec *)]; @@ -1229,6 +1221,9 @@ struct osigblock_args { struct osigsetmask_args { int mask; char mask_[PAD_(int)]; }; +struct osigsuspend_args { + osigset_t mask; char mask_[PAD_(osigset_t)]; +}; struct osigstack_args { struct sigstack * nss; char nss_[PAD_(struct sigstack *)]; struct sigstack * oss; char oss_[PAD_(struct sigstack *)]; @@ -1281,6 +1276,9 @@ int ocreat __P((struct proc *, struct ocreat_args *)); int olseek __P((struct proc *, struct olseek_args *)); int ostat __P((struct proc *, struct ostat_args *)); int olstat __P((struct proc *, struct olstat_args *)); +int osigaction __P((struct proc *, struct osigaction_args *)); +int osigprocmask __P((struct proc *, struct osigprocmask_args *)); +int osigpending __P((struct proc *, struct osigpending_args *)); int ofstat __P((struct proc *, struct ofstat_args *)); int ogetkerninfo __P((struct proc *, struct getkerninfo_args *)); int ogetpagesize __P((struct proc *, struct getpagesize_args *)); @@ -1291,9 +1289,11 @@ int osethostname __P((struct proc *, struct sethostname_args *)); int oaccept __P((struct proc *, struct accept_args *)); int osend __P((struct proc *, struct osend_args *)); int orecv __P((struct proc *, struct orecv_args *)); +int osigreturn __P((struct proc *, struct osigreturn_args *)); int osigvec __P((struct proc *, struct osigvec_args *)); int osigblock __P((struct proc *, struct osigblock_args *)); int osigsetmask __P((struct proc *, struct osigsetmask_args *)); +int osigsuspend __P((struct proc *, struct osigsuspend_args *)); int osigstack __P((struct proc *, struct osigstack_args *)); int orecvmsg __P((struct proc *, struct orecvmsg_args *)); int osendmsg __P((struct proc *, struct osendmsg_args *)); |