Add info about unimplemented System V IPC functions#166
Open
xdelatour wants to merge 2 commits intofreemint:masterfrom
Open
Add info about unimplemented System V IPC functions#166xdelatour wants to merge 2 commits intofreemint:masterfrom
xdelatour wants to merge 2 commits intofreemint:masterfrom
Conversation
Contributor
Since it is not yet implemented, we would still have to make them up ;) Values in mintlib do not neccessarily have to be the same as used in the kernel, but of course that would make the implementation in mintlib easier. I do not now where the values in the kernel (https://github.com/freemint/freemint/blob/3dd75deb4ce6d77f281ccf6ef4b6621aaa0e8d9d/sys/mint/sem.h#L76) originally came from, but the values in mintlib are from current glibc, and i would recommend to use them. That would be: And glibc uses these values: |
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.
semctl()commands are 0/1/2 (IPC_RMID/SET/STAT) and from 11 (GETPID) to 17 (SETALL). These values are defined in MiNTLib (include/bits/sem.h)semctl()is equivalent toPsemctl()(semctl.c)Any idea what the correct values are?