Commit Graph

1258 Commits

Author SHA1 Message Date
Jonas 'Sortie' Termansen b0d07b9142 Add the Tix package management system. 2013-12-19 18:09:08 +01:00
Jonas 'Sortie' Termansen dce618af93 Add local harddisk boot option. 2013-12-19 17:42:08 +01:00
Jonas 'Sortie' Termansen df419bdf55 Port Sortix build system to Sortix. 2013-12-19 17:42:08 +01:00
Jonas 'Sortie' Termansen 4cffc6b77b Add fnmatch(3). 2013-12-19 17:42:08 +01:00
Jonas 'Sortie' Termansen 500d3bb38b Add symlink(2) and symlinkat(2) stub. 2013-12-19 17:42:08 +01:00
Jonas 'Sortie' Termansen a0e2934c8c Recover kernel log during emergencies. 2013-12-19 17:42:08 +01:00
Jonas 'Sortie' Termansen eb831479fb Implement AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW. 2013-12-19 17:42:08 +01:00
Jonas 'Sortie' Termansen 2311d634ac Add O_SYMLINK_NOFOLLOW. 2013-12-19 17:42:08 +01:00
Jonas 'Sortie' Termansen 7651519f96 Color executables in ls(1). 2013-12-19 17:42:08 +01:00
Jonas 'Sortie' Termansen c407a24863 Allow the kernel to write to harddisks by default. 2013-12-19 17:42:07 +01:00
Jonas 'Sortie' Termansen 48931408f4 Make FILE a macro that expands to FILE.
This solves a compatibility problem with libgmp that erroneously attempts to
detect whether <stdio.h> has been included, but doesn't know what the include
guards for Sortix libc are.
2013-12-19 17:42:07 +01:00
Jonas 'Sortie' Termansen 866efbd11c Improve error message in case VGA text mode is unavailable. 2013-12-19 17:42:07 +01:00
Jonas 'Sortie' Termansen 951ecb625b Improve error message in case the initrd is too big. 2013-12-19 17:42:07 +01:00
Jonas 'Sortie' Termansen f8e7553187 Add false(1) and true(1). 2013-12-19 17:42:07 +01:00
Jonas 'Sortie' Termansen 425069cbf1 Add documentation. 2013-12-19 17:42:07 +01:00
Jonas 'Sortie' Termansen 184fce3cf3 Add basic wildcard support to the shell. 2013-12-17 14:30:46 +01:00
Jonas 'Sortie' Termansen 5703540c0f Start the initial root shell in root's home directory. 2013-12-17 14:30:46 +01:00
Jonas 'Sortie' Termansen b3b2e99b9c Perform only home path substitution in the shell if HOME is set. 2013-12-17 14:30:46 +01:00
Jonas 'Sortie' Termansen 5582cb4065 Set the root user's home directory, username and shell in init. 2013-12-17 14:30:46 +01:00
Jonas 'Sortie' Termansen 6a9eee3238 Add brand.h. 2013-12-17 14:30:46 +01:00
Jonas 'Sortie' Termansen b5509037bc Add command-not-found utility. 2013-12-17 14:30:46 +01:00
Jonas 'Sortie' Termansen 3de23d8cec Rewrite the Sortix text editor. 2013-12-17 14:30:46 +01:00
Jonas 'Sortie' Termansen 4e45844334 Add chain boot support to init. 2013-12-17 14:30:46 +01:00
Jonas 'Sortie' Termansen 25cc40a5f2 Add Master Boot Record partition scheme support. 2013-12-17 14:30:46 +01:00
Jonas 'Sortie' Termansen b308c764cf Add ext2 filesystem implementation. 2013-12-17 14:30:46 +01:00
Jonas 'Sortie' Termansen 0708482d9b Rewrite echo(1). 2013-12-17 14:30:46 +01:00
Jonas 'Sortie' Termansen caa1b7455c Add /dev/full. 2013-12-17 14:30:46 +01:00
Jonas 'Sortie' Termansen 5293d91808 Add /dev/zero. 2013-12-17 14:30:46 +01:00
Jonas 'Sortie' Termansen c833b054d5 Add <argp.h>. 2013-12-17 14:30:46 +01:00
Jonas 'Sortie' Termansen 616ef6c963 Add /dev/null. 2013-12-17 14:30:45 +01:00
Jonas 'Sortie' Termansen 33bf0d93ad Avoid libc conflicts with libstdc++. 2013-12-17 14:30:45 +01:00
Jonas 'Sortie' Termansen 358f2c4524 Remove unnecessary includes from <sortix/kernel/kernel.h> 2013-12-17 14:30:45 +01:00
Jonas 'Sortie' Termansen 291bb7afb3 Add missing includes to x86/process and x64/process.cpp. 2013-12-17 14:30:45 +01:00
Jonas 'Sortie' Termansen 2302350d78 Remove <sortix/kernel/platform.h>. 2013-12-17 14:30:45 +01:00
Jonas 'Sortie' Termansen 42d267793b Add missing includes to <sortix/kernel/interrupt.h>. 2013-12-17 14:30:45 +01:00
Jonas 'Sortie' Termansen e16edd71b5 Add missing includes to <sortix/kernel/crc32.h>. 2013-12-17 14:30:45 +01:00
Jonas 'Sortie' Termansen b09267c622 Add missing includes to <sortix/kernel/kthread.h>. 2013-12-17 14:30:45 +01:00
Jonas 'Sortie' Termansen d02b3422c1 Add missing includes to <sortix/kernel/cpu.h>. 2013-12-17 14:30:45 +01:00
Jonas 'Sortie' Termansen 2110ce2651 Add missing includes to <sortix/kernel/decl.h>. 2013-12-17 14:30:45 +01:00
Jonas 'Sortie' Termansen 0d3e35bd82 Add symbol size to SYSCALL_FUNCTION macro assembly. 2013-12-17 14:30:45 +01:00
Jonas 'Sortie' Termansen dbd07b6ade Update <sys/syscall.h> to current coding conventions. 2013-12-17 14:30:45 +01:00
Jonas 'Sortie' Termansen f6f861a72e Remove JSSORTIX reference from sortix/uart.cpp. 2013-12-17 14:30:45 +01:00
Jonas 'Sortie' Termansen d43a044575 Refactor assert(3). 2013-12-17 14:30:45 +01:00
Jonas 'Sortie' Termansen 9d4bc2a15f Grow kernel heap upwards.
Previously the kernel heap grew downwards for historical reasons. There is no
reason for this and it simplifies the heap implementation if it only grows
upwards. This also rearranges how the kernel virtual memory is allocated to
suit an upwards-growing heap.
2013-12-17 14:30:45 +01:00
Jonas 'Sortie' Termansen b9e463965b Split libc/stdlib/on_exit.cpp into multiple files. 2013-12-17 14:30:45 +01:00
Jonas 'Sortie' Termansen 8018a85a30 Fix wrong base parsing in strtol(3). 2013-12-17 14:30:45 +01:00
Jonas 'Sortie' Termansen db185ece7d Add <ar.h> header. 2013-12-17 14:30:45 +01:00
Jonas 'Sortie' Termansen e31b98c5a1 Improve standards conformance of asctime_r(3). 2013-12-17 14:30:45 +01:00
Jonas 'Sortie' Termansen 011ea58176 Rewrite vprintf_callback(3). 2013-12-17 14:30:44 +01:00
Jonas 'Sortie' Termansen 26add4c111 Update sortix/kernel.cpp to current coding conventions. 2013-12-17 14:30:44 +01:00