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

Improve syscall wrappers with FIELD macros #175

Open
paulfloyd opened this issue Nov 23, 2021 · 0 comments
Open

Improve syscall wrappers with FIELD macros #175

paulfloyd opened this issue Nov 23, 2021 · 0 comments

Comments

@paulfloyd
Copy link
Owner

Sadly because the old port never tracked upstream closely a lot of stuff never got done on FreeBSD.

One of those is the use of PRE_FIELD_READ and POST_FIELD_WRITE in syscall wrappers. These allow better error messages (not only the syscall argument but also the field within the structure that the syscall argument points to).

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