From nobody Fri May 26 16:35:30 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 4QSVsH3cBTz4WwPF; Fri, 26 May 2023 16:35:31 +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 4QSVsH2PVNz43CD; Fri, 26 May 2023 16:35:31 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1685118931; 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=zYepdY0qYxyBg/4B53Wnom/ErgTaVl72XdecveN/Q7Q=; b=mx2ava8XCalr3oIp2tLspYRzyjv5nAyRu+n6CH3ZJXwLDfEnaPT3g5fu18kHVI2Ulayz5L 25j4l8XdjGc4Ol3fBpdJZS3EjTMsmcZQVT3FMvnJXtR8K1XeVHyp3HZz+Uv3ylMttsCYnR qMtSF+HvnYQeOE/LdNNWq9rUEtaexH2/WWjnMaaGhBYZaIFE2rjrq1LhncuotMUz3EQMhx iux4daeffuzxUHcLfaj1wregsZTITWxrdO6OcZ2UHwbFa4E221Q3y+xHABXdemr4mEXEuH iMEnhE21nnmyu5HxSSZ6nLuShB258Mrz7gm3QYuOAYTLMMGG+mOQnlHmYD940A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1685118931; 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=zYepdY0qYxyBg/4B53Wnom/ErgTaVl72XdecveN/Q7Q=; b=qKyE7YHgOY9u2AyZdXMhVZ/2FqyHZrfcoaTepsjb1rP/Xi9iZM5cneaQNR0uERrtnyLI6c mjVIpskbYdJ1F0VJ6x7+0lnjbogunok9DEhXkqsm7xmBYDHHLHialtJ22cnQMLVblXVgHz If9ZLj/l/m+mMOghWcpb+Y3CpXN2z1SJPIwDwC5SqZRU6d69GQYZVNeGn2myf5RNIXb9lC qQUcl7kh0Ig4n+giP88UaJ62qccssBWl+o8OxeGblFc6+6wG9US8CgGOQTKCWDjAg5qXLL IuWML488gTrUegRVXfky39L3Z8WIUd04Ld2NUFB23Su0cDs+X0F4cZxhWYq5+g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1685118931; a=rsa-sha256; cv=none; b=WjhQbN1gueuvm+LTrfUzrGpEPOB2kL4lnKUACSkwYWzVfxIONlk+5eKZ6Ru4Ufh/VVyYfd KAA9N4Ez+l5wZq40frk+LXNGoElnH3J2WTyBaBOCbzkM115fOnUI2sUOFf4cGFuRujDwN9 Pdqz3JZptKPfOfkDYc1RqzZgw3LKRDVlzHUj6hSncLqNGZ3okGw03j5nBBj2CmdIEfXc5L uxauYKAx8BecEy6ReVdngWVDmmsuvBHAlQmuBAAWB5Tt8EZ4HLRmW6vzs84PcyvvNlj3zk rq8nRTgFDVGVRy7kgSZ6Rdk5p86p+sliOpyjqF97TLEGxaa6nrLbY+XBIABi+A== 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 4QSVsH1SVKzDfK; Fri, 26 May 2023 16:35:31 +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 34QGZUuv052183; Fri, 26 May 2023 16:35:30 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 34QGZUOh052182; Fri, 26 May 2023 16:35:30 GMT (envelope-from git) Date: Fri, 26 May 2023 16:35:30 GMT Message-Id: <202305261635.34QGZUOh052182@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Dmitry Chagin Subject: git: 3f1bfc136f8f - main - 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/main X-Git-Reftype: branch X-Git-Commit: 3f1bfc136f8fb8c6a7c4dcccebd27962bc104670 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by dchagin: URL: https://cgit.FreeBSD.org/src/commit/?id=3f1bfc136f8fb8c6a7c4dcccebd27962bc104670 commit 3f1bfc136f8fb8c6a7c4dcccebd27962bc104670 Author: Dmitry Chagin AuthorDate: 2023-05-26 16:31:47 +0000 Commit: Dmitry Chagin CommitDate: 2023-05-26 16:31:47 +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 --- 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_ */