From nobody Thu Feb 1 21:31:22 2024 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TQsXq0Trkz58jH3; Thu, 1 Feb 2024 21:31:23 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TQsXp5K0kz4cM5; Thu, 1 Feb 2024 21:31:22 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1706823082; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=GBKkh88KouUP0Ae2iHRwaew7JNU/koEmTld7YGx7X7g=; b=s+F7gN9K/4E0RiRUtGlLgh1llB4giw90gpZToPsXYrUFP4GaXE72jo87FXkclKB6rmBHe2 TkH6q9hTtWz1wMgIBqGzxhDILCP63fAkLfZcM3I0YZiFO3VIGWnSq4Gr7MhmJK2koyDUro 2svIqtQH81RhC0v2X/G0nT9z8BNmK/ArrMGOStY7WvXrQDtK9bfG1hcuMWd6sez0dNkJDB yQUGKP5cxj2vjhOSzUhn3lG8cijZKrYw4YoXPV5uWsEFmuPN3dXWzS0bPIN97kcCZ98F34 Y0S0mp+OcuNCh5BmSAoU+pL98YmQnHaBsjD7U30g1nx0hP/pIqDEpbAwSf9CUA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1706823082; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=GBKkh88KouUP0Ae2iHRwaew7JNU/koEmTld7YGx7X7g=; b=a3diu62mjy6lX31g1lFmYOQG3sWELZ9IDyBnG6dXlPYOWPFi9w9fxv1h5cLTw1tLUHRa9F ZqizV++lVgEf3MA25gFAmjnMvd0ps8Yx6BFS4JaJJmXygK8tFz3qd0MvmOduEO2r7IdQkA qDCD/Jpt8A2bXGnfbc7NxsnV/qr5/cFBpcjhRaga+bu4EvW6tBhsvwj/LgB7Yl9C0R9QTy gqkzFY3CM8Ttou4Ox2MGllQJfglP3z7kg5BXs+GYUleJnYQni4FICsAqXhqmzQyhVQpdTX aVyDriaBrcwgK+qIZ57CpMTecjWHv32j9JcqtqymCyB3iLuHRL92C+jFGYMc0w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1706823082; a=rsa-sha256; cv=none; b=QZyfp2EnwGfTAakDJBDW8f9MZ6tZYLgBeS1apueC2xSu52pGwlpnn1yT7/9h39s83Lknks iZ+V0SO+bk7j0FUDg1X46WOex3R2gT1SS0klShw8lhJgg7VYFLWdE0gqnkNHW+ZxYvXZ8w bP636T2ua4E2Ls/Dr6+VZ2MQ+n3butgr5/324lH06fWStCWE//snrLGZeEQDWjqgxqLig+ fvQqiWIQFkO9X5lwTm+iWSs14gP2Mww3/R8rrgpLNv5Y/JDj/K1RG52GUVEHFkhfTdGMDy oTQQP+JHBNpDtQiOhM7d5n9YzuhVar3yC9Ucz4GlJlrRFK2BfHzXtamQk6cZDw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4TQsXp4Prxz1J5R; Thu, 1 Feb 2024 21:31:22 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 411LVM5R081044; Thu, 1 Feb 2024 21:31:22 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 411LVMND081041; Thu, 1 Feb 2024 21:31:22 GMT (envelope-from git) Date: Thu, 1 Feb 2024 21:31:22 GMT Message-Id: <202402012131.411LVMND081041@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Olivier Certner Subject: git: ce92a977dbd2 - stable/14 - login_cap.h: Remove LOGIN_DEFUMASK List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: olce X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: ce92a977dbd24301f5f5348d45f51795c5f98786 Auto-Submitted: auto-generated The branch stable/14 has been updated by olce: URL: https://cgit.FreeBSD.org/src/commit/?id=ce92a977dbd24301f5f5348d45f51795c5f98786 commit ce92a977dbd24301f5f5348d45f51795c5f98786 Author: Olivier Certner AuthorDate: 2024-01-25 22:10:40 +0000 Commit: Olivier Certner CommitDate: 2024-02-01 21:30:14 +0000 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 | 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"