]> xenbits.xensource.com Git - unikraft/libs/newlib.git/commit
Revisit process.c functions
authorCostin Lupu <costin.lupu@cs.pub.ro>
Wed, 4 Sep 2019 06:58:56 +0000 (09:58 +0300)
committerFelipe Huici <felipe.huici@neclab.eu>
Wed, 4 Sep 2019 12:05:24 +0000 (14:05 +0200)
commit47a00bec2d0a8330884841f24c200bcd80ee1d62
tree46c10137d95d727afdc4fb0a23f36b17a4d6e08c
parent5e42693d7ff5ad2babb476d4aa0203178d11b6ff
Revisit process.c functions

This patch revisits the functions in process.c, redistributes some of them and
implements the others. The remaining functions may very well be moved into an
internal "process" related library, but we will do this at another time. It's
worth saying that we set the PID of the unikernel to 1, saving the PID 0 for its
"parent", an invisibile process that is also not shown on Linux.

Redistributed functions:
- kill() and killpg() are moved to signal.c
- times() is moved to time.c

Signed-off-by: Costin Lupu <costin.lupu@cs.pub.ro>
Reviewed-by: Felipe Huici <felipe.huici@neclab.eu>
include/uk/process.h [new file with mode: 0644]
process.c
signal.c
time.c