Page MenuHomeFreeBSD

Simplify check for non-dumpable objects
ClosedPublic

Authored by markj on Sep 29 2020, 6:40 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Oct 29, 9:37 AM
Unknown Object (File)
Sun, Oct 12, 10:58 PM
Unknown Object (File)
Sun, Oct 12, 10:58 PM
Unknown Object (File)
Sun, Oct 12, 10:58 PM
Unknown Object (File)
Sun, Oct 12, 11:31 AM
Unknown Object (File)
Fri, Oct 3, 4:36 AM
Unknown Object (File)
Sep 24 2025, 1:26 AM
Unknown Object (File)
Sep 23 2025, 1:47 AM
Subscribers

Details

Summary

OBJT_DEFAULT, _SWAP, _VNODE and _PHYS is exactly the set of
non-fictitious object types, so just check OBJ_FICTITIOUS.

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 33879
Build 31087: arc lint + arc unit

Event Timeline

markj requested review of this revision.Sep 29 2020, 6:40 PM
markj created this revision.
This revision is now accepted and ready to land.Sep 29 2020, 6:44 PM
dougm added inline comments.
sys/kern/imgact_elf.c
1802

This is a change for object->type == OBJT_DEAD. Perhaps that's not a problem. I'll trust that it's not.

sys/kern/imgact_elf.c
1802

I don't think it is. Even if the backing object isn't dead here, it could become so later on, so that case has to be handled.

This revision was automatically updated to reflect the committed changes.