Re: Shared library holes in x86_64

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Oct 03, 2005 at 12:00:05PM +0530, Arijit Das wrote:
> If I strace a "/bin/sleep 23" command in a RHAS3.0/x86-AMD64 machine, I
> see that holes are being created in some of the mapped shared libraries
> using the mprotect system call like this:

I explained it 3 days ago, so once again:
x86-64 binaries and shared libraries are required to handle page sizes up
to 1MB and as RE and RW segments can't be on the same page, this means they
must not share the same 1MB page.
Just google for ELF_MAXPAGESIZE or look at the libraries using readelf -Wl.

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

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux