From nobody Thu Jan 11 18:27:36 2024 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 4T9tSS4yV2z56fP4; Thu, 11 Jan 2024 18:27:36 +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 4T9tSS3Yrvz3xHQ; Thu, 11 Jan 2024 18:27:36 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1704997656; 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=NNmz/lpKsrBhnc6XYx9gRAEOUFayvzCTX8HpGeS03rQ=; b=DupPPM9H7/qOOjM4rq39taHPMZMYUtaEV71qKpCi/5PT+pNsx2k3avDe1DZS11ltKbOFus EgH7XSnQgpPlD+Bh9Q0o+8sOU5SPqXCk4ZjIcfK919yYefon5D8CqvrVwTkzKnz6nNua7Z 9GRCTk8KKJEjd+DP1HVa5HuF53/+KU4lNhA4uB/e3RB8mDGIglchbNWvPOsR6RH6VBNCf/ AytlMC+F2vzYKttLvMK+A3VycYRX6ApYR6EcICMEvP6WMsM83uiy2SXX3CKYbJ5JvNKIBg 0v3PnOtSSTtIKUHkifnifUc4kWtIL0zihVMpqQEBs0+oQhtgPN8tyUmt+OiXYA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1704997656; 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=NNmz/lpKsrBhnc6XYx9gRAEOUFayvzCTX8HpGeS03rQ=; b=l5/ceeuJWkJuNgXv91KIHGPc/NhyEENO+H9OGduNxCe1MGW0oZPeRra8xgItKzK9tpAdEL S/K5UhiQIV4iWTHMG0FtrisKwRCDqfwQoW8xycKOIwJ0WCdgVorY9WN5NHYP6PHdlbQ0yy SduroFTvXXUMpgZ8RuiF5zY7SBP+iWOyTdGaokSzw8n4BUwBAO9MbQd6oLmCk7yKOnV0ZQ defhZmpEIfH9mBQGOCt0j+B01d04nq/maPvYDFLZ0HfDaYz6sP6wX4ZuQkteJby4R6hcEj vTsiqGNyrhBjoNGOpKx/iD1JvARkA+++slObg8teD+utwdxdqLgG/aA6zGsKSw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1704997656; a=rsa-sha256; cv=none; b=QSuv3i8D5XDgYfDKuSfdIWbX2ZfU6WZkQNa5LNxVciAfqN4V2VH+Ywkg63pawRa3zU9RUp Nfvzq/doagQ2naV7nrmekr2/8BLmBQQuOpt5boW6mbXk+RMupDaSWAlWtOcI/uMvLYJmsl xQNY66eJSbYLLBTS74BZPWGaN67wadMZ1q2xZjuyfEvMooB41FdTPVjgWo/cdhFHV1S2Gc XN6iMawfu6u+P4X6+l0gGlctjWfk13eqO8io8Tx+J2/40VCIZEA2MBgXK+wgp+yY0g2GVi Zqn2Bf1HH6Cao2OJ9JMm1OQ9tVh8xkTkeR7zo72WCbLx2TANi///LK/akHxyBQ== 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 4T9tSS2gF0zTrZ; Thu, 11 Jan 2024 18:27:36 +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 40BIRaUP017701; Thu, 11 Jan 2024 18:27:36 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 40BIRaTp017698; Thu, 11 Jan 2024 18:27:36 GMT (envelope-from git) Date: Thu, 11 Jan 2024 18:27:36 GMT Message-Id: <202401111827.40BIRaTp017698@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: e2417a21a025 - main - libc: separate syscall and non-syscall symbols 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: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@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: e2417a21a02562655d760005e9827f1190bb652f Auto-Submitted: auto-generated The branch main has been updated by brooks: URL: https://cgit.FreeBSD.org/src/commit/?id=e2417a21a02562655d760005e9827f1190bb652f commit e2417a21a02562655d760005e9827f1190bb652f Author: Brooks Davis AuthorDate: 2024-01-11 18:27:20 +0000 Commit: Brooks Davis CommitDate: 2024-01-11 18:27:20 +0000 libc: separate syscall and non-syscall symbols Put declerations of _ and __sys_ prefixed stubs at the top and everything else at the bottom. Sort the bottom list with sort(1). This paves the way to generate the syscall symbol list. Reviewed by: kib Sponsored by: DARPA Differential Revision: https://reviews.freebsd.org/D43386 --- lib/libc/sys/Symbol.map | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/lib/libc/sys/Symbol.map b/lib/libc/sys/Symbol.map index f17aae279b8d..a2b8c2d40fc1 100644 --- a/lib/libc/sys/Symbol.map +++ b/lib/libc/sys/Symbol.map @@ -425,6 +425,7 @@ FBSD_1.7 { }; FBSDprivate_1.0 { + /* System call stubs */ ___acl_aclcheck_fd; __sys___acl_aclcheck_fd; ___acl_aclcheck_file; @@ -536,8 +537,12 @@ FBSDprivate_1.0 { __sys_connect; _cpuset; __sys_cpuset; + _cpuset_getdomain; + __sys_cpuset_getdomain; _cpuset_getid; __sys_cpuset_getid; + _cpuset_setdomain; + __sys_cpuset_setdomain; _cpuset_setid; __sys_cpuset_setid; _cpuset_getaffinity; @@ -966,7 +971,6 @@ FBSDprivate_1.0 { _sigtimedwait; __sys_sigtimedwait; _sigwait; - __sigwait; __sys_sigwait; _sigwaitinfo; __sys_sigwaitinfo; @@ -1040,14 +1044,13 @@ FBSDprivate_1.0 { __sys_write; _writev; __sys_writev; - __set_error_selector; - nlm_syscall; - gssd_syscall; + + /* Things that aren't system calls (in sort(1) order) */ __libc_interposing_slot; __libc_sigwait; - _cpuset_getdomain; - __sys_cpuset_getdomain; - _cpuset_setdomain; - __sys_cpuset_setdomain; + __set_error_selector; + __sigwait; + gssd_syscall; + nlm_syscall; rpctls_syscall; };