From nobody Mon Jan 29 22:32:15 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 4TP32R6v7Mz57ZY8; Mon, 29 Jan 2024 22:32:15 +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 4TP32R4n8Wz4gLg; Mon, 29 Jan 2024 22:32:15 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1706567535; 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=5OeqT6q9T8TAQ1fb9b5ZftE2iXcKHe9iNp7bi4zT1Mg=; b=ovVxJvknxKBmWli2n19ZOya+/OX/iFXbKHnAamaINzRLfEWAoUBwInGFetN4ZTMCPf/wvM Q1AYdlabPxd5ALTsNASADDf8gjZYu0t3Mktv5xmMllQqupF3HGYEUbT9yT9jQ39PEIJamG u7wRy0/WgYeY2tArBkmlHWNj8F5Jff7TmaibAZsWRVmuaXAim6xJR8ORaTTRL/kIBROl7L YElbtQciSrKW86DMQoX3GLKh0cNObLJplvriX7rHXFK08+PkK0XI+C7/eHtL+w4YJ5AoAb U2f9YjjUdHQW+gC+alR9o66brEBEdn0fWME+leZ4RYQiRbSLuht0uqtP/kgOIw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1706567535; 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=5OeqT6q9T8TAQ1fb9b5ZftE2iXcKHe9iNp7bi4zT1Mg=; b=n7DyTGTY7AJlbEuVqM/NRRg5RXtr3rGQmy0duqXvQRZrMaANLC+JUAlcTELQF8rstzVT+h CDinXvCr6bNZEjlmM/pla3lKmuBmVoF7NQ138ix+1gxXB0cBeF6Vy/2oIgIJ5nKksmyXH4 /Qc2rI50JX7Uy3bXppmf8Ej7SINKg3Md2I5pUvmZCHnimr2wqYrXVP37DQuh8LNzjuNSMa LrrpOHM4TwXPec6cDHeEQu5//uXjoDpRBmBFnT+hel5bI6E96B3WlK++pVoeyLuDTYLXNT wk6RekPuRreqhukLykvyyPY9Tu0pSEbzLwjFVQsorT+gmqfj5L23CBQxLcgJeg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1706567535; a=rsa-sha256; cv=none; b=TIR0b12bt0OTksiU+WfOhO8CB9I01xh1QtGmAgVFMUjhFfa+MEWHNyGZl1EUFw6vMnF1EN TWBivcQGnpxAQd6EicUie5mtDDh08JtekuVamjThRwJ3c23vvfZJDvRIV7yA/SeHkju7pX o6U1WhO334a0h+vD/RE8rqVPA9BRwlKF1MDvPUl302QuMeEh1F2a+nWOn7jtDHl7KokyYX nvKfgr7hpXOp92mScpJKydiqT1hA+fqeVBTy3tLVukhPxfkCmGhUszHlP+13mFj5IIo3eQ CDLima2dTI8eVIkEHWX5pNsq2F+GSwm4go+SHUF7bHTn4Q8WEiGdeCuPyviNGQ== 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 4TP32R3tqlz18hM; Mon, 29 Jan 2024 22:32:15 +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 40TMWFBp013679; Mon, 29 Jan 2024 22:32:15 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 40TMWFvR013676; Mon, 29 Jan 2024 22:32:15 GMT (envelope-from git) Date: Mon, 29 Jan 2024 22:32:15 GMT Message-Id: <202401292232.40TMWFvR013676@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Olivier Certner Subject: git: aa96945e71b0 - main - login.conf(5): Document priority's default and possible values 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/main X-Git-Reftype: branch X-Git-Commit: aa96945e71b0f724e6ce673194d23f58d2d637d3 Auto-Submitted: auto-generated The branch main has been updated by olce: URL: https://cgit.FreeBSD.org/src/commit/?id=aa96945e71b0f724e6ce673194d23f58d2d637d3 commit aa96945e71b0f724e6ce673194d23f58d2d637d3 Author: Olivier Certner AuthorDate: 2023-06-21 08:39:15 +0000 Commit: Olivier Certner CommitDate: 2024-01-29 21:58:08 +0000 login.conf(5): Document priority's default and possible values Priority is reset to 0 if not explicitly specified. While here, be more explicit about what "Initial priority (nice) level" means and document that it is possible to set real-time or idle class' priorities with this capability. Reviewed by: emaste Approved by: emaste (mentor) MFC after: 3 days Sponsored by: Kumacom SAS Differential Revision: https://reviews.freebsd.org/D40689 --- lib/libutil/login.conf.5 | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/lib/libutil/login.conf.5 b/lib/libutil/login.conf.5 index 35ca11452811..4a98ee818139 100644 --- a/lib/libutil/login.conf.5 +++ b/lib/libutil/login.conf.5 @@ -247,7 +247,21 @@ for details. .It "nologin file If the file exists it will be displayed and" the login session will be terminated. .It "path path /bin /usr/bin Default search path." -.It "priority number Initial priority (nice) level." +.It "priority number 0 Initial priority level." +A value in the nice range +.Pq -20 to 20 included , +extended below with the 32 real-time class priorities +.Po +so -52 maps to priority 0 in the real-time class, -51 to 1, and so on until -21 +which maps to 31; see +.Xr rtprio 1 +.Pc +and above with the 32 idle class priorities +.Po +so 21 maps to priority 0 in the idle class, 22 to 1, and so on until 52 which +maps to 31; see +.Xr idprio 1 +.Pc . .It "requirehome bool false Require a valid home directory to login." .It "setenv list A comma-separated list of environment variables and" values to which they are to be set.