]> xenbits.xensource.com Git - unikraft/unikraft.git/commit
lib/posix-process/signals: Fix conditional for sigsetops
authorMichalis Pappas <michalis@unikraft.io>
Tue, 1 Apr 2025 05:57:45 +0000 (07:57 +0200)
committerUnikraft Bot <monkey@unikraft.io>
Thu, 17 Apr 2025 12:43:24 +0000 (12:43 +0000)
commit9e9982c01361635b6ce0e47e1a379a4dd4e7c512
treef2d482388d39b0f23b157a67bbec645325911538
parent54c730bb6649f70866b5ac6dbac395c3ff1b0ff4
lib/posix-process/signals: Fix conditional for sigsetops

The implementation of sigsetops was conditional to HAVE_LIBC instead of
CONFIG_HAVE_LIBC, causing a build error when musl is used, due to the
definiton of sigset_t to different types. Update the conditional to fix.
Notice that this works as each flavor of libc controls both the type
and the implementation of the functions that operate on it.

Signed-off-by: Michalis Pappas <michalis@unikraft.io>
Reviewed-by: Sergiu Moga <sergiu@unikraft.io>
Reviewed-by: Andrei Tatar <andrei@unikraft.io>
Approved-by: Andrei Tatar <andrei@unikraft.io>
GitHub-Closes: #1626
lib/posix-process/signal/sigset.c