Commit Graph

1913 Commits

Author SHA1 Message Date
Jonas 'Sortie' Termansen 3ef38cf936 Remove P_tmpdir. 2015-08-26 16:49:18 +02:00
Jonas 'Sortie' Termansen 59e7dd00c5 Add mkdtemps(3). 2015-08-26 16:49:18 +02:00
Jonas 'Sortie' Termansen fb29ff42e0 Optimize puts and fputs. 2015-08-26 16:29:18 +02:00
Jonas 'Sortie' Termansen 0fc3d70716 Clear registers after system calls. 2015-08-26 16:29:18 +02:00
Jonas 'Sortie' Termansen 33c7f48909 Add unset variable feature to tix-build. 2015-08-26 16:29:18 +02:00
Jonas 'Sortie' Termansen 095a264d26 Always set tool variables in tix-build. 2015-08-26 16:29:18 +02:00
Jonas 'Sortie' Termansen a79aeed0c1 Remove __BEGIN_DECLS and __END_DECLS. 2015-08-26 14:52:44 +02:00
Jonas 'Sortie' Termansen 5915e2cd14 Add closefrom(2). 2015-08-26 14:01:25 +02:00
Jonas 'Sortie' Termansen aa09f8cecc Simplify kernel PrepareLookup. 2015-08-22 01:29:38 +02:00
Jonas 'Sortie' Termansen f3f7ede68d Remove _DIRENT_HAVE_D_FOO and _D_BAR_NAMLEN. 2015-08-22 01:29:38 +02:00
Jonas 'Sortie' Termansen 4cb9ccfc4b Rename libc/time/times.cpp to libc/sys/times/times.cpp. 2015-08-22 01:29:37 +02:00
Jonas 'Sortie' Termansen 3750de1f11 Rename struct FILE to struct __FILE. 2015-08-22 01:29:37 +02:00
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