_PATH_FAILLOG in <paths.h>
Alejandro Colomar
alx@kernel.org
Mon Sep 1 15:17:05 GMT 2025
Hi Florian,
On Mon, Sep 01, 2025 at 04:52:30PM +0200, Florian Weimer wrote:
> * Alejandro Colomar:
>
> > I've noticed that there's no _PATH_FAILLOG in <paths.h>. Should we add
> > that macro for consistency with other files such as _PATH_LASTLOG?
>
> I don't think so. Linux does not support atomic writes, so files like
> lastlog cannot really work reliably. I don't see why faillog would be
> any different.
Still, there are programs that use this file, so while the file is
there, a macro for referring to it would be useful.
This is independent of deprecation or removal of the files, I think.
Have a lovely day!
Alex
--
<https://www.alejandro-colomar.es>
Use port 80 (that is, <...:80/>).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/libc-alpha/attachments/20250901/aa4fd8d3/attachment.sig>
More information about the Libc-alpha
mailing list