From nobody Sun Jul 6 19:25:49 2025 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 4bZy5T39wxz61bGb; Sun, 06 Jul 2025 19:25:49 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4bZy5T21Wqz3Jc4; Sun, 06 Jul 2025 19:25:49 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1751829949; 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=F5EFDV9dFTADE8hjxZBFFrAQbl/FoNH1trhmXUJW7BI=; b=hsiyDqj66TWPQ/RkRS+ql7PGXEsCnjAjeLSenS2GcFhaJyXOiY8TtogDdGoLsq2iMdCK6S dGT+aXOGE4rQYT9IxQWeyB+WhqK4lAzr8N2T7SECMOEcbp3Xh/1L01wAI7ltCvK0wuKU1W jAmQsZ8OjMJ8uBmgOKU0AJev+bXAFuXSUTy5UY0SylpbUIoYafA95UmIIDTJQJpvG74jA2 YtrJMwd/b7RLKSnnIeHar19bHe8nWSEbOsiSJBJKx0lbNCiGsWu4m2ji9gEIIb7mxVtRsE gpogaQFQKhBOohhmojT/lkbrwRVoI1Dj/iftsbJh8/NJn2XohJehGWRuHtD1Ag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1751829949; 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=F5EFDV9dFTADE8hjxZBFFrAQbl/FoNH1trhmXUJW7BI=; b=kEpTMb+V5drF/uoIFCT0cHBbGE2QroJYBcf5tWAvHrprI3yQsdcp+CJETsLHRpPxGyarwx hZ9G4KZOfbtCU0d8s7TdjDR3NrixKXgsGsU4nxdZJZuYq3IhQbNBrzI3yZbyKd7HTabTbK +KswvXwuk58c1N8aBnhQ8iLLVD5cA8W5tGBl8eidX8Gm2CxJBf/uyT3CICapwml7aTipjM uud3d0BJeDxKGPxFouyhPPkV1iCqwua0JBPtgSAezQ8jOT3GAvypK0A2WukWu5ACRE5cKf AZC1R4hEAb9XAnfA/V/ZzzvPKOwiLJinRLuWS1btU5Svbb20R6dtaXQHSCSbjw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1751829949; a=rsa-sha256; cv=none; b=SX4hjp2GVxK45hzaBNM21PdUuznCKumDMBeRzSpsLGdvB4tk5AAQIHQ88srBtouXqQ0MQl JfsO0QPdMijwpWH5InyC4sLZuLsI+LmQOFHVkfe+mEIZDRoV1ntdsWYrRPu3B3j9kjq+JR /qtapqCzGCtmSoMnp3eg87bt/eGL5CSjTP9Mlp9+PSHmoXgXhsUcpT7y/V8igEV9bg3D11 3IHEPl9QUy+4kM18FaMbjvfXDA97EXa53bntdAteGk48OiSZGtMG6QAUYCZOny/F9TKrh6 ojTNf/8TCk/p1uu6kdDTtLJnPmhhb2c8caV3L3dqcvoU9KU2gN5OXz4zAC+Ifg== 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 4bZy5T1SNGz3MT; Sun, 06 Jul 2025 19:25:49 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 566JPn2P096029; Sun, 6 Jul 2025 19:25:49 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 566JPnwl096026; Sun, 6 Jul 2025 19:25:49 GMT (envelope-from git) Date: Sun, 6 Jul 2025 19:25:49 GMT Message-Id: <202507061925.566JPnwl096026@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Rick Macklem Subject: git: ac64cd191c3f - main - pathconf.2: Document the _PC_HAS_HIDDENSYSTEM name 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: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: rmacklem X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: ac64cd191c3f49efe900b8e90657f51578503265 Auto-Submitted: auto-generated The branch main has been updated by rmacklem: URL: https://cgit.FreeBSD.org/src/commit/?id=ac64cd191c3f49efe900b8e90657f51578503265 commit ac64cd191c3f49efe900b8e90657f51578503265 Author: Rick Macklem AuthorDate: 2025-07-06 19:23:05 +0000 Commit: Rick Macklem CommitDate: 2025-07-06 19:23:05 +0000 pathconf.2: Document the _PC_HAS_HIDDENSYSTEM name Commit afd5bc630930 added a new pathconf name _PC_HAS_HIDDENSYSTEM. This patch documents this new name. This is a content change. Reviewed by: kib, ziaee (manpages) Differential Revision: https://reviews.freebsd.org/D51175 Fixes: afd5bc630930 ("pathconf: Add a new variable for hidden/system") --- lib/libsys/pathconf.2 | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/lib/libsys/pathconf.2 b/lib/libsys/pathconf.2 index 4c562b9c2c9a..79ac8310000d 100644 --- a/lib/libsys/pathconf.2 +++ b/lib/libsys/pathconf.2 @@ -25,7 +25,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd May 3, 2025 +.Dd July 5, 2025 .Dt PATHCONF 2 .Os .Sh NAME @@ -179,6 +179,14 @@ otherwise 0. Return 1 if named attributes are enabled for the file system, otherwise 0. .It Li _PC_HAS_NAMEDATTR Return 1 if one or more named attributes exist for the file, otherwise 0. +.It Li _PC_HAS_HIDDENSYSTEM +Return 1 if both +.Dv UF_HIDDEN +and +.Dv UF_SYSTEM +flags can be set by +.Xr chflags 2 , +otherwise 0. .El .Sh RETURN VALUES If the call to @@ -255,6 +263,7 @@ An I/O error occurred while reading from or writing to the file system. Corrupted data was detected while reading from the file system. .El .Sh SEE ALSO +.Xr chflags 2 , .Xr lseek 2 , .Xr sysctl 3 .Sh HISTORY