From e3a396eb2a029e5dc9161469735aa3f7f16845d1 Mon Sep 17 00:00:00 2001 From: Olivier Certner Date: Thu, 25 Jan 2024 23:10:40 +0100 Subject: [PATCH] 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 --- lib/libutil/login_cap.h | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/libutil/login_cap.h b/lib/libutil/login_cap.h index 0037b41d9055..a48246804a47 100644 --- a/lib/libutil/login_cap.h +++ b/lib/libutil/login_cap.h @@ -32,7 +32,6 @@ #define LOGIN_MECLASS "me" #define LOGIN_DEFSTYLE "passwd" #define LOGIN_DEFSERVICE "login" -#define LOGIN_DEFUMASK 022 #define LOGIN_DEFPRI 0 #define _PATH_LOGIN_CONF "/etc/login.conf" #define _FILE_LOGIN_CONF ".login_conf"