Commit Graph

1243 Commits

Author SHA1 Message Date
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
Jonas 'Sortie' Termansen 9d48de4035 Remove <sortix/kernel/endian.h>. 2013-12-17 14:30:44 +01:00
Jonas 'Sortie' Termansen d0c7ca3c02 Port sortix/pci.h from <sortix/kernel/endian.h> to <endian.h>. 2013-12-17 14:30:44 +01:00
Jonas 'Sortie' Termansen 984397565f Link crtbegin.o and crtend.o into the kernel. 2013-12-17 14:30:44 +01:00
Jonas 'Sortie' Termansen 30a95dfa1e Split parts of <features.h> into <sys/cdefs.h>. 2013-12-17 14:30:44 +01:00
Jonas 'Sortie' Termansen 6f5989614e Add SIGPROF. 2013-12-17 14:30:44 +01:00
Jonas 'Sortie' Termansen 8961a99280 Add AF_LOCAL and PF_LOCAL. 2013-12-17 14:30:44 +01:00
Jonas 'Sortie' Termansen 3166413eef Properly implement memmove(3). 2013-12-17 14:30:44 +01:00
Jonas 'Sortie' Termansen 2f261b3848 Port column(1) to GNU and POSIX systems. 2013-12-17 14:30:44 +01:00
Jonas 'Sortie' Termansen 0738e9bf3c Add du(1). 2013-12-17 14:30:44 +01:00
Jonas 'Sortie' Termansen 51d965d6eb Add wc(1). 2013-12-17 14:30:44 +01:00
Jonas 'Sortie' Termansen 3e5a6644c8 Improve implementation of pwd(1). 2013-12-17 14:30:44 +01:00
Jonas 'Sortie' Termansen a7b03af9cc Improve implementation of cat(1). 2013-12-17 14:30:44 +01:00
Jonas 'Sortie' Termansen ad9a90926d Add O_NOFOLLOW. 2013-12-17 14:30:44 +01:00
Jonas 'Sortie' Termansen 97621d4661 Use getlogin(3) in the shell instead of the USERNAME variable. 2013-12-17 14:30:44 +01:00
Jonas 'Sortie' Termansen ca2de62ea7 Use the <pwd.h> API in getlogin_r(3). 2013-12-17 14:30:44 +01:00