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

bundle unistd.h with psn #5

Closed
tanelpoder opened this issue Apr 15, 2019 · 2 comments
Closed

bundle unistd.h with psn #5

tanelpoder opened this issue Apr 15, 2019 · 2 comments

Comments

@tanelpoder
Copy link
Owner

This way no need to install or copy this file even on minimal Linux installs that don't have it. it's not completely trivial as different platforms (and different major kernel versions apparently) the syscall number<->name mappings are different. So might be easy to just bundle x86_64's mappings for "recent" kernels - and still use the separate unistd.h file if it's there

@tanelpoder
Copy link
Owner Author

An additional optimization that can be done is to attempt to read the unistd.h only when the syscall data source is used. It's not needed otherwise.

@tanelpoder
Copy link
Owner Author

I implemented this a while ago.

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

1 participant