From nobody Wed Jan 31 00:46:09 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 4TPjyV0MjMz580hr; Wed, 31 Jan 2024 00:46:10 +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 4TPjyT5X0Gz45Px; Wed, 31 Jan 2024 00:46:09 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1706661969; 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=MSsdcSuofAmxdedrMpDWmiCp3GWmU2CrNhxizxVNqvo=; b=duI3mSQAQu/1bqMzG348EY1SslZXT6PSBVX51ZR68bdJ1sO67B89FJU4jyzKzdjkDYzlfd ZJsfCIf3nJzlocq9ZIM4TKLzRXtujaIHAkNggp6V3iJbKvT+3feiOk/IVkwFmRqt/4TYjD gEYjHnDKvrZ4j4K9Q4i9+E/nuHWLbzLIeZ4Kq2Urn1iJ0Lsy0wpOJ56cVepjgBd6+W4AyZ z7OQeIamv2HxET4roQAxpt4qjyJ0NraZewhZLCDcxuAOxbNrv7dxvwE4hgYb5ElI3EdQdG IL7tHqJU3U5DGbcbw3H6XvP4hPPKu6p9AmTZxei+S6KXf6Oy202dIHOTWOucyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1706661969; 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=MSsdcSuofAmxdedrMpDWmiCp3GWmU2CrNhxizxVNqvo=; b=jaFKMgoeUd4fOipjbRkNh64Pg5gcM8uQGs31yUQHJrcgu/BlAi0rdOV7LENRwGccJcD8q6 zh1pHzLD83cYSRejx6bZZLLKBhkyfNs1Z7hpRpQluIWVpW8F3BwFcq9tjNkDCKABwaDkHt 2VGd/0HuzbRvYsGbd7j5nlYqIiWm6RBDttcLC64qHEL0ZKLXMJleMryvkH7/d06XywhXr8 VPKJb3IP8ijkMjNlbnxYFNeTXzcqtkOQtVcj2Is9ZM5EBxrKOh6ig0nBaVYlg8YP9MDoRz 5Eah1Ve0qsVon8RKn1SHmdkpR8SOU5XhL66S8tIDEY0DUE4S9+ts9aL0Ar6Jmw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1706661969; a=rsa-sha256; cv=none; b=CxAn0DplVo/n+gjjooOdp99zL78NKgBoIER7fEGmnw8jvu7+CNpFNZiOHSD72JAlSQOBz8 Kyeo356j9O6rYVclTA0duVpbT8Bep6bceTtapWJWeAOonjIfe2G+wNWRHIivu7I/uwYBju BnjG24E2fkba7TqGvmz4Z6xEkTz5G0ZcyK3peTkyAqrL4Prz1lK3vaCWcfdDkD0VKrmBQq oOoBYot3f4t2zNaTuCgv30Wlnbr40FEemk72/yRfQU3oWzsfnnF1l1xNTuWuLsu0gM48DT 6cUpS2O0pXKNWnC4wmYfeo1f/eVV2NeZek+aHDWglKBh5eLL0HcP/XwiRCWUuQ== 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 4TPjyT4dbKzxZ8; Wed, 31 Jan 2024 00:46:09 +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 40V0k9Ev063444; Wed, 31 Jan 2024 00:46:09 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 40V0k9L8063441; Wed, 31 Jan 2024 00:46:09 GMT (envelope-from git) Date: Wed, 31 Jan 2024 00:46:09 GMT Message-Id: <202401310046.40V0k9L8063441@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: f8d885c08dfc - stable/14 - Add kcmp(2) userspace bits 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: kib X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: f8d885c08dfc3d93ba00ae216c9587e990d64a5b Auto-Submitted: auto-generated The branch stable/14 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=f8d885c08dfc3d93ba00ae216c9587e990d64a5b commit f8d885c08dfc3d93ba00ae216c9587e990d64a5b Author: Konstantin Belousov AuthorDate: 2024-01-19 19:55:11 +0000 Commit: Konstantin Belousov CommitDate: 2024-01-30 20:24:42 +0000 Add kcmp(2) userspace bits (cherry picked from commit 211bdd601ee51f90da9b123807ef68ac122116b9) --- include/unistd.h | 1 + lib/libc/sys/Symbol.map | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/include/unistd.h b/include/unistd.h index 337f6befd717..7d3aace103d0 100644 --- a/include/unistd.h +++ b/include/unistd.h @@ -521,6 +521,7 @@ int iruserok(unsigned long, int, const char *, const char *); int iruserok_sa(const void *, int, int, const char *, const char *); int issetugid(void); void __FreeBSD_libc_enter_restricted_mode(void); +int kcmp(pid_t pid1, pid_t pid2, int type, uintptr_t idx1, uintptr_t idx2); long lpathconf(const char *, int); #ifndef _MKDTEMP_DECLARED char *mkdtemp(char *); diff --git a/lib/libc/sys/Symbol.map b/lib/libc/sys/Symbol.map index f17aae279b8d..6c79f89016d1 100644 --- a/lib/libc/sys/Symbol.map +++ b/lib/libc/sys/Symbol.map @@ -424,6 +424,10 @@ FBSD_1.7 { timerfd_settime; }; +FBSD_1.8 { + kcmp; +}; + FBSDprivate_1.0 { ___acl_aclcheck_fd; __sys___acl_aclcheck_fd;