Commit Graph

17879 Commits

Author SHA1 Message Date
Giacomo Tesio 82fba2cb99 jehanne: pass argc & argv to __application_newlib_init 2017-11-23 01:18:58 +01:00
Giacomo Tesio bd9dbaca9f jehanne: mock ioctl and tcflush 2017-11-22 03:17:53 +01:00
Giacomo Tesio ddaa91f0e9 jehanne: fix fcntl(F_GETFD) 2017-11-20 01:14:10 +01:00
Giacomo Tesio d8eeb3b302 jehanne: define SIGCLD as SIGCHLD 2017-11-15 00:32:13 +01:00
Giacomo Tesio 1f8761d0ab jehanne: improve kernel errors management 2017-10-19 23:05:48 +02:00
Giacomo Tesio 03732ac23f jehanne: use libposix_translate_kernel_errors in default_error_translator 2017-10-13 04:12:43 +02:00
Giacomo Tesio cd23503dfd jehanne: add SEGV_MAPERR and SEGV_ACCERR to signal.h 2017-10-05 00:16:13 +02:00
Giacomo Tesio 18f83f51ea jehanne: add CLD_* constants for SIGCHLD 2017-10-04 00:39:52 +02:00
Giacomo Tesio 75921fd16e jehanne: implement setenv and unsetenv 2017-10-03 00:51:16 +02:00
Giacomo Tesio dfb145077c jehanne: in on_process_disposition use _REENT instead of _GLOBAL_REENT 2017-10-02 01:19:41 +02:00
Giacomo Tesio 05f05759ad jehanne: call atexit handlers on return from main 2017-10-01 22:39:53 +02:00
Giacomo Tesio 5c85f0f91d jehanne: move _fcntl_r to libposix_conf.c (to easily access fcntl.h) 2017-09-27 23:34:42 +02:00
Giacomo Tesio 8a57809fe4 jehanne: add fcntl 2017-09-27 00:39:07 +02:00
Giacomo Tesio f446c6513c jehanne: properly translate DMDIR in __stat_reader 2017-09-26 01:11:59 +02:00
Giacomo Tesio 011ef6c793 jehanne: add sys/stat.h 2017-09-25 00:30:42 +02:00
Giacomo Tesio 80499253a7 jehanne: draft termios functions 2017-09-25 00:14:44 +02:00
Giacomo Tesio d094dcaecf jehanne: siglongjmp 2017-09-24 16:35:57 +02:00
Giacomo Tesio 9369c56b97 jehanne: add sigqueue to Makefile 2017-09-24 14:59:06 +02:00
Giacomo Tesio 3b28c711f9 jehanne: fix sigwait; stub sigqueue 2017-09-22 02:10:52 +02:00
Giacomo Tesio cbfbffac50 jehanne: add alarm, sigwait, sigtimedwait and sigwaitinfo 2017-09-22 00:31:20 +02:00
Giacomo Tesio b52a46870f jehanne: add sys/_timespec.h 2017-09-21 00:15:03 +02:00
Giacomo Tesio 5aa0e08335 jehanne: add sigpending 2017-09-20 00:39:48 +02:00
Giacomo Tesio 0f0b5a3ca5 jehanne: fix Makefile; add sigsuspend 2017-09-19 00:19:28 +02:00
Giacomo Tesio fd7cb6bd3d jehanne: introduce sigaction; signal as macro 2017-09-18 00:23:10 +02:00
Giacomo Tesio 735eae7ab0 jehanne: remove raise from signal.c 2017-09-17 22:52:06 +02:00
Giacomo Tesio bf9f6865e6 jehanne: get SI_* values from posix.h 2017-09-15 00:58:20 +02:00
Giacomo Tesio 188433192c jehanne: deep refactoring of signals (WIP) 2017-09-14 00:25:19 +02:00
Giacomo Tesio 95383ee144 jehanne: define SIGNAL_PROVIDED in configure.host 2017-09-14 00:07:08 +02:00
Giacomo Tesio ed05094c78 jehanne: fix signal headers 2017-09-14 00:06:29 +02:00
Giacomo Tesio b891b3c8da jehanne: exploring a deep refactoring for signals 2017-09-13 01:37:54 +02:00
Giacomo Tesio 31d2a8df16 jehanne: define SIGRTMIN and SIGRTMAX 2017-09-13 00:17:01 +02:00
Giacomo Tesio db0b84d2e2 jehanne: add sigprocmask 2017-09-12 00:49:17 +02:00
Giacomo Tesio 7ce34f8fbf jehanne: implement various sigset functions 2017-09-12 00:27:45 +02:00
Giacomo Tesio 861774c0c8 jehanne: drafter sys/signal.h 2017-09-11 00:35:32 +02:00
Giacomo Tesio 7f5b6a5ef1 jehanne: add sigaction (in libposix_conf.c)
This implementation ignores both flags and mask:
- ignoring SA_SIGINFO in sa_flags means that sigaction forward to the signal machinery
- ignoring sa_mask means that no mask is set for the signal (but note that Jehanne's notes
  are not reentrant).
2017-09-10 23:42:01 +02:00
Giacomo Tesio cb02879013 jehanne: add getpgid 2017-09-07 23:34:29 +02:00
Giacomo Tesio 8194f38dc0 jehanne: add rename 2017-09-07 23:32:26 +02:00
Giacomo Tesio 7f64bcd6ac jehanne: let libposix define environ 2017-09-07 22:35:51 +02:00
Giacomo Tesio 775d703f25 jehanne: define _execve (directly used by libc/posix/execve.c) 2017-09-07 19:45:47 +02:00
Giacomo Tesio 4651a34e15 jehanne: add getpgrp 2017-09-07 00:45:20 +02:00
Giacomo Tesio dc3e8f850e jehanne: add chmod and fchmodat 2017-09-06 22:57:34 +02:00
Giacomo Tesio 656e79e567 jehanne: add umask 2017-09-06 22:57:00 +02:00
Giacomo Tesio 2c43a16b92 jehanne: add sys/termios.h 2017-09-06 00:37:03 +02:00
Giacomo Tesio 3cf88753d0 jehanne: added sys/ioctl.h (still to be implemented) 2017-09-05 23:57:41 +02:00
Giacomo Tesio c238125c93 jehanne: add get/set functions for uid, gid, euid, egid, pgid, sid, reuid... 2017-09-05 00:42:26 +02:00
Giacomo Tesio 9e4ae4bc97 jehanne: add readlink and readlinkat 2017-09-03 23:56:10 +02:00
Giacomo Tesio 7928dac6c6 jehanne: add setjmp.h 2017-09-03 22:27:44 +02:00
Giacomo Tesio 08c85f7606 jehanne: add sys/resource.h and getrusage 2017-09-03 22:19:40 +02:00
Giacomo Tesio ed6683643a jehanne: add lstat (as alias of stat), dup and dup2 2017-09-03 22:18:20 +02:00
Giacomo Tesio bae05fec4e jehanne: add chmod functions (just calling libposix) 2017-08-31 01:16:40 +02:00