From nobody Tue Jun 07 15:34:21 2022 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 971E37FD07C; Tue, 7 Jun 2022 15:34:21 +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 4LHZCd3g95z4c9t; Tue, 7 Jun 2022 15:34:21 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1654616061; 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=9emTKCQ4NwoXpB4hr+H54ShLibmkaD/CX8sIy9wfd4k=; b=YYgsAgvs3vwtypvlKFeTp20Id/AXxeP8RuaHONMVkxu+7JOazSwzeO8Qnp9w5+Wab3hRS9 DLrWm3mf5ovDh8gh+2m5ef9dIJ0/z8IEQ+KoQU3SW7THtAxXXcPZF9eFp3tIXOze4sV7If RQvvjzVGUU0EnvEsTuJ89NJ6vZq0gsNVw9TegZiFm7e6+yZon/khvJsJqcnrcucY4E0y1/ uYivh25493TIo8+Ivp9wsEhg66tsQRSF2q1XNNpM1ZpVeOLcNfqpvNn5NyuTxdCOgPkpGO YReSL/fj/4VOuTxOmYRQYpVr3HyhH77gx0EnQjOPIihkkfq979X/0CtkRxquyQ== 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 5D52A1D65E; Tue, 7 Jun 2022 15:34:21 +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 257FYLH0015537; Tue, 7 Jun 2022 15:34:21 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 257FYLjn015536; Tue, 7 Jun 2022 15:34:21 GMT (envelope-from git) Date: Tue, 7 Jun 2022 15:34:21 GMT Message-Id: <202206071534.257FYLjn015536@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Ed Maste Subject: git: 92fc5822a830 - main - Clarify WITHOUT_KERNEL_SYMBOLS description 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: emaste X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 92fc5822a8301d0c20d292e97d1661b25f5035bc Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1654616061; 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=9emTKCQ4NwoXpB4hr+H54ShLibmkaD/CX8sIy9wfd4k=; b=RNrqtVEPFEv3YOStjrKEpN84UqGyd/vnuEE4a2zGgZ6tCMi46ML7g2qeolLbtZ4DbzMbP7 XJz5lkiVlL01q94NyaalGfvCGuFGZlGyllx+EIMP9xmYvP2hcH+D1LPy39+RP0x89i5W/P PKPNXgwdZVHJp6S3HRvRrTSGqPD/oOkFJG1Rn+QE9ripc87rFYc1EVTZIN6iN718v71F+M wp1fI/LSKLfufILE2tfb4o3cUiFEaGiiMAIxMC+2EpTK+few3JfEloU5RkzpL+J+iNFq1R Bgq9gRIELjyrDo5Z8uZyrJ0/b0f6TTxFdhFPQ+7HYTvLBaQLU5fQz/lu/anJrA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1654616061; a=rsa-sha256; cv=none; b=TJcDFej3iUcdjvaMnuNYmgKahVUqCsfQq5zVczNk3Hz9a2WWhrJdlNkq6V6Qr5+MEN6tJH h0/Y5wkTmGmbFWGaYhjBSK0tn2Z/pkN2xxqe88jIfCv/DFPkbJldW2MBzZLpdZ6sJyYdHb LabrmN04QiHvRcJdVwT2EwZjxoBkYuyrz4pL/ucipQ2Foivi9DsK2zjdRY0d2wnIUHuEpL VLMXP1OdQ73UuxNxoQ3qvSqrL5qdlfAIGCl7i51gt/tcXmo3rrG38Or8DdJwLUGET22ngF FYy7QKKcQK3+6RHGg0UIk12eYTBTaVd5/LVCTwJwlL6oJSqpPlOH34fqO8ying== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=92fc5822a8301d0c20d292e97d1661b25f5035bc commit 92fc5822a8301d0c20d292e97d1661b25f5035bc Author: Ed Maste AuthorDate: 2022-06-07 14:20:39 +0000 Commit: Ed Maste CommitDate: 2022-06-07 15:33:12 +0000 Clarify WITHOUT_KERNEL_SYMBOLS description Debug data is enabled via `makeoptions DEBUG=-g` in the kernel config file (e.g. GENERIC). If debug data is enabled and WITHOUT_KERNEL_SYMBOLS is set then debug data is included in the kernel and module files. PR: 264433 Discussed with: markj MFC after: 1 week Sponsored by: The FreeBSD Foundation --- share/man/man5/src.conf.5 | 6 ++++-- tools/build/options/WITHOUT_KERNEL_SYMBOLS | 4 +++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/share/man/man5/src.conf.5 b/share/man/man5/src.conf.5 index 084e42af4f7b..34e66c96d115 100644 --- a/share/man/man5/src.conf.5 +++ b/share/man/man5/src.conf.5 @@ -1,6 +1,6 @@ .\" DO NOT EDIT-- this file is @generated by tools/build/options/makeman. .\" $FreeBSD$ -.Dd May 30, 2022 +.Dd June 7, 2022 .Dt SRC.CONF 5 .Os .Sh NAME @@ -833,7 +833,9 @@ and Enable the "retpoline" mitigation for CVE-2017-5715 in the kernel build. .It Va WITHOUT_KERNEL_SYMBOLS -Do not install kernel debug symbol files. +Do not build or install standalone kernel debug symbol files. +Debug data (if enabled by the kernel configuration file) +will be included in the kernel and modules. .It Va WITHOUT_KVM Do not build the .Nm libkvm diff --git a/tools/build/options/WITHOUT_KERNEL_SYMBOLS b/tools/build/options/WITHOUT_KERNEL_SYMBOLS index 33fa2c4f1c97..7837744cf399 100644 --- a/tools/build/options/WITHOUT_KERNEL_SYMBOLS +++ b/tools/build/options/WITHOUT_KERNEL_SYMBOLS @@ -1,2 +1,4 @@ .\" $FreeBSD$ -Do not install kernel debug symbol files. +Do not build or install standalone kernel debug symbol files. +Debug data (if enabled by the kernel configuration file) +will be included in the kernel and modules.