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 /bin/false/arch | |
| 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 'bin/false/arch')
| -rw-r--r-- | bin/false/arch/Kbuild | 1 | ||||
| -rw-r--r-- | bin/false/arch/x86_64/Kbuild | 1 | ||||
| -rw-r--r-- | bin/false/arch/x86_64/false.s | 6 |
3 files changed, 8 insertions, 0 deletions
diff --git a/bin/false/arch/Kbuild b/bin/false/arch/Kbuild new file mode 100644 index 00000000..ad3a7486 --- /dev/null +++ b/bin/false/arch/Kbuild @@ -0,0 +1 @@ +obj-y += $(ARCH)/ diff --git a/bin/false/arch/x86_64/Kbuild b/bin/false/arch/x86_64/Kbuild new file mode 100644 index 00000000..9958368e --- /dev/null +++ b/bin/false/arch/x86_64/Kbuild @@ -0,0 +1 @@ +obj-y += false.o diff --git a/bin/false/arch/x86_64/false.s b/bin/false/arch/x86_64/false.s new file mode 100644 index 00000000..f1f36b6b --- /dev/null +++ b/bin/false/arch/x86_64/false.s @@ -0,0 +1,6 @@ +.globl _start + +_start: + mov $60, %rax + mov $1, %rdi + syscall |
