From nobody Thu May 23 19:42:12 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 4Vldq8404tz5L9fL; Thu, 23 May 2024 19:42:12 +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 4Vldq82kdsz54y5; Thu, 23 May 2024 19:42:12 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1716493332; 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=89afMdWuQmy8o1ixs8h0tPwdB82A81dFH3qpf26kolo=; b=REoKMnH8wdIOIssDhWtC5Wxv12ziiWT86HkFmQlXZDAiCUOFYjsTNcMr74+n2RdS5j8VCU oygW8g4BUpSOylNkK/6IJiSzRZ/31pncfWaxAs+ondgVRsngpYYRgQ3bvtP+CtOcSIBq6r 9cog6K8oJsuIkgooVMHwnTXMZ1vbuN4zLkSRBYRVd0RCi5ia+IceWDprBUvrfBtyy7/JSQ MovZjoGgupBcdkwBZUqMWYJCtpLF0hsjNu0WQULEXRjdXxpbDK3ZnZrHwd8b76Lg+XUTtk 2Jxq3IyX7YIXcNa1msyPhCuR7oSCkftSZkvog7hi+BJVwumbG3LNitMTi4Cfdg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1716493332; a=rsa-sha256; cv=none; b=e8psJA4F61UY5o8iHUa1bOulWq1l2jVDHQvUnNMvc0uGd1/xTd55LZTXeE8G3bW9ER/sK7 mKYEvJwCLeVT3UrGD4qdZ2PxySVRzp/slwlK1f3OxFLewjJTLecYv8I4jyxFNE/NbG5cNA TLZxjDeCWputqKTYHPOLl+P3sESRaLXbTZGcSZjdMUf1n8yxED3SdP5kOF9PnRFKqjKbgx JZxTsCfjDGr8eW5ocvIIF+SH716pyiOzGdY46uYM8UHL+VbTZ5nImX/SmrW0Y7WR5Bh63O 2kUxxbjjz0rCx3E8NCUuTzqt6KyDP1Kpsu+Yzu7TelNxSlaWSKQKSFe4N4Yvjw== 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=1716493332; 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=89afMdWuQmy8o1ixs8h0tPwdB82A81dFH3qpf26kolo=; b=xyRYdrpEuUaNybtM291JHEBcZSUGEZfQ2HWAK1En6JoISc+ljARd11mTvQB07aR47HqoqK 6XS9k1b6DTVLSGGRFIjtlLpBxS4xonaOY+PuNCstx9v4C5mRxgtTwcNILnZsuKrKOn5ukQ XZu/8PdznxBW38bsQopPRPN4XkZdCmuf4uxjPOQ8aszpPk7mAGB/YkoIB0UHsZX4h4YXdx fFlHTJ+ZRwLOwc1aypurzcFJbrOMNua6jrEvfoL95FTwbgaMT18IaE85BJZ9pRfU5kOo8M Dzc2RUQqs/p+DC7I/ieYmAHQsIqwT3U95/J7VD+9re8HT6j5LwDcRCFfWx1qzQ== 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 4Vldq82L85z13GY; Thu, 23 May 2024 19:42:12 +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 44NJgCtu082672; Thu, 23 May 2024 19:42:12 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 44NJgCAI082669; Thu, 23 May 2024 19:42:12 GMT (envelope-from git) Date: Thu, 23 May 2024 19:42:12 GMT Message-Id: <202405231942.44NJgCAI082669@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Warner Losh Subject: git: 86e43b5def1b - main - linux: Export linux_convert_l_sigevent 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: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: imp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 86e43b5def1bc1c94d40b809ab8c8ff0259735ff Auto-Submitted: auto-generated The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=86e43b5def1bc1c94d40b809ab8c8ff0259735ff commit 86e43b5def1bc1c94d40b809ab8c8ff0259735ff Author: Ricardo Branco AuthorDate: 2024-05-17 20:29:03 +0000 Commit: Warner Losh CommitDate: 2024-05-23 19:40:46 +0000 linux: Export linux_convert_l_sigevent Reviewed by: imp, kib Pull Request: https://github.com/freebsd/freebsd-src/pull/1248 --- sys/compat/linux/linux_time.h | 1 + sys/compat/linux/linux_timer.c | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/sys/compat/linux/linux_time.h b/sys/compat/linux/linux_time.h index d99684db1cbf..bb23105f4f23 100644 --- a/sys/compat/linux/linux_time.h +++ b/sys/compat/linux/linux_time.h @@ -137,6 +137,7 @@ int linux_to_native_itimerspec64(struct itimerspec *, struct l_itimerspec64 *); #endif +int linux_convert_l_sigevent(const struct l_sigevent *l_sig, struct sigevent *sig); int linux_to_native_timerflags(int *, int); #endif /* _LINUX_TIME_H */ diff --git a/sys/compat/linux/linux_timer.c b/sys/compat/linux/linux_timer.c index 2188006ec38f..ed9133359302 100644 --- a/sys/compat/linux/linux_timer.c +++ b/sys/compat/linux/linux_timer.c @@ -43,8 +43,8 @@ #endif #include -static int -linux_convert_l_sigevent(struct l_sigevent *l_sig, struct sigevent *sig) +int +linux_convert_l_sigevent(const struct l_sigevent *l_sig, struct sigevent *sig) { CP(*l_sig, *sig, sigev_notify);