New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement mq_getsetattr(2). #6457
Closed
Closed
Conversation
This file contains 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
sudo-sturbia
changed the title
Implement mq_getsetattr(2) and mq_notify(2).
Implement mq_getsetattr(2).
Aug 15, 2021
sudo-sturbia
force-pushed
the
mq/syscalls3
branch
from
August 15, 2021 21:46
6853efc
to
27df5ae
Compare
Closed
sudo-sturbia
force-pushed
the
mq/syscalls3
branch
2 times, most recently
from
August 20, 2021 16:14
803c6ac
to
6aed219
Compare
sudo-sturbia
force-pushed
the
mq/syscalls3
branch
3 times, most recently
from
September 15, 2021 18:59
5f37b5e
to
453bc6c
Compare
rootInode represents the root inode for mqueue filesystem (/dev/mqueue). Updates google#136
Create package mq to implement POSIX message queues, and define initial struct definitions. Updates google#136
Implement inode and file description representing a POSIX message queue, and other utilities needed to implement file operations. Updates google#136
sudo-sturbia
force-pushed
the
mq/syscalls3
branch
from
September 15, 2021 19:59
453bc6c
to
ecf9a4a
Compare
Define a POSIX message queue Registry and RegistryImpl in mq package, implement RegistryImpl in mqfs, and add a Registry object to IPCNamespace initialized at filesystem creation. Updates google#136
CtxIPCNamespace is needed by mqfs package to be able to retreive an IPCNamespace using ctx.Value. As ctx.Value compares keys as interfaces, we need to use type kernel.contextID in package mqfs, which is not possible due to circular depenedency, so move it to kernel/ipc instead. Updates google#136
sudo-sturbia
force-pushed
the
mq/syscalls3
branch
from
September 17, 2021 09:19
ecf9a4a
to
d8ca572
Compare
sudo-sturbia
force-pushed
the
mq/syscalls3
branch
from
September 27, 2021 19:39
d8ca572
to
8150b13
Compare
Move root dentry and filesystem creation from GetFilesystem to NewRegistryImpl, create IPCNamespace.InitPosixQueues to create a new mqueue filesystem for each ipc namespace, and update GetFilesystem to retreive fs and root dentry from IPCNamespace and return them. Updates google#136
View makes it easier to handle O_RDONLY, O_WRONLY, and ORDWR options in mq_open(2). Updates google#136
Update RegistryImpl functions to return file descriptions, instead of queues, and use Views in queue inodes. Updates google#136
FindOrCreate implements the behaviour of mq_open(2). Updates google#136
Remove implements the behaviour of mq_unlink(2). Updates google#136
Support mq_open and mq_unlink, and enable syscall tests. Updates google#136
send implements functionality of mq_timedsend(2). Updates google#136
receive implements functionality of mq_timedreceive(2). Updates google#136
viewImpl implements View and is embedded in different views to avoid code repetition. Updates google#136
Implement syscall stubs and enable tests. Updates google#136
Attr and Set implement the functionality of mq_getattr(3) and mq_setattr(3). Updates google#136
Implement syscall stub and enable tests. Updates google#136
sudo-sturbia
force-pushed
the
mq/syscalls3
branch
from
September 28, 2021 18:46
8150b13
to
ef3e48f
Compare
A friendly reminder that this PR had no activity for 120 days. |
This PR has been closed due to lack of activity. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
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.
This PR is a followup to #6429 that implements
mq_getsetattr(2)
.Updates #136