[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: executable-set-magic update
From: |
Eli Zaretskii |
Subject: |
Re: executable-set-magic update |
Date: |
Sat, 22 Jul 2017 10:36:27 +0300 |
> From: "Andrew L. Moore" <address@hidden>
> Date: Sat, 10 Jun 2017 15:31:04 -0400
> Cc: address@hidden
>
> > On Jun 10, 2017, at 3:17 AM, Eli Zaretskii <address@hidden> wrote:
> >
> >> From: "Andrew L. Moore" <address@hidden>
> >> Date: Fri, 9 Jun 2017 17:31:30 -0400
> >>
> >> lisp/progmodes/executable.el does not appear to support magic numbers of
> >> the form `#/usr/bin/env interpreter’. One way to extend support is via
> >> the attached diff which merely adds a new variable
> >> `executable-interpreter-path-absolute’. Set the new variable to nil and
> >> variable `executable-prefix’ to “#!/usr/bin/env “.
> >
> > Thanks.
> >
> > Wouldn't it be more elegant (and perhaps also safer, security-wise) if
> > we supported the special prefix "/usr/bin/env" directly, i.e. without
> > feeding it via some kind of "back door", and allowing arbitrary
> > strings there?
>
> Attached below is a patch following your suggestions. From NEWS:
Thanks, pushed to master.
With this contribution, you've exhausted the amount of changes we can
accept without legal papers, so I'd encourage you to start the
paperwork rolling, for us to be able to accept further contributions.
- Re: executable-set-magic update,
Eli Zaretskii <=