[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Physical page zeroing on allocation

Hey guys,

I was wondering, when allocating an anonymous physical page on a Page Fault, why does kernel have to fill it with zeroes?
I understand it has something to do with security.
But let's say I trust my environment. Then why when I disable zeroing of the allocated pages, the applications crash in libc?
One would think that libc is debugged well and does not use uninitialized variables?

I appreciate your comments!

Reply to: