[Top] [All Lists]

Re: User applications

To: Michael Shmulevich <>
Subject: Re: User applications
From: "Maciej W. Rozycki" <>
Date: Mon, 8 Jan 2001 15:16:46 +0100 (MET)
Cc: Carsten Langgaard <>, "" <>
In-reply-to: <>
Organization: Technical University of Gdansk
On Mon, 8 Jan 2001, Michael Shmulevich wrote:

> > When a new user process is started will its user space be cleared by the
> > kernel or is there a potential leak from an older user process ?
> Usually it is defied by the loader. If the data section contents is set to
> LOAD, then the contents of the section will be loaded from disk (no leak),
> if not -- whatever values left i nmemory will be there, or exactly, the
> virtual page of some other proccess that was swapped out or ended.

 What!???  I'm assume you are writing about executing a new program and
not forking a new process here.  In the latter case no memory is changed. 
When you exec a new program, any allocated memory is cleared by the kernel
before returning to the user space.  It would be a huge security hole

+  Maciej W. Rozycki, Technical University of Gdansk, Poland   +
+        e-mail:, PGP key available        +

<Prev in Thread] Current Thread [Next in Thread>