Skip to content

Conversation

@vapourismo
Copy link

@vapourismo vapourismo commented Nov 22, 2025

Add option to fall back to userfaultfd system call when opening /dev/userfaultfd fails due to missing access rights. The default is unchanged.

It appears plenty of systems have very restricted access rights on /dev/userfaultfd yet allow the userfaultfd() system call for userspace-only operation. This option gives users of the library a little more leeway to support those systems out of the box.

@vapourismo vapourismo force-pushed the feature/syscall-perm-fallback branch 3 times, most recently from c44f204 to 7c4859b Compare November 22, 2025 18:15
@vapourismo vapourismo force-pushed the feature/syscall-perm-fallback branch from 7c4859b to 1691ace Compare November 22, 2025 18:16
@vapourismo vapourismo marked this pull request as ready for review November 22, 2025 18:28
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

Successfully merging this pull request may close these issues.

1 participant