From nobody Mon Mar 27 23:39:33 2023 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 4Plq6G17Rcz42FvC; Mon, 27 Mar 2023 23:39:34 +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 4Plq6F52Jvz4398; Mon, 27 Mar 2023 23:39:33 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1679960373; 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=pal5+lpkXejXaX8l1DCWcBWZe7QjpNpIn5vG55CS6Pk=; b=JiNieL4wNUpkS5D66tCg1inj7x96r3OvKFKvcchsex06zPc1s2BhYfvR8gKnswS7yhRoVs luxHmskB+9U584Qd+lZ1O7SI2b6SEDNKJ4RTtBrctdDlY+ePinfnJIVgDletvaAV+iODMt 8FCsRcNp6jfpVPDYk5KtSOZMR7gY64UNk+ezij42/47OqyDUKvloUPNYTfgGO6IijVAmNS DHibr2paAJ7VgEn9sqZKoh5RoQzA/ycXDj6jwDs9fCdiSSoqpdZX8DXcVk+xWVNgKdafmd pBNwb/pmDSeUrfMnibXBXB6XDXkNZ0rYWIGh9mivjYuLyMNcDUaQMEnMQiysuA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1679960373; 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=pal5+lpkXejXaX8l1DCWcBWZe7QjpNpIn5vG55CS6Pk=; b=S+w0UiWcaq6VaZszTIkg4IloT6Dytb/Sq7fao5335LTp+kUq/OzDTkqL+a9ybDOKYD3w41 y4fYPqv9bQB5DHGvHFyJUrJMrzO/LzRJydsxZjSFvOySaVLjsbibXPEq/dPCMnP6PkFGcr VjDIt6y6QHXzsYgMBxzBw5SqorqzSc27WrKJHWbb78tTMp7MtdsMd4DKuODlACJvfzao0m 1UKx9WOpyZFDQL5GtbYSn1VoPZaBJoLZhuqDPe2m6r2FuEVneYXAhg4c9SPhDgz+xA1tuG G400eqQWfnF6Gi0Gyv77coyUnZ6H1ef1ukSBdzD3aALP0ItgqMWNv5vpRjjACg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1679960373; a=rsa-sha256; cv=none; b=HSs/3AR06+oitLgoe/PwMfCc6kuMdBOCykYFQNSlg0aXz5I1p82BoVudE+qYOC81wJsWGv CO6fffuOmHB1maihgszCpC9JjyNQpWMg6SlUagTFz6X9phfHD51x+jTetDPwB8FlKIJlsW qq1zDV8AdBUxbZb/zzI26YfmG9fdei/ceOwlPMXUufVHnJmDXUujOMR2/CXvmpgCNRlnCb U6KLqRh3Sfj3ztDyyBmrNjb6z5EzIYz+BIFbY5Wfa69ScTsQsi5yllPtgb8clnBk5QTlTT VyuwaAMFbgoJm3gajZfcKuu32A8sTCq4jF2C3NS+Ut31OdaFhNgGcA8NsPJ/qQ== 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 4Plq6F47t0zhQm; Mon, 27 Mar 2023 23:39:33 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 32RNdXDZ063695; Mon, 27 Mar 2023 23:39:33 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 32RNdXCe063694; Mon, 27 Mar 2023 23:39:33 GMT (envelope-from git) Date: Mon, 27 Mar 2023 23:39:33 GMT Message-Id: <202303272339.32RNdXCe063694@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Konstantin Belousov Subject: git: 375732cc6e46 - main - kqueue1(2): export the symbol from libc 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: kib X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 375732cc6e462ca160654886f0411d2950768a8b Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=375732cc6e462ca160654886f0411d2950768a8b commit 375732cc6e462ca160654886f0411d2950768a8b Author: Konstantin Belousov AuthorDate: 2023-03-25 23:40:39 +0000 Commit: Konstantin Belousov CommitDate: 2023-03-27 23:39:26 +0000 kqueue1(2): export the symbol from libc Reviewed by: emaste, jhb Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D39271 --- lib/libc/sys/Symbol.map | 1 + sys/sys/event.h | 1 + 2 files changed, 2 insertions(+) diff --git a/lib/libc/sys/Symbol.map b/lib/libc/sys/Symbol.map index 7984f54da697..7f6afd7b298b 100644 --- a/lib/libc/sys/Symbol.map +++ b/lib/libc/sys/Symbol.map @@ -419,6 +419,7 @@ FBSD_1.6 { FBSD_1.7 { _Fork; fspacectl; + kqueue1; swapoff; }; diff --git a/sys/sys/event.h b/sys/sys/event.h index e91ccbb31ae8..a2c0d481ebb2 100644 --- a/sys/sys/event.h +++ b/sys/sys/event.h @@ -361,6 +361,7 @@ struct timespec; __BEGIN_DECLS int kqueue(void); +int kqueue1(unsigned flags); int kevent(int kq, const struct kevent *changelist, int nchanges, struct kevent *eventlist, int nevents, const struct timespec *timeout);