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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 02 May 2007 15:30:46 -0400
From:	Phillip Susi <psusi@....rr.com>
To:	Hugh Dickins <hugh@...itas.com>
CC:	Björn Steinbrink <B.Steinbrink@....de>,
	Linux-kernel <linux-kernel@...r.kernel.org>
Subject: Re: Execute in place

Hugh Dickins wrote:
> tmpfs doesn't store its stuff in the page cache twice: that's true,
> and I didn't mean to imply otherwise.  But tmpfs doesn't contain any
> support for rom memory: you'd have to copy from rom to tmpfs to use it.
> 
> Hugh

The question is, when you execute a binary on tmpfs, does its code 
segment get mapped directly where it's at in the buffer cache, or does 
it get copied to another page for the executing process?  At least, 
assuming this is possible due to the vma and file offsets of the segment 
being aligned.
-
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