From patchwork Fri Feb 3 23:26:49 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kees Cook X-Patchwork-Id: 9555305 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 0C94E602B7 for ; Fri, 3 Feb 2017 23:27:37 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id ECEB627D29 for ; Fri, 3 Feb 2017 23:27:36 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E0FCA28425; Fri, 3 Feb 2017 23:27:36 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from mother.openwall.net (mother.openwall.net [195.42.179.200]) by mail.wl.linuxfoundation.org (Postfix) with SMTP id 3703227D29 for ; Fri, 3 Feb 2017 23:27:36 +0000 (UTC) Received: (qmail 5212 invoked by uid 550); 3 Feb 2017 23:27:18 -0000 Mailing-List: contact kernel-hardening-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Delivered-To: mailing list kernel-hardening@lists.openwall.com Received: (qmail 4082 invoked from network); 3 Feb 2017 23:27:16 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=mhiFMGsRsuunnfxL1vNbRNDFn7bpIfLjNeHKaPM35nY=; b=SNs6IPbWFMEQl3knIT+46GpOP0oB4CPxYbmx6nEYEIa3LrQx6VkuR/bVTug1tXDCJd 2m4moMnjNb77tn8grWEZK6bkxMfyedqh8M9nyJIEJptLrZjtBFqsuA0ycR/qOhK9zlpR +nW6P+FhY/NE8oMM0EC9MUPOBFV5wedyeHxTE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=mhiFMGsRsuunnfxL1vNbRNDFn7bpIfLjNeHKaPM35nY=; b=fwbr2alJmjBrhr/bO7BPjiNDw6MMrjqnSj9jYLPZPcghS1nNw9X4vMKEo+oJyltUbq QshrsCzHVEcsqe5yf7xrjvJULyNPIJzxdDomMFigzVnizrc7GN5BY5TCkY5ACWlNQ82p BF/8QQGTlpxaWGNW+Lz3z7XXvQB811JXNqnQKEvOC17hBWL8L7DPmJx1JIP2K8/mcCBB X3QvtyG/iO+dY5G/2aAfheZ1fUwhACUUcNjwFYllmcchuIKYrCWdj00d6gVFAu4NUYRt FFXFd4WWRHRVBkaBt8eHJzJYx/6aAygAeI4LJm7thvWlrLEzZkqCJ1OaieNh6EGijKZv 7C9w== X-Gm-Message-State: AIkVDXLIf5nK0lOA70vs5SreAHGYJmcYYvaBIqbJAju2DBEKMKx8U3J5wgeszgvsiZPV2e2m X-Received: by 10.98.71.7 with SMTP id u7mr21393581pfa.76.1486164424870; Fri, 03 Feb 2017 15:27:04 -0800 (PST) From: Kees Cook To: Peter Zijlstra Cc: Kees Cook , elena.reshetova@intel.com, gregkh@linuxfoundation.org, arnd@arndb.de, tglx@linutronix.de, mingo@kernel.org, h.peter.anvin@intel.com, will.deacon@arm.com, dwindsor@gmail.com, Hans Liljestrand , dhowells@redhat.com, linux-kernel@vger.kernel.org, kernel-hardening@lists.openwall.com Date: Fri, 3 Feb 2017 15:26:49 -0800 Message-Id: <1486164412-7338-2-git-send-email-keescook@chromium.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1486164412-7338-1-git-send-email-keescook@chromium.org> References: <1486164412-7338-1-git-send-email-keescook@chromium.org> Subject: [kernel-hardening] [PATCH 1/4] refcount_t: fix Kconfig help X-Virus-Scanned: ClamAV using ClamSMTP Minor fix to build refcount_t series. Signed-off-by: Kees Cook --- lib/Kconfig.debug | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index 6f61d32ee536..20fde8d4523a 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug @@ -731,7 +731,7 @@ source "lib/Kconfig.kasan" config DEBUG_REFCOUNT bool "Verbose refcount checks" - --help-- + help Say Y here if you want reference counters (refcount_t and kref) to generate WARNs on dubious usage. Without this refcount_t will still be a saturating counter and avoid Use-After-Free by turning it into