[prev in list] [next in list] [prev in thread] [next in thread]
List: busybox
Subject: Re: [PATCH 1/1] su: Add a delay if the password is incorrect
From: Mike Frysinger <vapier () gentoo ! org>
Date: 2014-03-23 22:08:27
Message-ID: 1429979.dIMEvUeDXK () vapier
[Download RAW message or body]
[Attachment #2 (multipart/signed)]
On Sun 16 Mar 2014 08:21:02 Laurent Bercot wrote:
> On 16/03/2014 03:06, Rich Felker wrote:
> > /tmp is not suitable for this; you can never assume the ability to
> > create a fixed-name file in /tmp, since the namespace of /tmp is
> > shared on a first-come, first-served basis. Any programs using /tmp
> > except for creating randomly-named files there are buggy.
>
> Hm, indeed. Unix/FHS/whatever lacks a guaranteed writable and
> boot-time-available directory just for root.
> / is not guaranteed writable, and should not be.
> /var/* is not guaranteed available at boot time.
> /tmp is not reserved to root.
> I have such a directory on my systems (/mnt/tmpfs, 0755, with /tmp
> actually being a symlink to /mnt/tmpfs/tmp, 1777). Some distributions
> use an initramfs and create /lib/rw (ugh). Unfortunately, nothing is
> standardized... Maybe we could use /dev ? Ha ha, only serious.
this is why Linux distros introduced /run in place of /var/run
-mike
["signature.asc" (application/pgp-signature)]
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic