svn commit: r318313 - head/libexec/rtld-elf
Jonathan Anderson
jonathan at FreeBSD.org
Mon May 15 19:18:25 UTC 2017
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
--
Jonathan Anderson
jonathan at FreeBSD.org
More information about the svn-src-head
mailing list