From nobody Thu Feb 20 15:26:50 2025 X-Original-To: dev-commits-src-main@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 4YzHDX0jXDz5p2d3; Thu, 20 Feb 2025 15:26:52 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YzHDW11Z7z47bF; Thu, 20 Feb 2025 15:26:51 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1740065211; 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=AxR7DWpk+0a7jiC81kUgEJtKVhFyAdA7lCjK9SMYRd4=; b=rbc5uNuTxORUlzQdLJz+wNE5nKJ82pWguC3Rhu24Ie8mAk2ytzWpLGBjTYfLJZnBFpeGDJ cUJpV9bPwb+15sxl2ZTBPv5Ebm3EptbGbsVEpEH10z00N8j3WKcyxDKxfYi6Um7wbh6ikn PG5jTHDsgRwmX57nrxXQM9du2GvqxqQ8B/S48qX2O5SIMoNKOQaQQ13D0q4wErqArPGqEW fDsOJNxmQd5sqY+H6ysQNb959c584aeCnDJqcHTZMgyYtj4WZTbMcvV5kX67WGYPqnCWmt VBcsOcg4t83KWjObS+bJmwrUxfGfklg1TEsvMevEthUAxk8Dhc/X/ifupfXgsw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1740065211; a=rsa-sha256; cv=none; b=wMGZkMEvlZPN4dtONWIu5/eM++4WH6ylbvF0sqM8cOXuI1w7HsB8G8DLFCMgexWjxQZQDU cXYJoz62/fd0pAINbhPpOW7vsnecDXkbSeg5fewVqUhrWabMzRsKD9C41DtrCLUd0PB2wN BU7HjX0I+puTgqQgOI4/WRVVdf2xuQUoHmEDq8C+OE/RMuHhaFkdkDSv0XCAu2v01rQJuF B5cNkdXu0hjDlq1Fxc7HATi1i/Gfz1q351/D0VOOQydOTiNoUzH70uOD2mjf3qutdBpvQg 0Pz3VquYv4Ye/F7KoLZRgE54fDiGVwe1m3UvtGEmBxmZQLmEgUNhQLJsA4G21g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1740065211; 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=AxR7DWpk+0a7jiC81kUgEJtKVhFyAdA7lCjK9SMYRd4=; b=fyI3EesKnJURTuXIMCWXvkZ3ZIyps4KZXjAZipRQQ+d/VmrCTpT3e14GfY9v3Si570QJUe 7SrWdbxkLKT0pJR8LAuqZoa8isudmxD+3/oOMSOF+NgPre5Tuj9F4Opjd7A5s1gSaoYmNm JrWpkEr9drD3py+d8joP/bYLInEneUIFkx+TEQegVNwPssWP4rtZFe96HT6cn7q0zEhcMa nA/vQq9hSgB3LqjzGw2uH0OTM2C9O20W3lJgiFsNz77pXbTP7Yb4n0kQ/ucFHI701c5r8Y 6fHCvEzSwlgq2M7UnSyJAv2ssmHT1W5HtasHapGrNaGe0JfAgMAfudjJcI6nAw== 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 4YzHDW06MWzx5l; Thu, 20 Feb 2025 15:26:51 +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 51KFQo9w086203; Thu, 20 Feb 2025 15:26:50 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 51KFQoHG086200; Thu, 20 Feb 2025 15:26:50 GMT (envelope-from git) Date: Thu, 20 Feb 2025 15:26:50 GMT Message-Id: <202502201526.51KFQoHG086200@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Konstantin Belousov Subject: git: e951247a983d - main - statfs.2: document missing user-visible MNT flags List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kib X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: e951247a983daf7814d06e9e49bdd503ceaa0b68 Auto-Submitted: auto-generated The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=e951247a983daf7814d06e9e49bdd503ceaa0b68 commit e951247a983daf7814d06e9e49bdd503ceaa0b68 Author: Konstantin Belousov AuthorDate: 2025-02-20 15:11:13 +0000 Commit: Konstantin Belousov CommitDate: 2025-02-20 15:25:42 +0000 statfs.2: document missing user-visible MNT flags Sponsored by: The FreeBSD Foundation MFC after: 3 days --- lib/libsys/statfs.2 | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/lib/libsys/statfs.2 b/lib/libsys/statfs.2 index 91f9e96cc048..b411b3b6ff46 100644 --- a/lib/libsys/statfs.2 +++ b/lib/libsys/statfs.2 @@ -98,6 +98,9 @@ The flags that may be returned include: Access Control List (ACL) support enabled. .It Dv MNT_ASYNC No file system I/O is done synchronously. +.It Dv MNT_AUTOMOUNTED +The filesystem was auto-mounted, see +.Xr autofs 4 . .It Dv MNT_DEFEXPORTED The file system is exported for both reading and writing to any Internet host. .It Dv MNT_GJOURNAL @@ -122,6 +125,8 @@ The file system resides locally. Mandatory Access Control (MAC) support for individual objects (see .Xr mac 4 ) . +.It Dv MNT_NFS4ACLS +ACLs in NFSv4 variant are supported. .It Dv MNT_NOATIME Updating of file access times is disabled. .It Dv MNT_NOCLUSTERR @@ -139,6 +144,8 @@ Soft updates being done (see .Xr ffs 4 ) . .It Dv MNT_SUIDDIR Special handling of SUID bit on directories. +.It Dv MNT_SUJ +Soft-updates with journaling being done. .It Dv MNT_SYNCHRONOUS All I/O to the file system is done synchronously. .It Dv MNT_QUOTA @@ -150,8 +157,19 @@ Even the super-user may not write on it. Identifies the root file system. .It Dv MNT_UNION Union with underlying file system. +.It Dv MNT_UNTRUSTED +The file system was mounted with the +.Cm untrusted +option, which indicates media of unknown provenance or integrity. +Currently honored by +.Xr ffs 4 . .It Dv MNT_USER The file system has been mounted by a user. +.It Dv MNT_VERIFIED +The file system is marked as verified, no fingerprint check on +.Xr execve 2 +is needed, see +.Xr mac_veriexec 4 . .El .Pp Fields that are undefined for a particular file system are set to -1.