Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp5503250yba; Wed, 10 Apr 2019 22:36:48 -0700 (PDT) X-Google-Smtp-Source: APXvYqzswHp+ftVsiVyQEvUnzBsaeYk1koOaoG69HNU1/KfD0+tsuEKipAur2PPdTxpiKoyYl9HB X-Received: by 2002:a17:902:5a45:: with SMTP id f5mr10385961plm.23.1554961008001; Wed, 10 Apr 2019 22:36:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554961007; cv=none; d=google.com; s=arc-20160816; b=yxU7Pjinw1nKFaBWKlkpp66xPsPnc1F05EW+sukDroQo5G9w4uHiB7APDiTT826QSG am1YUs8suZ5/iPIQ0A6Kb8jr1mO5ulW4m7WXdd6jp/I2le/mVmtcQI/ldF1HBLpgfFh/ yqkZP1cSZvE95W/l1199CmrYVey71cByqgap5ZygarUc0vEhngdPkEmtsKE8m0xcFZzd uWdMkAtpA/TgrY/i2tYUopw0fHg2HycRXx1GIP3RowNl0xcjfCpzreNp4oRPJ/BcpS6h 4U3x6ynzEVGJo3SyuG5ohzfqjzgO6lQiB0j2mUpkcpsjTozcHR82MF23PlLlBdjrp3rl ZLOQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature:dkim-filter; bh=HvmtDKfbJ6Ps0FaeCVAcEqPD8iGT/6So3ajmfgsNAbc=; b=gQ+yAeu/caUgQebzHIzMli1CDMKfvmXcRb2ocXF/IFSebnC8MdQDa9SFIisE75UuOv cNaO0K0grqzK69Zr3WZw5gydOd4uNEMd/+wd4Kd58VTgxpxqhr3Qg6JcZ74XYMaEFnll /uBiR7pK+AzKgWbSAkKo6Vrd4JKVo8IF5t6QUEd7G0kt+9aOphYAiTf8Qr2GFrnzM2uI 1P+2cOevXoZNlfXhncZFXujhzikKv8lCzzOXDCMy1JiZJXog8Avoe/xe5haPycgsNOJc RjD4Mn8UBChiALJeDZnp6J0FDqxtcPakG1S/KzMIP4FAHkRmrRjaiMb2wSxGB/a58w0/ PbxA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=j+xBzV11; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v12si33880516pgh.303.2019.04.10.22.36.31; Wed, 10 Apr 2019 22:36:47 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=j+xBzV11; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726730AbfDKFd7 (ORCPT + 99 others); Thu, 11 Apr 2019 01:33:59 -0400 Received: from conssluserg-01.nifty.com ([210.131.2.80]:58679 "EHLO conssluserg-01.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726121AbfDKFd6 (ORCPT ); Thu, 11 Apr 2019 01:33:58 -0400 Received: from mail-vs1-f45.google.com (mail-vs1-f45.google.com [209.85.217.45]) (authenticated) by conssluserg-01.nifty.com with ESMTP id x3B5XlaW030498 for ; Thu, 11 Apr 2019 14:33:48 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-01.nifty.com x3B5XlaW030498 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1554960828; bh=HvmtDKfbJ6Ps0FaeCVAcEqPD8iGT/6So3ajmfgsNAbc=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=j+xBzV11f3MnyIASQGr3mids1soSwTGitcO4xnUYV9U5M52wDx6txarcbbLTSgx+Y 9dQKe1ml9FuijsxL8yvbVc16HkWh4xgWqeDtOMB6FyeOMBRZtc+aXd5EsA8VAvYrng 1F7pCxLMYqnOfqrStYuRZ2XCMcJfhpWZd42KSfWXZ8zWfmHUDzRjoR+40f3n3qO3vX wR5511EN8cyTfm3q0qjEP4QCyb+gMZXXxNVkudSrzW8K/ccxj9WFGoP5dCtzcunwwi qs5nlnjr6LZH0a/tBxPP+suZAxEA+UwfhB/9Ah8xUQQofiB/gZhsgGbHWKbWbGcHSX TM9MFOCxit5Gg== X-Nifty-SrcIP: [209.85.217.45] Received: by mail-vs1-f45.google.com with SMTP id f15so2766084vsk.9 for ; Wed, 10 Apr 2019 22:33:48 -0700 (PDT) X-Gm-Message-State: APjAAAWR1TGRG5q5RJ2Jd+N5f/WOjfdRa/2NrUKCPnEByTdX1bCcJlL5 8rfNW2QHi/4wtHRNZX1335D+Dw3NrEGqwNgPUlc= X-Received: by 2002:a67:818e:: with SMTP id c136mr26680017vsd.65.1554960827450; Wed, 10 Apr 2019 22:33:47 -0700 (PDT) MIME-Version: 1.0 References: <20190411005634.8495-1-okaya@kernel.org> In-Reply-To: From: Masahiro Yamada Date: Thu, 11 Apr 2019 14:33:11 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v3] init: Do not select DEBUG_KERNEL by default To: Kees Cook Cc: Sinan Kaya , LKML , Josh Triplett , Andrew Morton , "Peter Zijlstra (Intel)" , Johannes Weiner , Nicholas Piggin , Mathieu Desnoyers , Vasily Gorbik , Adrian Reber , Richard Guy Briggs , Andy Shevchenko , Petr Mladek , Joe Lawrence , Matthew Wilcox , Randy Dunlap , Mikulas Patocka , Robin Murphy , Tetsuo Handa , Changbin Du Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Apr 11, 2019 at 11:47 AM Kees Cook wrote: > > On Wed, Apr 10, 2019 at 5:56 PM Sinan Kaya wrote: > > > > We can't seem to have a kernel with CONFIG_EXPERT set but > > CONFIG_DEBUG_KERNEL unset these days. > > > > While some of the features under the CONFIG_EXPERT require > > CONFIG_DEBUG_KERNEL, it doesn't apply for all features. > > > > It looks like CONFIG_KALLSYMS_ALL is the only feature that > > requires CONFIG_DEBUG_KERNEL. > > > > Select CONFIG_EXPERT when CONFIG_DEBUG_KERNEL is chosen but > > you can still choose CONFIG_EXPERT without CONFIG_DEBUG_KERNEL. > > > > Signed-off-by: Sinan Kaya > > Reviewed-by: Kees Cook > > Masahiro, should this go via your tree, or somewhere else? I think somewhere else. -- Best Regards Masahiro Yamada