OBJT_DEFAULT, _SWAP, _VNODE and _PHYS is exactly the set of
non-fictitious object types, so just check OBJ_FICTITIOUS.
Details
Details
- Reviewers
alc kib dougm - Commits
- rS366367: Simplify the check for non-dumpable VM object types
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
sys/kern/imgact_elf.c | ||
---|---|---|
1802 ↗ | (On Diff #77640) | 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 ↗ | (On Diff #77640) | 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. |