Giacomo Tesio
df8bc2ce43
qa: increase rlockt1 timeout
2017-08-14 18:46:23 +02:00
Giacomo Tesio
21b5682a43
kernel: syspread: avoid negative offsets in dir reads
...
Should also fix CID 160109: Dereference after null check
2017-08-14 18:40:25 +02:00
Giacomo Tesio
da588d69ec
kernel: fpprocfork: fix CID 174315 (Missing break in switch)
2017-08-14 15:22:51 +02:00
Giacomo Tesio
8464d1a277
libmemdraw: fix CID 154389 (uninitialized variable)
2017-08-14 13:00:30 +02:00
Giacomo Tesio
93c784fa3f
libstdio: fix CID 174305 and CID 174302 (uninitialized variables)
2017-08-14 12:47:03 +02:00
Giacomo Tesio
033744b5be
kernel: awake: fix CID 174310: Out-of-bounds read
2017-08-13 21:59:03 +02:00
Giacomo Tesio
5f22403176
libstdio: fix uninitialized variable CID 174334
2017-08-13 21:50:44 +02:00
Giacomo Tesio
34e6b0adc2
kernel: boot: use "bootconsole" instead of "console" env var
2017-08-13 15:24:18 +02:00
Giacomo Tesio
c5466152f1
Revert "Revert "kernel: import sdahci from 9front""
...
This reverts commit ecc2125b28
.
2017-08-13 12:47:56 +02:00
Giacomo Tesio
1b4b6d1574
qa: reenable newlib's tests
2017-08-13 12:33:18 +02:00
Giacomo Tesio
d573d0a39c
qa: disable newlib's test 202-signals
2017-08-13 00:06:04 +02:00
Giacomo Tesio
99124f1578
qa: disable newlib's test 201-signals
...
For some reason it hangs on travis-ci.
2017-08-12 23:55:39 +02:00
Giacomo Tesio
e57ff30b63
qa: release cpu on newlib/201-signals and newlib/202-signals
2017-08-12 23:33:38 +02:00
Giacomo Tesio
93dfad6b0b
kernel: print proc info on addbroken
2017-08-12 23:32:35 +02:00
Giacomo Tesio
ecc2125b28
Revert "kernel: import sdahci from 9front"
...
This reverts commit d9975caeb0
.
2017-08-12 15:18:02 +02:00
Giacomo Tesio
6a4ef30523
devtools: coverity-scan: do nothing if not in $COVERITY_SCAN_BRANCH
2017-08-12 00:27:57 +02:00
Giacomo Tesio
aef20dca20
kernel: fix.c: fix inverted CHS bit
2017-08-11 06:12:44 +02:00
Giacomo Tesio
330b7cc217
awk: don't get into a infinite loop with eof while in string (thanks BurnZeZ)
2017-08-11 05:51:10 +02:00
Giacomo Tesio
d9975caeb0
kernel: import sdahci from 9front
2017-08-11 05:26:53 +02:00
Giacomo Tesio
c08d07bcde
libc: fix libthread by fixing RENDEZVOUS in qlock.c
2017-08-11 05:26:53 +02:00
Giacomo Tesio
6d242b3aa0
hjfs: import improvements from 9front
2017-08-11 05:09:34 +02:00
Giacomo Tesio
fa0a121f17
cmds.json: remove mc.c
2017-08-11 04:19:59 +02:00
Giacomo Tesio
c933abd811
devtools: update
2017-08-11 03:36:19 +02:00
Giacomo Tesio
34950f084e
cmds: remove old ms tool
2017-08-11 03:18:32 +02:00
Giacomo Tesio
a0f7e71d41
rc: do not mess up argv
2017-08-11 03:18:32 +02:00
Giacomo Tesio
1c4a04cd30
qa: various fix to tests
2017-08-11 03:18:32 +02:00
Giacomo Tesio
93dde48355
kernel: deep refactoring and cleanup
...
This large commit address several issues
- removed 386 directory: Jehanne is 64bit only
- simplified kernel options management
- rewritten boot process
- ported memory related stuff from 9front's 9/pc64
- removed devacpi
- removed old code
- deep refactor of awake syscall
- removed MCACHE support for mount
- fix libc's setjmp/longjmp
2017-08-11 03:18:32 +02:00
Giacomo Tesio
1bc08b7631
kernel: rendezvous(~0, ...) unconditionally blocks
...
This commit introduce a special rendezvous point at (void*)~0 that
cannot be reached by any process, since it's not added to the
rendezvous group.
This turns the rendezvous syscall to a cheap way to block until
either a note or a wakeup from awake(2) occurs.
This new feature is used in libc's sleep: the test qa/kern/fork_chain
has shown that using a stack address as rendezvous point is not safe enougth
for sleep, since two different process forked from the same function can
call sleep with the same base pointer. This lead the wakeup variable in
jehanne_sleep to have the same address on both process.
TODO add a test that show this behaviour in the old code.
2017-07-21 01:49:00 +02:00
Giacomo Tesio
c13d386ab5
libaml: import 9front's improvements
2017-07-21 01:34:34 +02:00
Giacomo Tesio
83e3161789
kernel: fix ancient bug in GDT initialization
2017-06-08 04:03:32 +02:00
Giacomo Tesio
2a38ee6ab6
qa: fix typo in test
2017-06-06 19:53:45 +02:00
Giacomo Tesio
4f97f4a80b
qa: disable broken tests
2017-06-05 22:11:36 +02:00
Giacomo Tesio
9f4472c3bb
kernel: simplified fork_chain test
2017-06-05 19:25:08 +02:00
Giacomo Tesio
2269a4bbd0
kernel: minimal test that panic the mmu code
2017-06-03 23:23:42 +02:00
Giacomo Tesio
87de13f1e0
kernel: mmuptpcheck: use less global memory
2017-05-31 01:10:18 +02:00
Giacomo Tesio
7108477c32
kernel: simplify mmuput
2017-05-30 22:41:44 +02:00
Giacomo Tesio
28c426055d
libposix: fix disposition for signals that are ignored by default
2017-05-30 01:15:25 +02:00
Giacomo Tesio
a64a7b0d0e
qa: check that notes cannot eat wait messages
2017-05-30 01:00:03 +02:00
Giacomo Tesio
6bd285bdaa
libposix: fix SIGCLD disposition; use PosixSIGCHLD to identify the signal when SIGCHLD == SIGCLD
2017-05-30 00:49:28 +02:00
Giacomo Tesio
c45cffeaf5
cmd: fix ancient bug on consolefs flush
2017-05-30 00:11:34 +02:00
Giacomo Tesio
a8d42cecc9
newlib: use SIGINT to avoid abort
2017-05-29 23:45:00 +02:00
Giacomo Tesio
e525113266
libposix: cleanups
2017-05-29 23:27:30 +02:00
Giacomo Tesio
d1e285f721
libposix: honor SIG_IGN by doing nothing (DRAFT)
2017-05-29 02:04:48 +02:00
Giacomo Tesio
9dc9001469
newlib: test ignored signals (broken)
2017-05-29 01:53:37 +02:00
Giacomo Tesio
559e5429ed
newlib: tests for sigchld
2017-05-29 01:42:08 +02:00
Giacomo Tesio
f6d44667f2
libposix: fix bind #p and POSIX_kill sigrtmin/sigrtmax usage
2017-05-29 01:11:07 +02:00
Giacomo Tesio
fe168aa55d
newlib: introduce tests for SIGCHLD
2017-05-26 02:12:42 +02:00
Giacomo Tesio
40ccb89835
libc: simplify Waitmsg
2017-05-26 01:55:09 +02:00
Giacomo Tesio
5ca0ef085c
newlib: fix test for SIGSTOP/SIGCONT
2017-05-26 00:39:47 +02:00
Giacomo Tesio
ac9969dadd
libposix: fix signals when no realtime signal is supported
2017-05-26 00:27:48 +02:00