]> git.ipfire.org Git - thirdparty/shadow.git/commit
changing lock mechanism
authored neville <ed@s5h.net>
Tue, 6 Dec 2022 19:21:55 +0000 (19:21 +0000)
committerSerge Hallyn <serge@hallyn.com>
Thu, 29 Dec 2022 19:58:49 +0000 (13:58 -0600)
commit65470e5c7ddbc2885ad35fbd0218b91a75626c2f
tree71cba3e8475b0e50292bf6f6759e94cf8379bf6e
parentbc18c184e56ff9aa6b092b01116b46cea4f34492
changing lock mechanism

Systems can suffer power interruptions whilst .lock files are in /etc,
preventing scripts and other automation tools from updating shadow's
files which persist across boots.

This commit replaces that mechanism with file locking to avoid problems
of power interruption/crashing.

Minor tweak to groupmems man page, requested by 'xx' on IRC.

Signed-off-by: ed neville <ed@s5h.net>
lib/commonio.c
lib/commonio.h
man/groupmems.8.xml