arch/ppc/Makefile wiping out /dev/null
John Whitney
johnw at sands-edge.com
Sat Apr 3 14:16:55 EST 2004
Ethan,
Can you explain the insecurity a bit more? Any ideas on a better
construct that won't cause /dev/null to be erased in some cases? I
just want a solution, it doesn't have to be the one I put in there. :-)
Would it be possible just to do something like "$(AS) --version"
instead, as this code is theoretically just checking for an old version
of as?
John
On Apr 1, 2004, at 11:50 PM, Ethan Benson wrote:
>
> On Thu, Apr 01, 2004 at 03:42:44PM -0500, John Whitney wrote:
>>
>> NEW_AS := $(shell echo dssall | $(AS) -o /tmp/.as.$$$$ >/dev/null 2>&1
>> ; echo $$?)
>
> depending on the behavior of $(AS) this is not secure.
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
More information about the Linuxppc-dev
mailing list