From 8f9e448b2ef6db7cd905540c21f3c5b190e7a1e7 Mon Sep 17 00:00:00 2001 From: Kacper Date: Sun, 7 Dec 2025 22:22:16 +0100 Subject: 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. --- lib/libc/unistd/execlp.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'lib/libc/unistd/execlp.c') diff --git a/lib/libc/unistd/execlp.c b/lib/libc/unistd/execlp.c index 4613a7ee..db044d50 100644 --- a/lib/libc/unistd/execlp.c +++ b/lib/libc/unistd/execlp.c @@ -1,8 +1,6 @@ #include -#include -#include +#include -// TODO: need to find in path and call execl int execlp(const char *path, const char *argv0, ...) { int argc; @@ -23,5 +21,5 @@ int execlp(const char *path, const char *argv0, ...) argv[argc] = NULL; va_end(ap); - return syscall(execve, path, argv, 0); + return execve(path, argv, 0); } -- cgit v1.2.3