]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
login_cap.h: Remove LOGIN_DEFUMASK
authorOlivier Certner <olce@FreeBSD.org>
Thu, 25 Jan 2024 22:10:40 +0000 (23:10 +0100)
committerOlivier Certner <olce@FreeBSD.org>
Thu, 1 Feb 2024 21:24:22 +0000 (22:24 +0100)
commit943af0501107f88312a98b217b6956f3d0f2fa76
treeafbd174ea5bbd0977eacf2f2b147000c33b29501
parent8b359002747a3ce84414fb64a9b89eab20ab7c25
login_cap.h: Remove LOGIN_DEFUMASK

This public constant has not been used in-tree since 1997 (this was
noticed while working on previous commit "setusercontext(): umask: Set
it only once (in the common case)").

Since it was an implementation detail and GitHub's code search and
Google show no use of this symbol today, simply remove it.

PR:                     276570 (exp-run)
Reviewed by:            emaste, kib (earlier version, then part of D40344)
Approved by:            emaste (mentor)
MFC after:              3 days
Sponsored by:           The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D43608

(cherry picked from commit e3a396eb2a029e5dc9161469735aa3f7f16845d1)

Approved by:            markj (mentor)
lib/libutil/login_cap.h