From nobody Thu Jun 29 08:20:39 2023 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 4QsBGb4lMkz4knvJ; Thu, 29 Jun 2023 08:20:39 +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 4QsBGb1Y87z3vyN; Thu, 29 Jun 2023 08:20:39 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1688026839; 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=SBKzVRAUo59GPL3ZH78lebY7+nxqBJSk3HsM2i9K/5Y=; b=RfKUek/Z+HIAu5WImJRXJ5H9wzs/2lrtRy//5bnw1bMOe+vN+4YBOOQLF9jSkhTW2xfjK5 DoaBeL/6dgrNIGFrXik+Fnf6SaNUG5O60i6MzSfZlscdO/sMwvKtgleZ1UUhCQ/UqX7v4P 9Q64nd19aRVPISbBhI2pvApOTLnZZT9ruwWr9Q3JhtQ/Y9VSlVyEEg41OmWErJdBGiS8Re JC4v3Zky9RrycpFk9cSfCSy7ujvvvKT9sWHJTDJWFcP840CXjE5aR7LEMwuvRZpZZypAPo jT087fcw/a9Xmlz3V6TSm77iTK7hEysfsnYwRhyVS1+NE1u/qRtmQXx+xyz2pg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1688026839; 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=SBKzVRAUo59GPL3ZH78lebY7+nxqBJSk3HsM2i9K/5Y=; b=PiR7MpKT64H3QB3aayH4CIxvgb98Cl+DeTqntogr9tMUb7L4qXHbP2drwrWD/ZwEVk2Nrx jEe3fw0xMcmk08keUvLvZbDM3vuOpD3x1S271n+gUPoRLcnTmyXoTp/9fqxYnRZIAcmXRu qh5DqctBYRp8mlN2z/bBfSkKHMgTm0Hd77QSw4EHAiXVmd+BAX+PPfb/psrSGyrXejcQ5F s8ImXMiMc0e1JwD/FGefTmVFMM0QjpgfagLvuHRuCP1pffKvOJVXkLOdAHax/tvmr13jav WpWDQDjnMG4u/rGVFlbCblk5b1jOkT3JSzVoW6gEZ3aTAjMvSUqXYgUKOJ6FCQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1688026839; a=rsa-sha256; cv=none; b=r2px3QmKlGr/9bFUCvEkg04ytwk+UuMYBufpr7tlmVmYjxJj+Pp4AzXQ+PWR4JwQ2/5BvG j97Jbk9TC6L2JtA1dnaAe0iLcFN1b5CQnHz61q9JLgTn3S/4BkkJBIwZbYEl5z3Thx2nI1 u3do6+wUtz7t7+yDOpyxfz8JcJ3+vUZnjId1QiDkCSa5JZDSRHk1nyvtT5CB0jNFnbF6Rf J46Ar4QKNB46xj21ZMjQ7JItquCIckSw8EsvJd2XPGcJqz9zu3U8LQkh2E41u4hbNdBJCh VcVsSK9IrJlGZpBFIaRqxLd9dybN6OLNauOdCtV5jfyZG5Z6qvk1V2bxnH/OBA== 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 4QsBGb0fWNz181l; Thu, 29 Jun 2023 08:20:39 +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 35T8Kdma084567; Thu, 29 Jun 2023 08:20:39 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 35T8KdUr084566; Thu, 29 Jun 2023 08:20:39 GMT (envelope-from git) Date: Thu, 29 Jun 2023 08:20:39 GMT Message-Id: <202306290820.35T8KdUr084566@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Dmitry Chagin Subject: git: ac9d194f493f - stable/13 - linux(4): Guard linux_fork.h by _KERNEL for use by libsysdecode 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: dchagin X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: ac9d194f493f3cc3bf161bc8e42f6e359081171b Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by dchagin: URL: https://cgit.FreeBSD.org/src/commit/?id=ac9d194f493f3cc3bf161bc8e42f6e359081171b commit ac9d194f493f3cc3bf161bc8e42f6e359081171b Author: Dmitry Chagin AuthorDate: 2023-05-26 16:31:47 +0000 Commit: Dmitry Chagin CommitDate: 2023-06-29 08:15:59 +0000 linux(4): Guard linux_fork.h by _KERNEL for use by libsysdecode Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D40149 MFC after: 1 month (cherry picked from commit 3f1bfc136f8fb8c6a7c4dcccebd27962bc104670) --- sys/compat/linux/linux_fork.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/compat/linux/linux_fork.h b/sys/compat/linux/linux_fork.h index bdc201bce57e..2a6e2a158241 100644 --- a/sys/compat/linux/linux_fork.h +++ b/sys/compat/linux/linux_fork.h @@ -62,6 +62,7 @@ #define LINUX_CSIGNAL 0x000000ff +#if defined(_KERNEL) /* * User-space clone3 args layout. */ @@ -97,5 +98,6 @@ struct l_clone_args { int linux_set_upcall(struct thread *, register_t); int linux_set_cloned_tls(struct thread *, void *); void linux_thread_detach(struct thread *); +#endif /* defined(_KERNEL) */ #endif /* _LINUX_FORK_H_ */