Page MenuHomeFreeBSD

kern_linker: Do not reveal address without root
AcceptedPublic

Authored by aokblast on Fri, Jun 12, 11:28 AM.

Details

Reviewers
olce
markj
emaste
Summary

Disable address explosure while we are not in root

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 73838
Build 70721: arc lint + arc unit

Event Timeline

I think this needs some discussion so I just put it in here.

Makes sense on a quick look. Preferably wait for others' feedbacks.

This revision is now accepted and ready to land.Fri, Jun 12, 2:44 PM

Why? We do not randomize the kernel address space. There are many many ways to leak kernel pointers, this is just one of them.