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
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--D6i2K79R9xAAIKInNufnKHk5Bro0shLmu
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

On 11/9/2015 5:17 PM, Garrett Cooper wrote:
>=20
>> On Nov 9, 2015, at 16:13, Bryan Drewery <bdrewery@FreeBSD.org> wrote:
>=20
>=20
> ...
>=20
>> 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.
>=20
> Right. I think it'd be a good idea for me to hunt down other issues tho=
ugh in the build by setting -o noexec.
>=20
>=20
> 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/ .
>=20

It prepends 'sh'.

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

--=20
Regards,
Bryan Drewery


--D6i2K79R9xAAIKInNufnKHk5Bro0shLmu
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----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-----

--D6i2K79R9xAAIKInNufnKHk5Bro0shLmu--



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