Commit Graph

13 Commits

Author SHA1 Message Date
90c3415176 kernel: fix _procfdprint to use chan's flags 2017-10-25 01:17:31 +02:00
320e6e6f35 kern: clone $pid's namespace writing #p/$pid/ns
Any process X can get a new copy of the namespace of a target
process Y by writing the string "clone" to the ns file of Y.

The same user must own both processes.
The process writing the ns file must be allowed to mount.

The Pgrp of the calling process is then replaced with a new copy of
the Pgrp of the target process.

After the operation, any change done by X to its own namespace does
not affect Y. Also, if mount was forbidden for Y, it will also be
forbidden for X after the clone.
2017-10-24 23:28:14 +02:00
93dfad6b0b kernel: print proc info on addbroken 2017-08-12 23:32:35 +02:00
1c4a04cd30 qa: various fix to tests 2017-08-11 03:18:32 +02:00
4f97f4a80b qa: disable broken tests 2017-06-05 22:11:36 +02:00
2269a4bbd0 kernel: minimal test that panic the mmu code 2017-06-03 23:23:42 +02:00
a64a7b0d0e qa: check that notes cannot eat wait messages 2017-05-30 01:00:03 +02:00
1263399c0b qa: check devproc start/stop ctl msg 2017-05-07 19:32:55 +02:00
ecd6dddf86 qa/kern: ensure awake in signal handlers is not affected by sleep 2017-05-04 19:55:55 +02:00
0b193807b6 qa: ensure awake works correctly in signal handlers
Jehanne's notes (like Plan9 ones) are not reentrant.
Thus an alarm can not be used to interrupt a syscall in a note handler.

Awake instead works properly also in a note handler.
2017-05-04 01:07:32 +02:00
3b35743a64 qa: nested_note checks that notes are enqueued in kernel 2017-05-03 02:23:26 +02:00
37541724d0 kernel: add #0/brk and move brk_() to libc 2016-12-31 00:43:02 +01:00
38aca7a581 first usable version of kernel and commands
After an year of hard work, this is a first "usable" version of Jehanne.
2016-11-26 03:49:29 +01:00