Page MenuHomeFreeBSD

fdlopen(3): do not create a new object mapping if already loaded
ClosedPublic

Authored by kib on Feb 22 2024, 1:21 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Apr 8, 10:39 PM
Unknown Object (File)
Mon, Mar 25, 10:42 PM
Unknown Object (File)
Feb 29 2024, 8:57 PM
Unknown Object (File)
Feb 22 2024, 1:29 AM

Details

Summary
This is expected behavior for both dlopen(3) and fdlopen(3).

PR:     277169

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

kib requested review of this revision.Feb 22 2024, 1:21 AM
This revision is now accepted and ready to land.Feb 22 2024, 1:23 AM

Any chance to add a test case so this doesn't break in the future?

Any chance to add a test case so this doesn't break in the future?

Would you provide a patch?

Would you provide a patch?

I haven't contributed code to FreeBSD yet, so this could be a good first patch. I can write code, but it'll take me some time to get a devenv ready to test my changes as I'm not yet used to FreeBSD development.