Commit Graph

117 Commits

Author SHA1 Message Date
Giacomo Tesio 171be01bc5 ksyscalls: mark syscalls done by note handler with ! 2017-11-24 23:12:51 +01:00
Giacomo Tesio 7baa50dd83 devtools: ksyscalls: set ExitPrint for fd2path, await and errstr 2017-11-22 02:39:00 +01:00
Giacomo Tesio 0a24d1ca1e mksh: no need for build/init_libc.c 2017-11-20 00:45:25 +01:00
Giacomo Tesio ee6977c8da ksyscalls: fix newlines and spaces 2017-11-17 00:46:47 +01:00
Giacomo Tesio e7e208bc06 mksh: rfork(RFENVG|RFFDG|RFREND|RFNOTEG) on init 2017-10-06 00:27:11 +02:00
Giacomo Tesio e0dd5825e2 mksh: rfork(RFENVG) on application init 2017-10-03 22:28:14 +02:00
Giacomo Tesio d98051f943 mksh: build in build/ dir; enable SIGCHLD
To build in mksh/build/ directory use:

  TARGET_OS=Jehanne CC=x86_64-jehanne-gcc CPPFLAGS="-g -ggdb -gdwarf-2 -O0" sh ../src/Build.sh -r
2017-09-26 01:09:43 +02:00
Giacomo Tesio d56055cf58 build.go: better rename of library objects 2017-09-20 00:14:07 +02:00
Giacomo Tesio 4970422b30 Merge remote-tracking branch 'origin/master' 2017-09-14 01:08:53 +02:00
Giacomo Tesio 5d8c601184 build.go: prefix library name to generated object files 2017-09-14 00:47:48 +02:00
Giacomo Tesio d4017ca6a9 mksh: define MKSH__NO_SYMLINK since Jehanne does not support them 2017-09-07 23:36:46 +02:00
Giacomo Tesio 5384da007a newlib: add rename and getpgid 2017-09-07 23:35:48 +02:00
Giacomo Tesio ba50776c90 newlib: add umask, chmod and fchmodat 2017-09-06 23:03:27 +02:00
Giacomo Tesio e286892bf9 fix #4 (really): use -device and -netdev options instead of -redir
The correct arguments to qemu are

	-netdev user,id=ethernet.0,hostfwd=tcp::5555-:1522,hostfwd=tcp::9999-:9,hostfwd=tcp::17010-:17010,hostfwd=tcp::17013-:17013
		to forward several host ports to the guests ports on ethernet.0
	-device rtl8139,netdev=ethernet.0
		to define the emulated hardware of ethernet.0

They are both required and the netdev's value of the -device option
must match the id's value of the -netdev option.
2017-09-04 22:56:36 +02:00
Giacomo Tesio 39de8b3851 mksh: no need for MKSH_NO_SIGSETJMP 2017-09-04 00:01:03 +02:00
Giacomo Tesio c67d96c262 newlib: add readlink and readlinkat 2017-09-03 23:58:59 +02:00
Giacomo Tesio 7e7d05ccc3 newlib: lstat, dup, dup2, getrusage and setjmp/longjmp 2017-09-03 22:28:50 +02:00
Giacomo Tesio 1c7d2a35fd fix #4: avoid qemu -redir option (thanks R41z) 2017-09-01 01:58:05 +02:00
Giacomo Tesio 9aabccdc3c mksh: fix submodule path 2017-09-01 01:07:26 +02:00
Giacomo Tesio 1bd4718a1b coverity: try to disable coverity scan for newlib 2017-09-01 00:50:43 +02:00
Giacomo Tesio 4a2ba8e03f start port of MirBSD Korn Shell 2017-09-01 00:45:54 +02:00
Giacomo Tesio c43299605e newlib: add chmod functions (just calling libposix) 2017-08-31 01:35:35 +02:00
Giacomo Tesio b7a9f208c3 QA.sh & runOver9P.sh: introduce qemu-user boot parameter 2017-08-30 23:15:17 +02:00
Giacomo Tesio 7b8ebef97c cross-toolchain: terminate init.sh when fetch fails (thanks R41z) 2017-08-30 23:11:16 +02:00
Giacomo Tesio 83eeb61e84 newlib: add access(2) 2017-08-28 21:56:27 +02:00
Giacomo Tesio 842aa7d30e ufs: better simulation of glenda user 2017-08-28 21:53:25 +02:00
Giacomo Tesio a623ffe52b newlib: initialize timeval and timezone reader for libposix 2017-08-25 23:29:59 +02:00
Giacomo Tesio fbf1f21d60 newlib: fix open_translator 2017-08-24 00:12:58 +02:00
Giacomo Tesio b34ddb3697 newlib.sh: print done when done 2017-08-23 05:31:00 +02:00
Giacomo Tesio 0141280485 newlib: define mkdir, chdir and fchdir 2017-08-23 05:17:41 +02:00
Giacomo Tesio 7cd782136f newlib: handle POSIX_chmod and POSIX_fchmod in default_error_translator 2017-08-23 01:08:22 +02:00
Giacomo Tesio 12f1413af2 newlib: introduce libposix_getdents machinery 2017-08-22 01:44:46 +02:00
Giacomo Tesio 53fd6ebf5a newlib: several additions (posix and unix plus getcwd, getlogin, getlogin_r, getpass, pread and pwrite) 2017-08-21 00:18:23 +02:00
Giacomo Tesio f80be5ce86 newlib: first try to enable posix (BROKEN) 2017-08-18 01:17:35 +02:00
Giacomo Tesio 891cb93422 newlib: import upstream changes 2017-08-17 23:19:52 +02:00
Giacomo Tesio ff7d0b5de9 continuous-build.sh: use bootconsole kernel arg instead of console 2017-08-13 15:23:20 +02:00
Giacomo Tesio dc88eab70f coverity-scan: do nothing if not in $COVERITY_SCAN_BRANCH 2017-08-12 00:27:25 +02:00
Giacomo Tesio 351dbedd8b runners: enable console at kernel command line 2017-07-31 01:03:22 +02:00
Giacomo Tesio 18592a0455 runOver9P.sh & syslinux.cfg: pass *acpi parameter 2017-07-19 01:22:56 +02:00
Giacomo Tesio 5e8c6708a6 newlib: update 2017-07-19 00:50:37 +02:00
Giacomo Tesio f0ca2e4d51 travis-ci: fix dotter, again 2017-05-18 22:46:08 +02:00
Giacomo Tesio 86d0b03316 travis-ci: fix dotters 2017-05-18 19:11:33 +02:00
Giacomo Tesio 5e6f606295 travis-ci: hide GCC & newlib output on success 2017-05-18 03:56:56 +02:00
Giacomo Tesio da775be6fd newlib: fix usleep; signal improvements 2017-05-18 01:25:09 +02:00
Giacomo Tesio f33c913574 Qemu runners: set -rtc clock=vm 2017-05-15 01:15:07 +02:00
Giacomo Tesio 12d3dc40bc newlib: fix kill and signal trampoline 2017-05-03 23:36:55 +02:00
Giacomo Tesio 8af8a05998 newlib: implement sleep and pipe 2017-04-30 17:01:13 +02:00
Giacomo Tesio d836972146 usyscalls: generate weak symbols
With weak symbol we avoid conflicts with POSIX's libc.
2017-04-29 00:25:31 +02:00
Giacomo Tesio 810f149dbd newlib: fix open_translator 2017-04-28 23:08:25 +02:00
Giacomo Tesio 6933d912cf newlib: use upstream print functions with -O0 and --disable-newlib-fvwrite-in-streamio 2017-04-27 23:50:05 +02:00