From nobody Mon Feb 05 20:38:39 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 4TTJB81w5tz58xx1; Mon, 5 Feb 2024 20:38:40 +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 4TTJB808jLz4q1b; Mon, 5 Feb 2024 20:38:40 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1707165520; 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=0QeuY98Lqi7SimtuypefqUeNH8bpXNR+DoEr8YnCNac=; b=UV0FZJCpzJyJFrGT9AA4NcrCq2bDaiwXgYh+KMDQKD5yQZYaCFKaSxzj+05ORAme+kXLA2 AIzBIsWlxY6xrN/xaYc/6rCAsEYoZve98QcvdNdaLsqevHLUbugCMJ182ZhYEO0GvOLs6x T8ZpQvsuEL7fp1APjDRsSUVvqFf4Lek+pQGSL9ouTCwjLND5lUrkk14tXihreWhjTioa1K m1QRPMErp4f6UZg/3vKTStxm43HlaqHIAh+y3O3hKcCygYsGy+Ga/IpRYInWPYUA3xVlJ7 RQI19reipJYVqT/NuJYqjfybiMbhlGaFFATDhfQPFSWNoipfC0VH6l/2NdSwtw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1707165520; 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=0QeuY98Lqi7SimtuypefqUeNH8bpXNR+DoEr8YnCNac=; b=Q6C79ZhXYRKG0r12a1RXTocJAfJS/YgmyIu85cV9tIohbwEjMXHuW/MVVZYWBzu7f1Sjo+ YFVqdRn1dNKYeKlNELhVmTHXQj3RvTksJmCqxwaOtz+itOA53MQJjD5dgYNXUxChG3JyLE eKTYh0XCGGzY1HAJyCrYs7+UsJfgWBz/1twy1MWn22Uc1YIiDPkX1nkVMsOLysC95FOBjU RfOEMcyvnxx0CNrOat4knPvssgsRdGrSts+E4Zd+s7JEWWauW/U7K//T/24vlknl2Q/+RG eVkZNfoMp2HuksHzkbQMpZRd5WaL35ilvKcy17UTPNL9jnDHNPJYGXlrrIEIMg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1707165520; a=rsa-sha256; cv=none; b=JDvng36Yv+5worcNBsOTuiRhOcKcrEviawvrNft9r0Gnxfhul2tpejUJMvPeiRD17XbIFf AcihPd4V71esBUU+waqlUHmKD4eg5mhjUYxul+h55CdHE2gcCEf5y5R/kU8Qqbzt+5BmvL Jw29Zfs27oGi1mYaZ6pl7zPyuoiBP/Mf9/LUorjbMerAG1GdWz8om58LN2jVQlULosHJfL cX4ROH9cPIIYtnUSqMyRjkRpsqpHp9UvHTikQUBHtSii1oL7VO6kUrM/bu/YsxKsZKJn/4 o8Y7jRtoE9eysYVsPyEI39aEvHFs63m3Hyf1AY43AVnaoAWsw5IeSOnIPIhl7A== 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 4TTJB76K3hzvP4; Mon, 5 Feb 2024 20:38:39 +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 415Kcd4N069450; Mon, 5 Feb 2024 20:38:39 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 415KcdDj069447; Mon, 5 Feb 2024 20:38:39 GMT (envelope-from git) Date: Mon, 5 Feb 2024 20:38:39 GMT Message-Id: <202402052038.415KcdDj069447@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Brooks Davis Subject: git: f70c5a0925c6 - main - libc: move getpagesize(s) to libsys 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: brooks X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: f70c5a0925c621ce862327a1f335394e731fbaed Auto-Submitted: auto-generated The branch main has been updated by brooks: URL: https://cgit.FreeBSD.org/src/commit/?id=f70c5a0925c621ce862327a1f335394e731fbaed commit f70c5a0925c621ce862327a1f335394e731fbaed Author: Brooks Davis AuthorDate: 2023-11-17 18:55:25 +0000 Commit: Brooks Davis CommitDate: 2024-02-05 20:34:56 +0000 libc: move getpagesize(s) to libsys Reviewed by: kib, emaste, imp Pull Request: https://github.com/freebsd/freebsd-src/pull/908 --- lib/libc/gen/Makefile.inc | 4 ---- lib/libc/gen/Symbol.map | 2 -- lib/libsys/Makefile.sys | 4 ++++ lib/libsys/Symbol.sys.map | 2 ++ lib/{libc/gen => libsys}/getpagesize.3 | 0 lib/{libc/gen => libsys}/getpagesize.c | 0 lib/{libc/gen => libsys}/getpagesizes.3 | 0 lib/{libc/gen => libsys}/getpagesizes.c | 0 8 files changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/libc/gen/Makefile.inc b/lib/libc/gen/Makefile.inc index 64b3e99ec6c0..6d1f98c241d4 100644 --- a/lib/libc/gen/Makefile.inc +++ b/lib/libc/gen/Makefile.inc @@ -77,8 +77,6 @@ SRCS+= __getosreldate.c \ getmntinfo-compat11.c \ getnetgrent.c \ getosreldate.c \ - getpagesize.c \ - getpagesizes.c \ getpeereid.c \ getprogname.c \ getpwent.c \ @@ -241,8 +239,6 @@ MAN+= alarm.3 \ getmntinfo.3 \ getnetgrent.3 \ getosreldate.3 \ - getpagesize.3 \ - getpagesizes.3 \ getpass.3 \ getpeereid.3 \ getprogname.3 \ diff --git a/lib/libc/gen/Symbol.map b/lib/libc/gen/Symbol.map index 73b0f58e5f26..7d1fe00284fd 100644 --- a/lib/libc/gen/Symbol.map +++ b/lib/libc/gen/Symbol.map @@ -159,7 +159,6 @@ FBSD_1.0 { endnetgrent; innetgr; getosreldate; - getpagesize; getpeereid; _getprogname; getprogname; @@ -339,7 +338,6 @@ FBSD_1.1 { FBSD_1.2 { cfmakesane; endutxent; - getpagesizes; getutxent; getutxid; getutxline; diff --git a/lib/libsys/Makefile.sys b/lib/libsys/Makefile.sys index e8db2a585ce4..e299396585b9 100644 --- a/lib/libsys/Makefile.sys +++ b/lib/libsys/Makefile.sys @@ -33,6 +33,8 @@ PSEUDO+= _clock_gettime.o _gettimeofday.o SRCS+= \ __error.c \ _once_stub.c \ + getpagesize.c \ + getpagesizes.c \ interposing_table.c SRCS+= getdents.c lstat.c mknod.c stat.c @@ -371,6 +373,8 @@ MAN+= abort2.2 \ _umtx_op.2 MAN+= \ + getpagesize.3 \ + getpagesizes.3 \ lockf.3 \ rfork_thread.3 \ sleep.3 \ diff --git a/lib/libsys/Symbol.sys.map b/lib/libsys/Symbol.sys.map index 17731304d311..34c5984ddde6 100644 --- a/lib/libsys/Symbol.sys.map +++ b/lib/libsys/Symbol.sys.map @@ -98,6 +98,7 @@ FBSD_1.0 { getgid; getgroups; getitimer; + getpagesize; getpeername; getpgid; getpgrp; @@ -331,6 +332,7 @@ FBSD_1.2 { cap_enter; cap_getmode; getloginclass; + getpagesizes; pdfork; pdgetpid; pdkill; diff --git a/lib/libc/gen/getpagesize.3 b/lib/libsys/getpagesize.3 similarity index 100% rename from lib/libc/gen/getpagesize.3 rename to lib/libsys/getpagesize.3 diff --git a/lib/libc/gen/getpagesize.c b/lib/libsys/getpagesize.c similarity index 100% rename from lib/libc/gen/getpagesize.c rename to lib/libsys/getpagesize.c diff --git a/lib/libc/gen/getpagesizes.3 b/lib/libsys/getpagesizes.3 similarity index 100% rename from lib/libc/gen/getpagesizes.3 rename to lib/libsys/getpagesizes.3 diff --git a/lib/libc/gen/getpagesizes.c b/lib/libsys/getpagesizes.c similarity index 100% rename from lib/libc/gen/getpagesizes.c rename to lib/libsys/getpagesizes.c