Skip to content
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

libsel4muslcsys : Is there a way to do normal read and write like in Linux? #68

Open
AlonzoLAU opened this issue Oct 25, 2022 · 3 comments

Comments

@AlonzoLAU
Copy link

I'm so confused that when I try to use open() as I did in Linux but it seems like the open() call only supports O_RDONLY.
Is there a way to do normal read and write like in Linux? What library should i look at? Or do I need to implement it manually?

@axel-h
Copy link
Member

axel-h commented Oct 25, 2022

Please provide a bit more context, what you are trying to do and what seL4 system you are using. By default seL4 does not come with a file storage driver or system, so these calls will not go anywhere besides stdin or stdout.

@AlonzoLAU
Copy link
Author

AlonzoLAU commented Oct 26, 2022

Thank you! I want to record the logs of my Camkes Application on a U-disk or SD card. But it looks a little difficult 😂.
So I have to use file storage through the camkes-vm?

@axel-h
Copy link
Member

axel-h commented Oct 26, 2022

That would be one option, but running a VMM might be overkill depending on what you are trying to build.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants