From nobody Sun Feb 23 00:31:12 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 4Z0lCj3jvwz5p1NK; Sun, 23 Feb 2025 00:31:13 +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 4Z0lCh6VmBz3vq2; Sun, 23 Feb 2025 00:31:12 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1740270672; 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=NpLWve4XiG3/wlGtOBxCkZsy3qAI1ESTnEr/qBoaBmI=; b=TBSfnl5eTiCU2h48IEgBLMQKOr/Hhv3+t8Ppt3ofrCRqEWstRYa9UhXfFjDL4YBaaLzTsj efMynfSfBRFXF4sC4oqbekiu6uVJqMx97PYfjEYFXXGXDS0nbq58kMolrQpDB6mSF9LViS 9nL+fMIQ7e66wPObzKPPH8rXBAvCljohUzCF9R/22+pB6fLwks+mX9HRUSpOAKhX9u1KVE TY2CoSSOwe2OjPzRgsL1tku3ggTbHLDFERthjQ4wwcoVVaPXhg2DI12O6ar300BKiLqWDl SGNEev5I9e9AM8ZtWvCaTmt+auabfF0Z1edPT89MjqhFLSRMbSeqIzLGkP9xLA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1740270672; a=rsa-sha256; cv=none; b=mOBk+AWazUUwfX+zmAxQBWv54/KSWi8L5Ro/+RumPyUSXfRp8l4gnNuf5D8BkVSaZ03zVb tF6iTjwXppR5hSNhMO+oEO4sTrsUedhCKlpzfF0HH+PectpIHDN8UhVBLJjx6dKhCUgJoC OD0QSPcY2j9Nhr4APAn+52cTlOd9SXclrPePOKTmpvoxJqOHABnEzuQIPA0MZCZ6auVXTK YulCZD2qfyM0wTKzjpKGBIRcdKmS6ispYVoVIphtiMBkcBdorRKtZ8Ew0jZOiGDob0xMYz BzjIx939+61Zqd1HIMHTgI2NTVLoCEuQ7V2vjPRddoJ03CWKGFpicbK6qqNwEw== 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=1740270672; 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=NpLWve4XiG3/wlGtOBxCkZsy3qAI1ESTnEr/qBoaBmI=; b=wvzwYgwuUHAhwdzYKMfJS1zslB2ezuk+Ushr2yPJqNXqwMpV2whjJDenNDhqQ6esC+ceqS fmRGx0tUz1xPmzGOgfwIIJlLQVDpImTQQR6qeFwiEksSweF6c/q89OczPtD+2rNdtM5z5u LpWp8dOYxAmFdk3+hCOSj0Ff6RLG59A/bYtmJlnuly7scDHZY0TjtjfqIBPa6MPtuZlYae 040LowTkrcHxTEVesFx8RkO/Wy7MMUf7haMku/AiIHc1s5ie4Ih+imM93zcsdUWwkcdh+C hYie/64nxBXLlEYFThmVpYXCNrmcpvhM2kpALezDcUxkOtUP9tlcDw4sC1plwA== 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 4Z0lCh2fK8zXJw; Sun, 23 Feb 2025 00:31:12 +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 51N0VCiU007727; Sun, 23 Feb 2025 00:31:12 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 51N0VCc5007724; Sun, 23 Feb 2025 00:31:12 GMT (envelope-from git) Date: Sun, 23 Feb 2025 00:31:12 GMT Message-Id: <202502230031.51N0VCc5007724@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Konstantin Belousov Subject: git: b69399170b05 - stable/14 - statfs.2: document missing user-visible MNT flags 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: kib X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: b69399170b05ca6a1b20bf2da5bdd31b05f0ea11 Auto-Submitted: auto-generated The branch stable/14 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=b69399170b05ca6a1b20bf2da5bdd31b05f0ea11 commit b69399170b05ca6a1b20bf2da5bdd31b05f0ea11 Author: Konstantin Belousov AuthorDate: 2025-02-20 15:11:13 +0000 Commit: Konstantin Belousov CommitDate: 2025-02-23 00:30:51 +0000 statfs.2: document missing user-visible MNT flags (cherry picked from commit e951247a983daf7814d06e9e49bdd503ceaa0b68) --- lib/libc/sys/statfs.2 | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/lib/libc/sys/statfs.2 b/lib/libc/sys/statfs.2 index 762183188353..404a9a0053c1 100644 --- a/lib/libc/sys/statfs.2 +++ b/lib/libc/sys/statfs.2 @@ -100,6 +100,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 @@ -124,6 +127,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 @@ -141,6 +146,8 @@ Soft updates being done (see .Xr ffs 7 ) . .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 @@ -152,8 +159,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 7 . .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.