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)
Wed, Oct 8, 2:47 PM
Unknown Object (File)
Wed, Oct 8, 8:53 AM
Unknown Object (File)
Mon, Oct 6, 5:18 AM
Unknown Object (File)
Sat, Sep 27, 2:49 AM
Unknown Object (File)
Tue, Sep 23, 3:52 AM
Unknown Object (File)
Sep 13 2025, 5:33 AM
Unknown Object (File)
Sep 10 2025, 8:28 PM
Unknown Object (File)
Sep 1 2025, 6:01 PM

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.