From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753844Ab3JBXmb (ORCPT ); Wed, 2 Oct 2013 19:42:31 -0400 Received: from mail-pa0-f45.google.com ([209.85.220.45]:49967 "EHLO mail-pa0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753703Ab3JBXm3 (ORCPT ); Wed, 2 Oct 2013 19:42:29 -0400 Date: Wed, 2 Oct 2013 16:42:27 -0700 (PDT) From: David Rientjes X-X-Sender: rientjes@chino.kir.corp.google.com To: Martin Walch cc: linux-kbuild@vger.kernel.org, Michal Marek , Jiri Kosina , "Yann E. MORIN" , =?UTF-8?Q?Arve_Hj=C3=B8nnev=C3=A5g?= , Benjamin Poirier , Dirk Gouders , Wang YanQing , Andrew Morton , Jean Delvare , Kees Cook , linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/4] kconfig: add short explanation to SYMBOL_WRITE In-Reply-To: <2034014.asIXrEbcsn@tacticalops> Message-ID: References: <4542076.yVG8YKgu5r@tacticalops> <2034014.asIXrEbcsn@tacticalops> User-Agent: Alpine 2.02 (DEB 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 3 Oct 2013, Martin Walch wrote: > So, if I have not missed anything, SYMBOL_WRITE decides whether to write a symbol > to .config or not. This does not necessarily mean that the user can change the value. > SYMBOL_WRITE may be set and the symbol may be written to .config while the user > does not even see the corresponding prompt. > The purpose of SYMBOL_WRITE is in sym_calc_value() where it is set if the config symbol is visible and settable by the user, which is why I suggested it be specified as being writable by the user.