lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <FA6FB5FA4DA6BF4386D129273B2E3EC30183A439@xmb-sjc-214.amer.cisco.com>
Date:	Tue, 20 Mar 2007 11:22:45 -0700
From:	"Ravinandan Arakali \(rarakali\)" <rarakali@...co.com>
To:	"Jeremy Fitzhardinge" <jeremy@...p.org>
Cc:	"Linux Kernel" <linux-kernel@...r.kernel.org>
Subject: RE: Multiple instances of program sharing same text segment ?

Thanks Jeremy.

Ravi 

-----Original Message-----
From: Jeremy Fitzhardinge [mailto:jeremy@...p.org] 
Sent: Tuesday, March 20, 2007 11:12 AM
To: Ravinandan Arakali (rarakali)
Cc: Linux Kernel
Subject: Re: Multiple instances of program sharing same text segment ?

Ravinandan Arakali (rarakali) wrote:
> I note that do_exec calls do_mmap to map the executable file to
memory.
> But not sure what happens(w.r.t text sharing) when another instance of

> the program is invoked. BTW, this is 2.6.10.

Yes, they will be shared.  As far as the rest of the kernel is
concerned, an mmap is an mmap is an mmap, and the pages will be shared.

    J
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ