git: f5f37c3fb8de - main - issetugid() is a system call and belongs in section 2 (not 3).
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 17 Apr 2025 18:05:22 UTC
The branch main has been updated by schweikh:
URL: https://cgit.FreeBSD.org/src/commit/?id=f5f37c3fb8de5d093430f2062034e7d2bc4ab52b
commit f5f37c3fb8de5d093430f2062034e7d2bc4ab52b
Author: Jens Schweikhardt <schweikh@FreeBSD.org>
AuthorDate: 2025-04-17 18:04:26 +0000
Commit: Jens Schweikhardt <schweikh@FreeBSD.org>
CommitDate: 2025-04-17 18:04:26 +0000
issetugid() is a system call and belongs in section 2 (not 3).
---
lib/libc/stdlib/getenv.3 | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/libc/stdlib/getenv.3 b/lib/libc/stdlib/getenv.3
index 1337ec867237..d78dcfbef9eb 100644
--- a/lib/libc/stdlib/getenv.3
+++ b/lib/libc/stdlib/getenv.3
@@ -29,7 +29,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd March 14, 2023
+.Dd April 17, 2025
.Dt GETENV 3
.Os
.Sh NAME
@@ -85,7 +85,7 @@ returns
when the environment cannot be trusted, otherwise it acts like
.Fn getenv .
The environment currently is not trusted when
-.Xr issetugid 3
+.Xr issetugid 2
returns a non-zero value, but other conditions may be added
in the future.
.Pp