Re: [PATCH 0/2] login: close multiple race condition

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jan 29, 2010 at 14:16, Karel Zak <kzak@xxxxxxxxxx> wrote:
>> Since kernel 2.6.32.7 is out with the proper fix to devtmpfs, you will
>> have to setup yourself /dev to permissions mode 01777.
>
>  I see
>
>    if ! mount -t devtmpfs -omode=0755 udev /dev >/dev/null 2>&1; then
>
>  in dracut code. I hope that nobody use writeable /dev in some
>  distribution. Kay?

No, they don't.

The 01777 is the default for every tmpfs since forever That's why it
needs to be specified. In teh devtmpfs case, where the kernel mounts
it, which can happen only if no initramfs is used, the directory
needed to be chmod()ed. This is no longer needed now, since we added
this directly to the devtmpfs kernel mount call.

Kay
--
To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux