Repository navigation
0.3.0: openkal.process and openkal.space, run on the System V kernel and under ibcs-us 4.3-2 - #6
Merged
Merged
Conversation
…and under ibcs-us 4.3-2 src/process.cpp (written for 0.1, kept unbuilt) is built and claimed, with openkal.space on fork beside it in the same table of started programs. It was unclaimed because under ibcs-us the replacement of an image left the emulation; ibcs-us 4.3-2 keeps it in (mcpp-community/ibcs-us#3), and the kernel itself is now at hand (xim svr4-disk-image, dirun 0.8.0). Added where the specification's suite (openkal 0.26.0) found them missing: kal_process_self and kal_process_info (identifier, ended, processor time from times), kal_process_channel (a pipe), the resource preference of a start (KAL_RESOURCES, read by kal_env_resources), and end_as_requested answering kal_err_invalid with no request. wait is given a place for the status: the kernel answers in the second result regardless, ibcs-us only when it has one. Measured: on AT&T UNIX System V/386 Release 4.0 Version 3.0, 168 observations held and 0 did not; under ibcs-us 4.3-2, 157 held and 0 did not under each of per_uw7, per_solaris and per_osr5. tools/run-conformance.sh selects a feature for every claimed interface and runs on the kernel with --kernel; CI runs the suite there as a second job.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
openkal.processandopenkal.spaceare claimed.src/process.cpphad been written for 0.1 and kept unbuilt, because under ibcs-us the replacement of an image left the emulation (ibcs-us handedexecveto Linux). mcpp-community/ibcs-us#3 (4.3-2) keeps it in, and the System V kernel itself is now at hand (ximsvr4-disk-image, dirun 0.8.0), so a started program can be observed on both.openkal.space:kal_space_startonfork, in the same table of started programs as a spawn, sokal_process_wait/terminate/closeapply. Props:CLONE_HANDLES, andDEFERRED_COPYbecause under ibcs-us the copy is Linux's, which completes it lazily.kal_process_self+kal_process_info(identifier, ended, processor time fromtimes; a started program's is what the children's times grew by across thewaitthat collected it),kal_process_channel(a pipe;KAL_PROCESS_PROP_CHANNEL), the resource preference of a start (KAL_RESOURCES, read bykal_env_resources; two at once arekal_err_invalid),kal_process_end_as_requestedansweringkal_err_invalidwith no request.waitis given a place for the status. The kernel answers the status in the second result regardless; ibcs-us only when given a place, as a C library'swait(&status)gives.tools/run-conformance.sh: a feature of the suite for every interface the manifest claims;--kernel <dirun> <svr4-disk-image> <qemu>runs on the System V kernel (QEMU's translator).Measured (local)
The two differ only in the terminal section: on the kernel the program's line is a terminal. Every process and space observation is the same on both.
Next: an openkal-platform release naming 0.3.0 (with the openkal 0.26 family), so the row's programs (a command interpreter's external commands) start programs.