]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add sigsetop extensions commonly found in musl libc and glibc
authorkevans <kevans@FreeBSD.org>
Thu, 12 Dec 2019 01:41:55 +0000 (01:41 +0000)
committerkevans <kevans@FreeBSD.org>
Thu, 12 Dec 2019 01:41:55 +0000 (01:41 +0000)
commit0cae8c4a40fb66f7c44eb91a260f51ff12ff68ee
tree538908982c9fe54ac78a9e672eb38bd4406701e2
parent0b8890615ff791c9ea195ded9c29fc76dd494380
Add sigsetop extensions commonly found in musl libc and glibc

These functions (sigandset, sigisemptyset, sigorset) are commonly available
in at least musl libc and glibc; sigorset, at least, has proven quite useful
in qemu-bsd-user work for tracking the current process signal mask in a more
self-documenting/aesthetically pleasing manner.

Reviewed by: bapt, jilles, pfg
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D22187
include/signal.h
lib/libc/gen/Makefile.inc
lib/libc/gen/Symbol.map
lib/libc/gen/sigsetops.3
lib/libc/gen/sigsetops.c
lib/libc/tests/gen/Makefile
lib/libc/tests/gen/sigsetops_test.c [new file with mode: 0644]