From owner-svn-src-head@freebsd.org Mon May 15 19:21:37 2017 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 556FFD6E426; Mon, 15 May 2017 19:21:37 +0000 (UTC) (envelope-from lifanov@FreeBSD.org) Received: from mail.lifanov.com (mail.lifanov.com [206.125.175.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3439B37B; Mon, 15 May 2017 19:21:36 +0000 (UTC) (envelope-from lifanov@FreeBSD.org) Received: from [10.11.0.121] (webassign-to-rtp-ip-asr-gw.ncren.net [128.109.111.6]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.lifanov.com (Postfix) with ESMTPSA id 66181239431; Mon, 15 May 2017 15:21:35 -0400 (EDT) Subject: Re: svn commit: r318313 - head/libexec/rtld-elf To: Jonathan Anderson , Ian Lepore Cc: Konstantin Belousov , svn-src-head@freebsd.org, Alexey Dokuchaev , src-committers@freebsd.org, svn-src-all@freebsd.org References: <201705151848.v4FImwMW070221@repo.freebsd.org> <20170515185236.GB1637@FreeBSD.org> <20170515190030.GG1622@kib.kiev.ua> <1494875335.59865.118.camel@freebsd.org> <1F314B80-B5EC-4384-AAF0-1F3D477ADC3B@FreeBSD.org> From: Nikolai Lifanov Message-ID: <3daaaf74-3dd2-dcc9-03fb-5f6a7ccb991e@FreeBSD.org> Date: Mon, 15 May 2017 15:21:27 -0400 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.1.0 MIME-Version: 1.0 In-Reply-To: <1F314B80-B5EC-4384-AAF0-1F3D477ADC3B@FreeBSD.org> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="evothQLhOmJxo4EGjAttsLC0JAW86keK7" X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 May 2017 19:21:37 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --evothQLhOmJxo4EGjAttsLC0JAW86keK7 Content-Type: multipart/mixed; boundary="liucOQl8k9dOaIMtmTUw6V6DGK2jCxrlX"; protected-headers="v1" From: Nikolai Lifanov To: Jonathan Anderson , Ian Lepore Cc: Konstantin Belousov , svn-src-head@freebsd.org, Alexey Dokuchaev , src-committers@freebsd.org, svn-src-all@freebsd.org Message-ID: <3daaaf74-3dd2-dcc9-03fb-5f6a7ccb991e@FreeBSD.org> Subject: Re: svn commit: r318313 - head/libexec/rtld-elf References: <201705151848.v4FImwMW070221@repo.freebsd.org> <20170515185236.GB1637@FreeBSD.org> <20170515190030.GG1622@kib.kiev.ua> <1494875335.59865.118.camel@freebsd.org> <1F314B80-B5EC-4384-AAF0-1F3D477ADC3B@FreeBSD.org> In-Reply-To: <1F314B80-B5EC-4384-AAF0-1F3D477ADC3B@FreeBSD.org> --liucOQl8k9dOaIMtmTUw6V6DGK2jCxrlX Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 05/15/2017 15:18, Jonathan Anderson wrote: > On 15 May 2017, at 16:44, Jonathan Anderson wrote: >=20 >> You can already execute "non-executable" binaries using the `exec` >> shell built-in: >> >> ``` >> $ cp /bin/sh . >> $ chmod -x sh >> $ exec sh >> ``` >=20 > Er, oops: I ought to have said, you can execute non-executable binaries= > by copying and marking them `+x`: >=20 > ``` > $ cp /bin/sh . > $ chmod +x sh > $ ./sh > ``` >=20 > (please ignore the bit about `exec`, that's from another mental thread)= >=20 >=20 > Jon And the default install doesn't mount /tmp noexec ... - Nikolai Lifanov --liucOQl8k9dOaIMtmTUw6V6DGK2jCxrlX-- --evothQLhOmJxo4EGjAttsLC0JAW86keK7 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQKoBAEBCgCSFiEE5oT6TcuaWvG5gtjzZ6sv56ecR0UFAlkZ/7hfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEU2 ODRGQTREQ0I5QTVBRjFCOTgyRDhGMzY3QUIyRkU3QTc5QzQ3NDUUHGxpZmFub3ZA ZnJlZWJzZC5vcmcACgkQZ6sv56ecR0W21A/9Hgu1QZSENQYz5Pjl5mrvYxjHyGPl VfZC2dA9u3XIGCI2s7Coemw/59JpZ7ecsmbObBZEGL4MzNn/P3iHUU03CdyTsLek /xu3ls/I7ri+haKZsEkVBC8A12nzB2ldvlX2TWWqsixmrLTS91q7LxtRyPGTfbZJ YEwFYCRetbye2Mk/mzomfNymqCaOY4Tvq1X6rB/4ikjbbpYTG/Qxkzf1irYSTYll CBFOMt3UsJmy/f8mqNwps5TuW/Ce16btG3lsEaf6wHP+nY2Dg9CoOLxSYBdIlou3 g2tICUydkUdCcGFVUNNzt67uETVcZkW/4lpIsKrD1gsz0JhllRZZeffLNPHmw6Yf uQgYKlL7xUoravCRbaI6DeNZi6nS/IyJuPB2b6CGG1Rk0jpA8P24t/UKTRb548Sc DGm5+sIX3ZPH78vLViyjgO37pNwwq2iefRzVqHlMg1BUEkGoGk0Q9zckxQeg4BZc Ob89nl5jTyGq+Qe6eHouzC/8YWnUTT9+RqljDHmk9aHGv2heE9orzIQggaO9MprF XuI8rfch9gnx7C0S5SBzttri9Ka0pNGcoinaLesjt5ZFO/bANo+VzjV/6DX8bCH7 d08NjVmZGknfYa+XI2IbYX+g82s30ZMEpGjrRHS8uMbSNvt6u2WD3R/m5oy5pAV9 y7FFU17AZ80ZANs= =i5xV -----END PGP SIGNATURE----- --evothQLhOmJxo4EGjAttsLC0JAW86keK7--