From nobody Sun Feb 11 01:52:48 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 4TXVwK0dLGz596bG; Sun, 11 Feb 2024 01:52:49 +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 4TXVwJ5Jm2z45hm; Sun, 11 Feb 2024 01:52:48 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1707616368; 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=G6dIgjpO0JYa0MQrrq2udEEGmMJMfUsiIphqF7ueeq4=; b=qo5iapnnxJREq+JXMShDwu96leKcBvNJKqhzW7D2eFcth8jkHKSgC1hKiW7AUZnPgXMi03 pTfGEQ2jAoLTsgtnI+P1JeFNyYDHWkdH8X9m498R09wSKLuutlzVir7LaB98o2KRALhMiD votBMp+FjnSclRqs6Egt1czZh6n9nL6WhHbn6xja1r1g2JE28FNA22JbwtzH0v9lNAjeYP lrSY8CLXjWCER4EQhUtd7OqeYuo9pPMrqHWosXYlkRfkb1/MzCEqAULMh+J3ktpiUnuYPm 8PyYCb+KT6/NWvaJs418a5TxyJ8SdLU07VyRXD0dmoAE1dm8z8UISa5ijFEw0Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1707616368; a=rsa-sha256; cv=none; b=dB29dTpV8Asm07iT5KdFWy0U0DyYthp6Sx+aMFfrlTg2X+hxmOxltq/eRlMYgB3A0MAZ1D ENpGs/Gjxtxk+jmJTAR82YRV7/XNeOkMiJuaEbMQw81+8DVOXkapXJqsAhlvSQsJc6gEw3 Ki/eK082sMNtS/tTCN1LX7JUy/zA8iJ2uE0CDzfL9shhDw7Zf18FH3DJenrER8MMtelAAB 1kmbRLRSQOxvEsNr/cO40f08Z7qHFnsDgKyuW6RtcS19zVfnFiTqW4fIRh7yuBMZ2/aP+u 7LGzzLGE47kKaQzsBsy7870YxT+5ybg7ubScxNUjNfZMvBoXcXZSdH22Wbx1Cg== 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=1707616368; 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=G6dIgjpO0JYa0MQrrq2udEEGmMJMfUsiIphqF7ueeq4=; b=fLMTyChlfLvi1TnyXnbJgVXX2eUIbL8dodh6Ia2EbfUcwQsp5WWieXJp6tNbqryx+UgiIV /GZkMd6YPTThiSaXAP1YQYtEFOpCdKY/eF+MMwjh0JJLlqPrba8ELke++9kkF37GWH30p6 1h2Tj2YhxWttYPupkX1Wm8fqYAdJYaALiI+trNUpdb4y5coJzdix8rpeOHg36mCUMFcdhX iVAo6CAtEGDejdo3kU1y4YPZ3uGgqmusahKtODzd4V8pB5brrjIE73KpDpyAm4M1V5kRGX joeF+1HvlOCGvv0vCCT32WXUGquHqbX2vuOlUy8VhanLocQ/TdpKJqeleHeepg== 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 4TXVwJ4PJdzgjt; Sun, 11 Feb 2024 01:52:48 +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 41B1qm34089470; Sun, 11 Feb 2024 01:52:48 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 41B1qm1o089467; Sun, 11 Feb 2024 01:52:48 GMT (envelope-from git) Date: Sun, 11 Feb 2024 01:52:48 GMT Message-Id: <202402110152.41B1qm1o089467@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: 819c2372c16d - stable/13 - 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/13 X-Git-Reftype: branch X-Git-Commit: 819c2372c16db6f2ec794a3c3a179f4d37b37951 Auto-Submitted: auto-generated The branch stable/13 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=819c2372c16db6f2ec794a3c3a179f4d37b37951 commit 819c2372c16db6f2ec794a3c3a179f4d37b37951 Author: Konstantin Belousov AuthorDate: 2024-01-19 19:55:11 +0000 Commit: Konstantin Belousov CommitDate: 2024-02-11 01:40:29 +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 f9af2922ed3c..29aa0bc6ac99 100644 --- a/lib/libc/sys/Symbol.map +++ b/lib/libc/sys/Symbol.map @@ -422,6 +422,10 @@ FBSD_1.7 { swapoff; }; +FBSD_1.8 { + kcmp; +}; + FBSDprivate_1.0 { ___acl_aclcheck_fd; __sys___acl_aclcheck_fd;