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)
Sun, Dec 1, 5:05 PM
Unknown Object (File)
Sun, Dec 1, 5:05 PM
Unknown Object (File)
Sun, Dec 1, 4:36 PM
Unknown Object (File)
Mon, Nov 25, 12:12 PM
Unknown Object (File)
Thu, Nov 14, 8:33 PM
Unknown Object (File)
Sun, Nov 3, 11:30 AM
Unknown Object (File)
Sep 29 2024, 8:21 AM
Unknown Object (File)
Sep 16 2024, 5:02 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.