Commit Graph

253 Commits

Author SHA1 Message Date
Giacomo Tesio 01451943ec last minutes cleanup 2022-01-05 16:59:31 +00:00
Giacomo Tesio 1e34cf5efb copyright: update 9front's url (they moved from hg to git) 2021-12-30 00:55:39 +01:00
Giacomo Tesio 0adf1b0431 new build: get rid of Go with few rc scripts. 2021-12-30 00:55:06 +01:00
Giacomo Tesio 922e993c41 libs, kernel and commands: re-enable -Werror 2020-11-15 13:30:09 +01:00
Giacomo Tesio 16c7924425 libs: get rid of libstdio (and stdio.h); `mv ctype.h chartypes.h` in /sys/include 2020-09-17 23:53:35 +02:00
Giacomo Tesio 0a325039bf gcc & system build: add `-9` and remove `--posix` from build files 2020-09-17 23:53:12 +02:00
Giacomo Tesio 72af45032e libposix: turn notes like "sys: trap: general protection violation" to SIGSEGV 2020-09-17 23:50:25 +02:00
Giacomo Tesio bb2a39cc74 kern: fix compilation warning; raise qa timeouts 2020-09-17 23:49:33 +02:00
Giacomo Tesio 7385e37b13 kern: usb uhci: fix test of ports in init() 2020-09-17 23:49:27 +02:00
Giacomo Tesio 75b451ea1c kern: move `load` from Mach to Sys 2020-09-17 23:49:26 +02:00
Giacomo Tesio 2f850291d5 rename libc to libjehanne; improve libposix
This is to avoid conflicts between standards' assumptions and Jehanne's choices
2020-09-17 23:48:27 +02:00
Giacomo Tesio 4067cb45cb libc: refactoring 2020-09-17 23:47:39 +02:00
Giacomo Tesio f104c46858 purge syscall macros 2020-09-17 23:45:23 +02:00
Giacomo Tesio 5f095a9605 temporarily disable -Werror 2020-09-17 23:43:57 +02:00
Giacomo Tesio 361a06f284 libc: move read and write to jehanne_ namespace (where they actually belong) 2020-09-17 23:43:56 +02:00
Giacomo Tesio 63d860eb99 u.h: refactoring of syscalls 2020-09-17 23:42:55 +02:00
Giacomo Tesio a15c1111b8 libposix: POSIX_rmdir 2019-11-20 00:19:59 +01:00
Giacomo Tesio b57585fdf4 libposix: fix cast warning 2019-11-19 01:36:08 +01:00
Giacomo Tesio 49da4de25c posix: POSIX_sysconf 2019-11-18 00:53:09 +01:00
Giacomo Tesio fcb7cbac52 sysconf.json: remove erroneous const in fd2path 2018-10-25 00:37:23 +02:00
Giacomo Tesio ca2300aa65 usb/disk: add a 100ms sleep after ums reset 2018-05-18 00:26:13 +02:00
Giacomo Tesio ea21d3cd2d libposix: add support for O_NONBLOCK
We keep a list of non blocking fds and use awake to
make them not block on read, write, pread and pwrite.
2018-01-15 22:37:27 +01:00
Giacomo Tesio 96f5c08548 cmd: hmi/pipeconsole -P serve /dev/tty instead of /dev/cons (for use with mksh) 2018-01-08 01:23:52 +01:00
Giacomo Tesio 2bf39bf38a kern: rename /dev/swap in /dev/sysmem
Jehanne has no SWAP.

And I do not want to explain to my daughters what SWAP **was**.
2018-01-07 07:14:08 +01:00
Giacomo Tesio d04c776f3c Fix Minnich's Copyrights
As far as I can remember the new `dc` argument added to the `mount`
system call is the only API innovation that I imported from Harvey-OS
in the Jehanne's kernel.

It's a great idea of Ronald G. Minnich, introduced at

	72777a1fab

Since he didn't amended the copyright statements in Harvey, I forgot
to amend it here.

Sorry, my fault.
2018-01-06 01:09:04 +01:00
Giacomo Tesio dd9aa0e0a6 More explicit Copyright in files 2018-01-06 01:09:04 +01:00
Giacomo Tesio c7d0f621c9 Clarify Forsyth's and 9front's copyrights
I'm very grateful to Charles Forsyth for creating most of Jehanne's kernel
and to 9front's guys for all the code and ideas they freely share.

Here I make their copyrights explicit as they had been erroneusly omitted
or messed up before. Sorry.
2018-01-05 02:30:45 +01:00
Giacomo Tesio 8ed3e74c3f libposix: fix setpgid: if the target process is already a group leader, do nothing 2017-12-25 13:13:09 +01:00
Giacomo Tesio 464eee3ed8 rc: use /dev/tty as a tty (not only /dev/cons) 2017-12-18 23:02:44 +01:00
Giacomo Tesio 001069aa7b libposix: deep refactor; add sys/posixly command
With these changes, libposix (and newlib) can run MirBSD Korn Shell.
2017-12-18 23:02:36 +01:00
Giacomo Tesio 2f99fb162f hmi/console: fix file owner for screenconsole
When boot starts screenconsole, the hostowner is still empty
2017-12-15 02:58:09 +01:00
Giacomo Tesio dcbea5d48d hmi/console: fix Qroot listing 2017-12-15 02:58:09 +01:00
Giacomo Tesio 1639097200 hmi/console: fix fd leak 2017-12-15 02:58:09 +01:00
Giacomo Tesio a86e2b506a sys/ctrace: try to restart stopped processes (why does not work?) 2017-12-15 02:58:09 +01:00
Giacomo Tesio f6e3784639 sys/ctrace: restart traced process when stopped by note 2017-12-15 02:58:09 +01:00
Giacomo Tesio bdce6c7f9c sys/ctrace: keep reading on exited process till there is something to read 2017-12-15 02:58:09 +01:00
Giacomo Tesio d9345701c5 sys/ctrace: use waitstop for command started with -c (since they imply hang) 2017-12-15 02:58:09 +01:00
Giacomo Tesio 8b3be08c21 cmds: use pexec in ns/clone 2017-12-15 02:58:09 +01:00
Giacomo Tesio 3ed0e3d41a cmds: add vt to the build 2017-12-15 02:58:09 +01:00
Giacomo Tesio dc76580668 cmd/acme: removed obsolete PATH manipulation 2017-12-15 02:58:09 +01:00
Giacomo Tesio 66e9a1b676 cmd/vt: export /dev/tty as alias for /dev/cons 2017-12-15 02:58:09 +01:00
Giacomo Tesio 132f2ccee0 cmd/vt: include envvars.h 2017-12-15 02:58:09 +01:00
Giacomo Tesio 5a2f74a22c cmds: sys/ctrace -o file; fix rfork handling
Added a -o option to sys/ctrace (if provided, must be the first option)
to redirect the output to a file.
2017-12-15 02:58:09 +01:00
Giacomo Tesio fd30599a90 cmds: fix rfork handling in sys/ctrace 2017-12-15 02:58:09 +01:00
Giacomo Tesio fc2e066ca0 cmd: import pstree from 9front 2017-12-15 02:58:09 +01:00
Giacomo Tesio 8c5dff6c0b libc: add pexec() to execute a command in $PATH 2017-12-15 02:58:09 +01:00
Giacomo Tesio 2dcdf47b04 libc: simplify getuser 2017-12-15 02:58:09 +01:00
Giacomo Tesio 7f1ba356f1 kern: devproc: forbid open(OWRITE) of notes in Broken proceses 2017-12-15 02:58:09 +01:00
Giacomo Tesio c48d0e46ec kern: do not read wdir size on Broken processes 2017-12-15 02:58:09 +01:00
Giacomo Tesio e0b8a369d0 kern: align stack pointer to 16 byte in notify 2017-12-15 02:58:09 +01:00