Details
- Reviewers
bnovkov
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Skipped - Unit
Tests Skipped - Build Status
Buildable 76938 Build 73821: arc lint + arc unit
Event Timeline
| sys/kern/link_elf.c | ||
|---|---|---|
| 1110–1112 | I think we should enforce this assumption (i.e., return EINVAL or something similar) instead of sorting the segments. Thinking about this from a user's standpoint, a kldload triggering this assertion almost certainly means that something went wrong during linking or that somebody is trying to mess with the kernel. | |
| sys/kern/link_elf.c | ||
|---|---|---|
| 1110–1112 | Reading through the ELF specification this is not actually a requirement. | |
| sys/kern/link_elf.c | ||
|---|---|---|
| 1110–1112 | An ENOEXEC with something along the lines of "Improperly sorted segments " is fine. | |