lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAM_iQpUoLwar3wYUe-3i5tgSB4e9HF__QKSht2yxVYP_MmUqyQ@mail.gmail.com>
Date:	Wed, 13 Jul 2011 19:22:18 +0800
From:	Américo Wang <xiyou.wangcong@...il.com>
To:	Michal Marek <mmarek@...e.cz>
Cc:	Christian Kujau <lists@...dbynature.de>,
	linux-kernel@...r.kernel.org, linux-kbuild@...r.kernel.org
Subject: Re: [PATCH] kbuild: Do not write to builddir in modules_install

On Wed, Jul 13, 2011 at 5:21 PM, Michal Marek <mmarek@...e.cz> wrote:
> On 13.7.2011 03:05, Américo Wang wrote:
>>
>> On Tue, Jul 12, 2011 at 7:39 PM, Michal Marek<mmarek@...e.cz>  wrote:
>>>
>>> Let depmod.sh create a temporary directory in /tmp instead of writing to
>>> the build directory as root. The mktemp utility should be available on
>>> any recent system (and there is already scripts/gen_initramfs_list.sh
>>> relying on it).
>>>
>>
>> Hmm, why not use $objtree/.tmp_depmod?
>
> That's how it was done before and it's broken. make modules_install is
> usually ran as root and there is no guarantee that root has write access to
> the build directory (it can be on nfs).

Hmm, this is reasonable. Then I am fine with this patch.

Thanks for explanation!
--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ