Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #12006

Re: [PATCH/RFC] do not source/exec scripts on noexec mount points

Path csiph.com!optima2.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!usenet.stanford.edu!not-for-mail
From Mike Frysinger <vapier@gentoo.org>
Newsgroups gnu.bash.bug
Subject Re: [PATCH/RFC] do not source/exec scripts on noexec mount points
Date Mon, 14 Dec 2015 00:23:13 -0500
Lines 50
Approved bug-bash@gnu.org
Message-ID <mailman.2054.1450070598.31583.bug-bash@gnu.org> (permalink)
References <1449954086-30408-1-git-send-email-vapier@gentoo.org> <20151212144836367922988@bob.proulx.com> <20151212225335.GG11489@vapier.lan> <CAP=cN8=XvWbnq3E=SZnK6nEGX1_qAFxwuj_Ep=pL71Nn0n4W_g@mail.gmail.com>
NNTP-Posting-Host lists.gnu.org
Mime-Version 1.0
Content-Type multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="tbUdrdPJASQ8VKrP"
X-Trace usenet.stanford.edu 1450070599 26664 208.118.235.17 (14 Dec 2015 05:23:19 GMT)
X-Complaints-To action@cs.stanford.edu
Cc bug-bash <bug-bash@gnu.org>
To Piotr Grzybowski <narsil.pl@gmail.com>
Envelope-to bug-bash@gnu.org
Mail-Followup-To Piotr Grzybowski <narsil.pl@gmail.com>, bug-bash <bug-bash@gnu.org>
Content-Disposition inline
In-Reply-To <CAP=cN8=XvWbnq3E=SZnK6nEGX1_qAFxwuj_Ep=pL71Nn0n4W_g@mail.gmail.com>
X-detected-operating-system by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From 2001:470:ea4a:1:5054:ff:fec7:86e4
X-BeenThere bug-bash@gnu.org
X-Mailman-Version 2.1.14
Precedence list
List-Id Bug reports for the GNU Bourne Again SHell <bug-bash.gnu.org>
List-Unsubscribe <https://lists.gnu.org/mailman/options/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=unsubscribe>
List-Archive <http://lists.gnu.org/archive/html/bug-bash>
List-Post <mailto:bug-bash@gnu.org>
List-Help <mailto:bug-bash-request@gnu.org?subject=help>
List-Subscribe <https://lists.gnu.org/mailman/listinfo/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=subscribe>
Xref csiph.com gnu.bash.bug:12006

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

On 13 Dec 2015 12:21, Piotr Grzybowski wrote:
> On Sat, Dec 12, 2015 at 11:53 PM, Mike Frysinger wrote:
> > On 12 Dec 2015 15:06, Bob Proulx wrote:
> >> It will almost
> >> certainly get in the way of a reasonable use case.
> >
> > can you name a reasonable use case this breaks ?
> 
> source /media/noexecmountpoint/sh/functions.sh;
> find_all_files_with_executable_bit /media/noexecmountpoint;

i think you're doing it wrong.  if you want to run code off of mount
point, then you should be mounting it executable.

>  Mike: I kind of understand your idea, but noexec flag given in the
> mount significates something else then your patch addresses.

i disagree
-mike

Back to gnu.bash.bug | Previous | Next | Find similar


Thread

Re: [PATCH/RFC] do not source/exec scripts on noexec mount points Mike Frysinger <vapier@gentoo.org> - 2015-12-14 00:23 -0500

csiph-web