Commit graph

2658 commits

Author SHA1 Message Date
Jonas 'Sortie' Termansen
7da84494ab Add kblayout-compiler(1). 2015-12-19 02:21:15 +01:00
Jonas 'Sortie' Termansen
02f95d6c1c Add in6addr_any and in6addr_loopback. 2015-12-18 01:34:37 +01:00
Jonas 'Sortie' Termansen
610b60fa0d Import public domain <netinet/in.h> macros from musl. 2015-12-18 01:24:42 +01:00
Jonas 'Sortie' Termansen
75808c637d Add regex(3). 2015-12-17 23:32:43 +01:00
Jonas 'Sortie' Termansen
5a3e181975 Add stack smash protection support. 2015-12-12 22:53:07 +01:00
Jonas 'Sortie' Termansen
9b6d60d9d2 Add undefined behavior sanitizer support. 2015-12-12 22:53:07 +01:00
Jonas 'Sortie' Termansen
4b6b06bbc8 Add scram(2). 2015-12-12 22:53:07 +01:00
Jonas 'Sortie' Termansen
f2eb347e9f Fix PS2Keyboard memcpy(dest, NULL, 0) undefined behavior. 2015-12-12 22:53:07 +01:00
Jonas 'Sortie' Termansen
421f907055 Report ix86 model in uname(2). 2015-12-12 19:28:08 +01:00
Jonas 'Sortie' Termansen
ab27c85948 Implement sigaction(2) SA_RESETHAND. 2015-12-12 19:28:08 +01:00
Jonas 'Sortie' Termansen
a90151e508 Set MB_CUR_MAX to 4. 2015-12-12 19:28:08 +01:00
Jonas 'Sortie' Termansen
fd5a850e48 Use signal handlers in time(1) instead of process groups. 2015-12-12 19:28:08 +01:00
Jonas 'Sortie' Termansen
7d10c4caaa Add pager(1) -rR options. 2015-12-12 19:28:08 +01:00
Jonas 'Sortie' Termansen
e4cd654236 Increase default stack size of new threads to 80 KiB.
This fixes a crash where git has a 64 KiB stack buffer.
2015-12-12 19:28:08 +01:00
Jonas 'Sortie' Termansen
802c12e64a Implement ppoll(2) timeouts. 2015-12-12 19:28:08 +01:00
Jonas 'Sortie' Termansen
0045f18c81 Remove kernel Scheduler::Init(). 2015-12-12 19:28:07 +01:00
Jonas 'Sortie' Termansen
7185cb33c7 Remove setlocale thread safety.
This interface isn't standardized to be thread safe so nobody can rely on
it. Additionally this only thread secures setlocale, but not all the code
that might depend on the current locale, so it is pointless.
2015-12-12 19:28:07 +01:00
Jonas 'Sortie' Termansen
9d6bd9b830 Add stat(1). 2015-12-12 19:28:07 +01:00
Jonas 'Sortie' Termansen
6dce46c081 Add pstree(1). 2015-12-12 19:28:07 +01:00
Jonas 'Sortie' Termansen
416c87aed9 Add ps(1). 2015-12-12 19:28:07 +01:00
Jonas 'Sortie' Termansen
cee24359d8 Add psctl(2). 2015-12-12 19:28:07 +01:00
Jonas 'Sortie' Termansen
67af95c7ee Update command line parsing to current coding conventions. 2015-12-12 19:28:07 +01:00
Jonas 'Sortie' Termansen
4e918687ce Add kill(1). 2015-12-12 19:28:07 +01:00
Jonas 'Sortie' Termansen
716ac0dceb Fix logterminal TERMMODE_LINEBUFFER checking. 2015-12-12 19:28:07 +01:00
Jonas 'Sortie' Termansen
cf5c2706b3 Fix unintended extra fork in chroot(1). 2015-12-12 16:53:42 +01:00
Jonas 'Sortie' Termansen
23810c1a48 Fix snprintf(NULL, 0, ...) undefined behavior. 2015-12-12 16:53:42 +01:00
Jonas 'Sortie' Termansen
15fd58b6a0 Fix tr buffer overrun and shadowed delete array. 2015-12-12 16:53:42 +01:00
Jonas 'Sortie' Termansen
24cf8f42b8 Silence maybe initialized warning in sigsuspend. 2015-12-12 16:53:42 +01:00
Jonas 'Sortie' Termansen
32feba2709 Fix memcpy(dest, NULL, 0) undefined behavior. 2015-12-12 16:53:42 +01:00
Jonas 'Sortie' Termansen
ef36a94912 Fix incorrect flush error check in fputc_unlocked(3). 2015-12-12 16:53:42 +01:00
Jonas 'Sortie' Termansen
1acf16dea0 Fix kernel makefile finding crtbegin.o and crtend.o when not needed. 2015-12-12 16:53:42 +01:00
Jonas 'Sortie' Termansen
ba4fa25341 Fix mkinitrd creating unaligned structs. 2015-12-12 16:53:42 +01:00
Jonas 'Sortie' Termansen
b8f12a6856 Fix fread/fwrite zero division when size is zero. 2015-12-12 16:53:42 +01:00
Jonas 'Sortie' Termansen
0100b61855 Fix fflush(NULL) flushing input streams. 2015-12-12 16:53:42 +01:00
Jonas 'Sortie' Termansen
14a47ea15e Decide tix build triplets on Sortix without running cc. 2015-10-28 20:13:37 +01:00
Jonas 'Sortie' Termansen
1080ffa5fb Refactor and improve shell greatly. 2015-10-28 20:13:37 +01:00
Jonas 'Sortie' Termansen
54b80263a2 Add -d option to chroot(1). 2015-10-28 20:13:37 +01:00
Jonas 'Sortie' Termansen
f4995c24f4 Add kernel --init option. 2015-10-28 19:36:33 +01:00
Jonas 'Sortie' Termansen
62b5d45a78 Add kernel command line support. 2015-10-28 19:36:33 +01:00
Jonas 'Sortie' Termansen
fc637c8880 Prevent orphan processes from becoming zombies. 2015-10-28 19:36:33 +01:00
Jonas 'Sortie' Termansen
44d4807fc4 Add ENOMOUNT. 2015-10-28 19:36:33 +01:00
Jonas 'Sortie' Termansen
b2aae6094f Add mkinitrd support for multiple roots. 2015-10-28 16:28:17 +01:00
Jonas 'Sortie' Termansen
3191e18966 Cache only mkinitrd nodes with multiple hardlinks. 2015-10-28 16:28:17 +01:00
Jonas 'Sortie' Termansen
9554bab714 Add editor highlight support for diff. 2015-10-28 16:28:17 +01:00
Jonas 'Sortie' Termansen
09084cf12d Fix format nonliteral in psignal(3). 2015-10-28 16:07:36 +01:00
Jonas 'Sortie' Termansen
91087d9199 Fix iswgraph unicode support. 2015-10-28 16:07:36 +01:00
Jonas 'Sortie' Termansen
bae08f13ef Fix fsmarshall not handling users and groups.
This is an incompatible ABI change.
2015-10-28 16:07:36 +01:00
Jonas 'Sortie' Termansen
8a653584c4 Fix strtol multiplication overflow check. 2015-10-11 23:25:21 +02:00
Jonas 'Sortie' Termansen
f0f82fcb23 Fix tmpfile(3) insecure file creation. 2015-10-11 23:25:21 +02:00
Jonas 'Sortie' Termansen
7c6e6ef317 Fix kernel string copy from user-space. 2015-10-09 16:17:52 +02:00