[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <slrnekc8np.2vm.olecom@flower.upol.cz>
Date: Mon, 30 Oct 2006 16:06:17 +0000
From: Oleg Verych <olecom@...wer.upol.cz>
To: Valdis.Kletnieks@...edu, Jan Beulich <jbeulich@...ell.com>,
Oleg Verych <olecom@...wer.upol.cz>, dsd@...too.org,
kernel@...too.org, draconx@...il.com, jpdenheijer@...il.com,
Andrew Morton <akpm@...l.org>, Sam Ravnborg <sam@...nborg.org>,
Andi Kleen <ak@...e.de>, LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH -mm] replacement for broken kbuild-dont-put-temp-files-in-the-source-tree.patch
On 2006-10-30, Valdis.Kletnieks wrote:
>
> Hmm.. and even the 'ln' worked even when z9 was chmod 0. ;)
(WTF! I'm no wonder any more, why all that selinux was brought ;)
Well, i've said already about roots in post above.
This fix is for needless mktemp and old binutils.
Fix for roots:
,--
|if [ `id -u` == "0" ]; then echo "Root landed !!!"; ! true; fi
`--
More polite fools-protection, with guaranteed permission from the user:
,--
|if [ `id -u` == "0" ]; then useradd bkernel && su bkernel fi;
`--
____
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists