26 Oct, 2011
1 commit
19 Oct, 2011
1 commit
-
readlink() never zero terminates the provided buffer.
Therefore we already dobuffer[count] = 0;
This leads to an off-by-one buffer corruption as readlink()
might return the full size of the buffer.The common technique is to reduce the buffer size by one.
Another fix would be to checkif (count < 0 || count == sizeof(buffer))
fatal();Reducing the buffer size by one is easier IMHO.
Signed-off-by: Thomas Jarosch
Acked-by: David Rientjes
Acked-by: Christoph Lameter
Signed-off-by: Pekka Enberg
20 Aug, 2011
1 commit
-
Update the slabinfo tool to report the stats on per cpu partial list usage.
Signed-off-by: Christoph Lameter
Signed-off-by: Pekka Enberg
02 Jul, 2011
1 commit
-
Update the statistics handling and the slabinfo tool to include the new
statistics in the reports it generates.Signed-off-by: Christoph Lameter
Signed-off-by: Pekka Enberg
06 Nov, 2010
1 commit
-
We now have a tools directory for these things.
Reviewed-by: KOSAKI Motohiro
Acked-by: David Rientjes
Signed-off-by: Christoph Lameter
Signed-off-by: Pekka Enberg