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
lib/vfscore: Solve redefining conflicts #441
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would it be possible to also squash the commit changing the style of the comments?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed-by: Sergiu Moga sergiu.moga@protonmail.com
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @dragosargint,
thanks a lot for these fixes. Can you check the few comments that I posted? It is basically concerning mkfifo
and umount
. We should use UK_SYSCALL_R_DEFINE
for those instead. Then they are also properly registered at the syscall shim.
Thanks,
Simon
There are many functions that are defined in musl as well as in vfscore. When using musl you want to use the musl functions. When we use musl the `LIBSYSCALL_SHIM_NOWRAPPER` macro is set , which leads to the setting of `UK_LIBC_SYSCALLS` to 0. We can use this to exclude the redefined functions from vfscore. Signed-off-by: Dragos Iulian Argint <dragosargint21@gmail.com>
Signed-off-by: Dragos Iulian Argint <dragosargint21@gmail.com>
✅ Checkpatch passed Beep boop! I ran Unikraft's
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved-by: Simon Kuenzer simon.kuenzer@neclab.eu
Signed-off-by: Dragos Iulian Argint <dragosargint21@gmail.com> Reviewed-by: Sergiu Moga <sergiu.moga@protonmail.com> Approved-by: Simon Kuenzer <simon.kuenzer@neclab.eu> Tested-by: Unikraft CI <monkey@unikraft.io> GitHub-Closes: #441
There are many functions that are defined in musl as well as in vfscore. When using
musl we want to use the musl functions. When we use musl the
LIBSYSCALL_SHIM_NOWRAPPER
macro is set, which leads to the setting of
UK_LIBC_SYSCALLS
to 0. We can use thisto exclude the redefined functions from vfscore.
This PR is part of a series:
#454
#453
#442
#441
Signed-off-by: Dragos Iulian Argint dragosargint21@gmail.com