Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Nov 2015 17:27:27 -0800
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        Garrett Cooper <yaneurabeya@gmail.com>
Cc:        =?UTF-8?B?Sm9zw6kgUMOpcmV6?= <fbl@aoek.com>, freebsd-current@freebsd.org
Subject:   Re: Failing buildword due to execution permission (with fix)
Message-ID:  <564147FF.2050107@FreeBSD.org>
In-Reply-To: <5655EBD2-5EC5-425E-82B9-F7FF30312F02@gmail.com>
References:  <d2efef40a9e28bec03742c49ec5e4682@mail.yourbox.net> <233C431B-1675-4A55-A46E-B1B858056A09@gmail.com> <564136A0.4080406@FreeBSD.org> <5655EBD2-5EC5-425E-82B9-F7FF30312F02@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
On 11/9/2015 5:17 PM, Garrett Cooper wrote:
> 
>> On Nov 9, 2015, at 16:13, Bryan Drewery <bdrewery@FreeBSD.org> wrote:
> 
> 
> ...
> 
>> If this is a shell file then it is best to invoke it with 'sh' rather
>> than a chmod/#!. The src checkout should be noexec-safe.
> 
> Right. I think it'd be a good idea for me to hunt down other issues though in the build by setting -o noexec.
> 
> 
> The only thing that concerns me with doing that is that it could result in weirdness, e.g. The osreldate.h generation script in include/ .
> 

It prepends 'sh'.

include/Makefile:MK_OSRELDATE_SH=       ${.CURDIR}/mk-osreldate.sh
include/Makefile:           sh ${MK_OSRELDATE_SH}

-- 
Regards,
Bryan Drewery


[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBAgAGBQJWQUf/AAoJEDXXcbtuRpfPe0QH/jZFgFON4OQnUd6Y032y7tZf
lOrELn5ulcPFZHAgkYGslfwtTAqGsg5rJN/5J87mgz6WadQrISgxn38ZHjTyR0zh
cL0u2e5WvFoxowrj6u9jMPqL4D/k7BE3vNjIqumHvhTmDTTvkWLdMJwlB87DQsL2
vb4vF+MbaGY+sckjPCpnVEXvD2irlTGLup5l7ZDfT/KzuMOPz8+BUpXAPJTHnn7b
plFwhB5EzSqR8MaNfWlOOq1DoIj7uvso45k+piKI7kKw1Vk+l+5eH9N0RCkbTc5C
SgZ3BRLFph+F+baZJdr8jMHtt/t/Pxe9iKEIZCezuagjo/WT0p7qCT1pB1PHLCE=
=0hJ5
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?564147FF.2050107>