-----Original Message----- From: Glynn Clements [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 02, 2005 7:16 AM To: [email protected] Subject: RE: Into the Void
Glynn wrote: >Huber, George K RDECOM CERDEC STCD SRI wrote: >> Well we have not put anything in that memory location yet, and >> as I recall, under Linux any memory is zero-out when returned by malloc to >> help prevent information leakage from one application to another. >Memory contains zeroes when it is first given to the process by the >kernel. Whether or not memory returned from malloc() contains zeroes >depends upon whether that memory has been used previously by the >current process. Agreed. I was thinking of the case where there are multiple processes running at a time. Each process has it quanta `on the' processor and then another is swapped in. I do not recall ever hearing if on a switch from one process to another if memory is reset or if the pages are just swapped back in. Any one have information on this? George - To unsubscribe from this list: send the line "unsubscribe linux-c-programming" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html
