From: GNU Libc Maintainers Date: Tue, 5 May 2020 18:12:38 +0000 (+0100) Subject: git-hurd_sigstate-PLT X-Git-Tag: archive/raspbian/2.30-7+rpi1^2~62 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=ca131e0f11b5ae1a526e48c0f677f499e9b1bff4;p=glibc.git git-hurd_sigstate-PLT committed for glibc 2.31 Gbp-Pq: Topic hurd-i386 Gbp-Pq: Name git-hurd_sigstate-PLT.diff --- diff --git a/hurd/hurdsig.c b/hurd/hurdsig.c index 940f84085..5ab07c0d8 100644 --- a/hurd/hurdsig.c +++ b/hurd/hurdsig.c @@ -161,6 +161,7 @@ _hurd_sigstate_delete (thread_t thread) free (ss); } } +libc_hidden_def (_hurd_sigstate_delete) /* Make SS a global receiver, with pthread signal semantics. */ void @@ -169,6 +170,7 @@ _hurd_sigstate_set_global_rcv (struct hurd_sigstate *ss) assert (ss->thread != MACH_PORT_NULL); ss->actions[0].sa_handler = SIG_IGN; } +libc_hidden_def (_hurd_sigstate_set_global_rcv) /* Check whether SS is a global receiver. */ static int @@ -194,6 +196,8 @@ _hurd_sigstate_unlock (struct hurd_sigstate *ss) if (sigstate_is_global_rcv (ss)) __spin_unlock (&_hurd_global_sigstate->lock); } +libc_hidden_def (_hurd_sigstate_lock) +libc_hidden_def (_hurd_sigstate_unlock) /* Retreive a thread's full set of pending signals, including the global ones if appropriate. SS must be locked. */ @@ -205,6 +209,7 @@ _hurd_sigstate_pending (const struct hurd_sigstate *ss) __sigorset (&pending, &pending, &_hurd_global_sigstate->pending); return pending; } +libc_hidden_def (_hurd_sigstate_pending) /* Clear a pending signal and return the associated detailed signal information. SS must be locked, and must have signal SIGNO diff --git a/sysdeps/hurd/include/hurd/signal.h b/sysdeps/hurd/include/hurd/signal.h index 8ceab328c..f4627a720 100644 --- a/sysdeps/hurd/include/hurd/signal.h +++ b/sysdeps/hurd/include/hurd/signal.h @@ -11,6 +11,11 @@ libc_hidden_proto (_hurd_exception2signal) libc_hidden_proto (_hurd_intr_rpc_mach_msg) libc_hidden_proto (_hurd_thread_sigstate) libc_hidden_proto (_hurd_raise_signal) +libc_hidden_proto (_hurd_sigstate_set_global_rcv) +libc_hidden_proto (_hurd_sigstate_lock) +libc_hidden_proto (_hurd_sigstate_pending) +libc_hidden_proto (_hurd_sigstate_unlock) +libc_hidden_proto (_hurd_sigstate_delete) #endif #ifdef _HURD_SIGNAL_H_HIDDEN_DEF libc_hidden_def (_hurd_self_sigstate)