Page MenuHomeFreeBSD

Unstaticize parts of coredumping code
ClosedPublic

Authored by trasz on May 25 2021, 4:40 PM.

Details

Summary

This makes it possible to call elfN(size_segments) and elfN(puthdr)
from Linux coredump code.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

trasz requested review of this revision.May 25 2021, 4:40 PM
sys/kern/imgact_elf.c
1644

You dropped flags, I do not like it.

sys/sys/imgact_elf.h
104

I do not see much sense in this comment.

Restore flags, improve comments, style.

This revision is now accepted and ready to land.May 25 2021, 5:40 PM
This revision was automatically updated to reflect the committed changes.