Commit 0939dd40 authored by Dr. David Alan Gilbert's avatar Dr. David Alan Gilbert Committed by Russell King

[ARM PATCH] 1257/1: Helpful comment in stat.h

Hi,
  For reasons of great complexity I found out the hard way that the
kernel must (and does) zero the pad sections in the stat structures.
Here is a comment that states this for the next person who needs to
know.
parent a382f0c3
......@@ -40,6 +40,8 @@ struct stat {
/* This matches struct stat64 in glibc2.1, hence the absolutely
* insane amounts of padding around dev_t's.
* Note: The kernel zero's the padded region because glibc might read them
* in the hope that the kernel has stretched to using larger sizes.
*/
struct stat64 {
#if defined(__ARMEB__)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment