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

Add constructor taking native_handle_t #82

Merged
merged 2 commits into from
Dec 21, 2024
Merged

Conversation

apolukhin
Copy link
Member

No description provided.

vinipsmaker and others added 2 commits August 25, 2024 18:04
Calls to dlopen() will always fail on FreeBSD if ambient authority is
disabled (i.e. process is in capsicum mode). For these cases, FreeBSD
offers fdlopen(). The new constructor allows the user to explicitly call
fdlopen() and then use Boost.DLL to manage the loaded plugin.

Android's libc (Bionic) also has fdlopen(), but under a different name:
android_dlopen_ext().

As Linux implements a sandboxing model closer to Capsicum (that's
already planned in the roadmap for the Landlock subsystem), similar
restrictions will hit glibc and we might see fdlopen() in glibc as well.
@apolukhin apolukhin merged commit 7ecf458 into develop Dec 21, 2024
7 checks passed
@apolukhin apolukhin deleted the construct-from-native branch December 21, 2024 08:30
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.

2 participants