svn commit: r318313 - head/libexec/rtld-elf

Nikolai Lifanov lifanov at FreeBSD.org
Mon May 15 19:21:37 UTC 2017


On 05/15/2017 15:18, Jonathan Anderson wrote:
> On 15 May 2017, at 16:44, Jonathan Anderson wrote:
> 
>> You can already execute "non-executable" binaries using the `exec`
>> shell built-in:
>>
>> ```
>> $ cp /bin/sh .
>> $ chmod -x sh
>> $ exec sh
>> ```
> 
> Er, oops: I ought to have said, you can execute non-executable binaries
> by copying and marking them `+x`:
> 
> ```
> $ cp /bin/sh .
> $ chmod +x sh
> $ ./sh
> ```
> 
> (please ignore the bit about `exec`, that's from another mental thread)
> 
> 
> Jon

And the default install doesn't mount /tmp noexec ...

- Nikolai Lifanov

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 992 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/svn-src-head/attachments/20170515/2f4b5c76/attachment.sig>


More information about the svn-src-head mailing list