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

Jonathan Anderson jonathan at FreeBSD.org
Mon May 15 19:14:27 UTC 2017


On 15 May 2017, at 16:38, Ian Lepore wrote:

> On Mon, 2017-05-15 at 22:00 +0300, Konstantin Belousov wrote:
>> On Mon, May 15, 2017 at 06:52:36PM +0000, Alexey Dokuchaev wrote:
>>>
>>> Does this have any security implications?
>> What do you mean ?
>>
>
> Well, for example, it seems like it would allow anyone to execute a
> binary even if the sysadmin had set it to -x specifically to prevent
> people from running it.

You can already execute "non-executable" binaries using the `exec` shell 
built-in:

```
$ cp /bin/sh .
$ chmod -x sh
$ exec sh
```


Jon
-- 
Jonathan Anderson
jonathan at FreeBSD.org


More information about the svn-src-all mailing list