[lkml]   [2001]   [Jun]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: checker suggestion
> Struct padding is a problem. Really, there shouldn't be any
> implicit padding. This causes:
> 1. security leaks when such structs are copied to userspace
> (the implicit padding is uninitialized, and so may contain
> a chunk of somebody's private key or password)
> 2. bloat, when struct members could be reordered to eliminate
> the need for padding

(1) is a great point. One of the first extensions in our first system
automatically reordered structure fields to minimize padding (your second
point), but we'd totally missed the security point.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 12:55    [W:0.089 / U:0.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site