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/socket | |
| 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/socket')
| -rw-r--r-- | lib/libc/socket/Kbuild | 19 | ||||
| -rw-r--r-- | lib/libc/socket/listen.c | 2 |
2 files changed, 20 insertions, 1 deletions
diff --git a/lib/libc/socket/Kbuild b/lib/libc/socket/Kbuild new file mode 100644 index 00000000..18a25e8a --- /dev/null +++ b/lib/libc/socket/Kbuild @@ -0,0 +1,19 @@ +obj-y += accept.o +obj-y += accept4.o +obj-y += bind.o +obj-y += connect.o +obj-y += getpeername.o +obj-y += getsockname.o +obj-y += getsockopt.o +obj-y += listen.o +obj-y += recv.o +obj-y += recvfrom.o +obj-y += recvmsg.o +obj-y += send.o +obj-y += sendmsg.o +obj-y += sendto.o +obj-y += setsockopt.o +obj-y += shutdown.o +obj-y += sockatmark.o +obj-y += socket.o +obj-y += socketpair.o diff --git a/lib/libc/socket/listen.c b/lib/libc/socket/listen.c index 3b107450..2866fe27 100644 --- a/lib/libc/socket/listen.c +++ b/lib/libc/socket/listen.c @@ -3,5 +3,5 @@ int listen(int socket, int backlog) { - return syscall(listen, backlog); + return syscall(listen, socket, backlog); } |
