Re: how can I compile mount and umount as shared object files?

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

 



On Tuesday 22 November 2011 19:02:26 Paul Stone wrote:
> [root@xxxx .libs]# file *
> mount:  setuid ELF 64-bit LSB executable, x86-64, version 1 (SYSV),
> dynamically linked (uses shared libs), for GNU/Linux 2.6.18, stripped
> umount: setuid ELF 64-bit LSB executable, x86-64, version 1 (SYSV),
> dynamically linked (uses shared libs), for GNU/Linux 2.6.18, stripped
> 
> [root@xxxx .libs]# file /bin/mount /bin/umount
> /bin/mount:  setuid ELF 64-bit LSB shared object, x86-64, version 1
> (GNU/Linux), dynamically linked (uses shared libs), for GNU/Linux
> 2.6.18, stripped
> /bin/umount: setuid ELF 64-bit LSB shared object, x86-64, version 1
> (GNU/Linux), dynamically linked (uses shared libs), for GNU/Linux
> 2.6.18, stripped

looks like your objects in /bin/ are PIEs.  it's not required for these to be 
PIEs, so you can install the locally compiled ones if you want and they should 
work fine.
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux