Browse Source

sigstack() is long dead, and the compat sigaltstack syscall is gone too.

Correct the namespace protections for sigreturn(), sigwait(), and psignal()
ok millert@
OPENBSD_5_1
guenther 13 years ago
parent
commit
deb097fad0
1 changed files with 6 additions and 5 deletions
  1. +6
    -5
      src/include/signal.h

+ 6
- 5
src/include/signal.h View File

@ -1,4 +1,4 @@
/* $OpenBSD: signal.h,v 1.15 2011/07/06 17:39:22 guenther Exp $ */
/* $OpenBSD: signal.h,v 1.16 2011/11/22 21:13:30 guenther Exp $ */
/* $NetBSD: signal.h,v 1.8 1996/02/29 00:04:57 jtc Exp $ */ /* $NetBSD: signal.h,v 1.8 1996/02/29 00:04:57 jtc Exp $ */
/*- /*-
@ -105,19 +105,20 @@ __only_inline int sigismember(const sigset_t *set, int signo) {
int killpg(pid_t, int); int killpg(pid_t, int);
int siginterrupt(int, int); int siginterrupt(int, int);
int sigpause(int); int sigpause(int);
int sigreturn(struct sigcontext *);
int sigstack(const struct sigstack *, struct sigstack *);
int sigaltstack(const struct sigaltstack *, struct sigaltstack *); int sigaltstack(const struct sigaltstack *, struct sigaltstack *);
#if __BSD_VISIBLE #if __BSD_VISIBLE
void psignal(unsigned int, const char *);
int sigblock(int); int sigblock(int);
int sigreturn(struct sigcontext *);
int sigsetmask(int); int sigsetmask(int);
int sigvec(int, struct sigvec *, struct sigvec *); int sigvec(int, struct sigvec *, struct sigvec *);
#endif #endif
#endif /* __BSD_VISIBLE || __XPG_VISIBLE >= 420 */
#if __BSD_VISIBLE || __POSIX_VISIBLE >= 199309 || __XPG_VISIBLE >= 500 #if __BSD_VISIBLE || __POSIX_VISIBLE >= 199309 || __XPG_VISIBLE >= 500
int sigwait(const sigset_t *, int *); int sigwait(const sigset_t *, int *);
#endif #endif
#endif /* __BSD_VISIBLE || __XPG_VISIBLE >= 420 */
#if __BSD_VISIBLE || __POSIX_VISIBLE >= 200809
void psignal(unsigned int, const char *);
#endif
#endif /* __BSD_VISIBLE || __POSIX_VISIBLE || __XPG_VISIBLE */ #endif /* __BSD_VISIBLE || __POSIX_VISIBLE || __XPG_VISIBLE */
__END_DECLS __END_DECLS


Loading…
Cancel
Save