diff options
| author | Kacper <kacper@mail.openlinux.dev> | 2025-12-07 22:22:16 +0100 |
|---|---|---|
| committer | Kacper <kacper@mail.openlinux.dev> | 2025-12-07 22:22:16 +0100 |
| commit | 8f9e448b2ef6db7cd905540c21f3c5b190e7a1e7 (patch) | |
| tree | ae0285dd15042d1e9236a5ce2e60daf65acbdca0 /lib/libc/signal | |
| parent | fc00c656c96528112d05cf0edf8631bd5eaea446 (diff) | |
Add bin/true and bin/false implementations
- Added assembly implementations for `true` and `false` commands.
- Updated Kbuild files to include new binaries.
- Removed unused libraries and headers.
- Cleaned up makefile and unused code.
Diffstat (limited to 'lib/libc/signal')
| -rw-r--r-- | lib/libc/signal/Kbuild | 21 | ||||
| -rw-r--r-- | lib/libc/signal/pthread_sigmask.c | 1 |
2 files changed, 22 insertions, 0 deletions
diff --git a/lib/libc/signal/Kbuild b/lib/libc/signal/Kbuild new file mode 100644 index 00000000..b8881c92 --- /dev/null +++ b/lib/libc/signal/Kbuild @@ -0,0 +1,21 @@ +obj-y += kill.o +obj-y += killpg.o +obj-y += psiginfo.o +obj-y += psignal.o +obj-y += pthread_kill.o +obj-y += pthread_sigmask.o +obj-y += raise.o +obj-y += sig2str.o +obj-y += sigaction.o +obj-y += sigaddset.o +obj-y += sigemptyset.o +obj-y += sigismember.o +obj-y += signal.o +obj-y += sigpending.o +obj-y += sigprocmask.o +obj-y += sigqueue.o +obj-y += sigsuspend.o +obj-y += sigtimedwait.o +obj-y += sigwait.o +obj-y += sigwaitinfo.o +obj-y += str2sig.o diff --git a/lib/libc/signal/pthread_sigmask.c b/lib/libc/signal/pthread_sigmask.c index 1b83e1fe..4fcc278f 100644 --- a/lib/libc/signal/pthread_sigmask.c +++ b/lib/libc/signal/pthread_sigmask.c @@ -1,6 +1,7 @@ #include <errno.h> #include <asm-generic/signal.h> #include <libc.h> +#include <stddef.h> int sigdelset(sigset_t *, int); int sigismember(const sigset_t *, int); |
