Commit graph

2451 commits

Author SHA1 Message Date
Jonas 'Sortie' Termansen
7098286b34 Rename struct DIR to struct __DIR. 2015-08-22 01:29:37 +02:00
Jonas 'Sortie' Termansen
b8c91e36f4 Remove FLOAT_WORD_ORDER. 2015-08-22 01:29:37 +02:00
Jonas 'Sortie' Termansen
75cf34cb8e Add random device. 2015-08-22 01:04:58 +02:00
Jonas 'Sortie' Termansen
6405e2ea6e Add arc4random support to the kernel. 2015-08-22 01:04:58 +02:00
Jonas 'Sortie' Termansen
5ba37a9924 Honor feature macros in <termios.h>. 2015-08-22 00:44:39 +02:00
Jonas 'Sortie' Termansen
d7b1dce054 Dumb down echo(1).
Options and escape sequences are fatally incompatible with historic echo
that has no room for such extensions. Instead they pose risk because it is
harder to use echo on unvalidated input safely and because any further
extensions potentially break existing scripts. Use printf(1) instead.
2015-08-22 00:44:39 +02:00
Jonas 'Sortie' Termansen
91ab47f99c Deprecate stdio_ext API. 2015-08-21 21:25:01 +02:00
Jonas 'Sortie' Termansen
20698b35c7 Refactor kernel log. 2015-08-21 21:25:01 +02:00
Jonas 'Sortie' Termansen
77467b7768 Detect physical memory before initializing the kernel log. 2015-08-21 21:25:00 +02:00
Jonas 'Sortie' Termansen
218875eb79 Initialize paging before KernelInit. 2015-08-21 21:25:00 +02:00
Jonas 'Sortie' Termansen
a422c394b8 Initialize the GDT in the bootstrap assembly. 2015-08-21 21:25:00 +02:00
Jonas 'Sortie' Termansen
cf55531aae Make nfds_t size_t. 2015-08-21 21:25:00 +02:00
Jonas 'Sortie' Termansen
248f446089 Remove st_atime, st_ctime and st_mtime deprecation warnings.
This battle isn't worth fighting at this time.
2015-08-21 21:25:00 +02:00
Jonas 'Sortie' Termansen
ef45218660 Add S_ISGID and S_ISUID.
I originally left them out because Sortix doesn't have setuid and setgid
executable support, but this created considerable compatibility issues and
it is better to supply them as the mode bits still exist and can be set.
2015-08-21 21:25:00 +02:00
Jonas 'Sortie' Termansen
c7165cdcb4 Add /sbin to PATH. 2015-08-21 21:24:53 +02:00
Jonas 'Sortie' Termansen
a5eacdbdcc Fix log terminal write insecure copying. 2015-08-21 20:41:33 +02:00
Jonas 'Sortie' Termansen
6cf07034d5 Fix missing parenthesizes in <sys/wait.h> macros. 2015-08-14 17:26:07 +02:00
Jonas 'Sortie' Termansen
840c8e6b02 Fix pager double prompt if paging during special character. 2015-08-14 17:26:07 +02:00
Jonas 'Sortie' Termansen
158716f96a Fix ctype invocations with wrong domain. 2015-08-11 15:57:56 +02:00
Jonas 'Sortie' Termansen
ec38222f9b Fix head(1) and tail(1) directory handling. 2015-08-11 15:57:55 +02:00
Jonas 'Sortie' Termansen
a306193824 Fix mkinitrd default uid and gid not being root. 2015-08-01 14:02:23 +02:00
Jonas 'Sortie' Termansen
cd21cd41c3 Fix tix-collection multiarch compatibility applying to Sortix. 2015-07-28 22:01:44 +02:00
Jonas 'Sortie' Termansen
1dee12e58e Fix typo in initrd extraction failure panic. 2015-07-28 22:01:44 +02:00
Jonas 'Sortie' Termansen
320b953e20 Fix libm makefile missing quotes around grep pattern. 2015-07-09 19:20:50 +02:00
Jonas 'Sortie' Termansen
fffefeba8f Fix execve(2) keeping program descriptors open. 2015-07-09 19:20:49 +02:00
Jonas 'Sortie' Termansen
4df23d9a36 Fix README typos. 2015-06-29 17:17:55 +02:00
Jonas 'Sortie' Termansen
0cdedb4008 Fix duplicate 1972 row in the leap second table. 2015-06-29 17:13:06 +02:00
Jonas 'Sortie' Termansen
6d052efd19 Fix unbounded memory usage and infinite loop in fgetgrent_r(3). 2015-06-27 17:06:44 +02:00
Jonas 'Sortie' Termansen
53f20c5519 Fix printf checking of print_string utility functions. 2015-06-27 17:06:44 +02:00
Jonas 'Sortie' Termansen
e001dca46b Fix LOCALEDIR make variable. 2015-06-27 17:06:44 +02:00
Jonas 'Sortie' Termansen
13e8e092a6 Fix mkostemps and mkdtemp not restoring X's on error. 2015-06-27 17:06:43 +02:00
Jonas 'Sortie' Termansen
447f0596ad Fix FSM_RESP_TCGETWINCURPOS being equal to FSM_REQ_STATVFS. 2015-06-27 17:06:43 +02:00
Jonas 'Sortie' Termansen
d235251139 Fix AbstractInode::statvfs not setting f_favail. 2015-06-27 17:06:43 +02:00
Jonas 'Sortie' Termansen
779bbe19dd Fix vulnerability if p_filesz exceeds p_memsz in ELF loader. 2015-06-27 17:06:43 +02:00
Jonas 'Sortie' Termansen
c81610f7a3 Fix du counting block devices. 2015-06-27 17:06:43 +02:00
Jonas 'Sortie' Termansen
8d89a6f8ad Fix poll(2) timeout not being miliseconds. 2015-06-27 17:06:43 +02:00
Jonas 'Sortie' Termansen
2291076f19 Fix poll zero timeout not being instant wakeup. 2015-06-27 17:06:43 +02:00
Jonas 'Sortie' Termansen
40594eba1c Fix sort(1) reverse sort not working. 2015-06-27 17:06:43 +02:00
Jonas 'Sortie' Termansen
c4077e9a4b Fix isosrc not being copied to /src. 2015-06-27 17:06:33 +02:00
Jonas 'Sortie' Termansen
9acc74de28 Fix read-only mmap with backing store. 2015-06-27 17:06:33 +02:00
Jonas 'Sortie' Termansen
423fbad835 Fix perror(3) compliance. 2015-06-27 17:06:32 +02:00
Jonas 'Sortie' Termansen
d068a352f7 Fix missing lock in kernel descriptor fork. 2015-06-27 17:06:32 +02:00
Jonas 'Sortie' Termansen
5589085084 Fix unlinkat potentially following paths twice. 2015-06-27 17:06:32 +02:00
Jonas 'Sortie' Termansen
8c0252300e Fix strtol isspace calls. 2015-05-15 16:18:41 +02:00
Jonas 'Sortie' Termansen
1d7c157848 Fix ls closing stdout twice. 2015-05-15 16:18:41 +02:00
Jonas 'Sortie' Termansen
f3e4be0d83 Fix getdelim(3). 2015-05-15 16:18:40 +02:00
Jonas 'Sortie' Termansen
86c5bc52b3 Fix PipeNode destructor not being virtual. 2015-05-15 16:18:19 +02:00
Jonas 'Sortie' Termansen
e259e8ae52 Use standard compiler environment variables. 2015-05-10 16:56:22 +02:00
Jonas 'Sortie' Termansen
d05bc1c6f5 Fix foo-all-archs targets. 2015-04-25 23:11:46 +02:00
Jonas 'Sortie' Termansen
0f9a3d93a6 Use SORTIX_SYSROOT instead of SYSROOT in cross-development. 2015-04-25 16:02:55 +02:00