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

drm-kmod: Export all symbols #338

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

drm-kmod: Export all symbols #338

wants to merge 1 commit into from

Conversation

emaste
Copy link
Member

@emaste emaste commented Jan 10, 2025

We currently rely on the kernel linker's misbehaviour of exporting local symbols from modules, controlled by the debug.link_elf_obj_leak_locals and debug.link_elf_leak_locals sysctls.

Explicitly export all symbols (making the current behaviour explicit) as a step to turning off the sysctls by default. A future change should have us export only the desired symbols.

Sponsored by: The FreeBSD Foundation

We currently rely on the kernel linker's misbehaviour of exporting local
symbols from modules, controlled by the debug.link_elf_obj_leak_locals
and debug.link_elf_leak_locals sysctls.

Explicitly export all symbols (making the current behaviour explicit) as
a step to turning off the sysctls by default.  A future change should
have us export only the desired symbols.

Sponsored by:	The FreeBSD Foundation
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