Commit Graph

15 Commits

Author SHA1 Message Date
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 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 f104c46858 purge syscall macros 2020-09-17 23:45:23 +02:00
Giacomo Tesio dd9aa0e0a6 More explicit Copyright in files 2018-01-06 01:09:04 +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 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 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 e70feee4a3 libc: introduce "jehanne_" namespace
With this commit all functions declared in libc.h have been renamed
with the "jehanne_" prefix. This is done for several reason:

- it removes conflicts during symbol resolution when linking
  standard C libraries like newlib or musl
- it allows programs depending on a standard C library to directly
  link to a library depending on our non standard libc (eg libsec).

To ease transiction two files are provided:

- sys/include/lib9.h that can be included instead of <libc.h> to use
  the old names (via a simple set of macros)
- sys/src/lib/c/lib9.c that can be compiled with a program where the
  macro provided by lib9.h are too dumb (see for example rc or grep).

In the kernel port/lib.h has been modified accordingly and some of
the functions it directly provides has been renamed too (eg malloc
in qmalloc.c and print in devcons.c).
2017-04-19 23:48:21 +02:00
Giacomo Tesio f52a185030 decouple Jehanne from 9P2000 (as much as needed)
Jehanne is going to use a new file protocol, but Plan 9 is really
coupled with 9P2000.

Renamed fcall.h as 9P2000.h and introduced specific constants such
as NP_OREAD, NP_OWRITE and so on, so that we can use different values
in the kernel and new protocol.

Renamed devmnt to devninep, since it's actually a device serving 9P2000
file systems.

Also, fixed 9P2000 support in Jehanne, that was broken with the introduction
of OSTAT.
2016-12-06 23:01:45 +01:00
Giacomo Tesio 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