Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751626AbdIOShY (ORCPT ); Fri, 15 Sep 2017 14:37:24 -0400 Received: from mail-it0-f68.google.com ([209.85.214.68]:35932 "EHLO mail-it0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751496AbdIOShW (ORCPT ); Fri, 15 Sep 2017 14:37:22 -0400 X-Google-Smtp-Source: AOwi7QCiOTC3BEkFHMyBIxa/kVWtO/qjSuY0fSRwr5KHWSZG94xJ/yFMnxXGoX3T3SaD6zbBQWLWTR94zz0DwDbrbw0= MIME-Version: 1.0 In-Reply-To: <1505451494-30228-2-git-send-email-zohar@linux.vnet.ibm.com> References: <1505451494-30228-1-git-send-email-zohar@linux.vnet.ibm.com> <1505451494-30228-2-git-send-email-zohar@linux.vnet.ibm.com> From: Linus Torvalds Date: Fri, 15 Sep 2017 11:37:21 -0700 X-Google-Sender-Auth: HLJRFgE2MkT9ez4WJaM9gepJ4JE Message-ID: Subject: Re: [PATCH 1/3] vfs: constify path argument to kernel_read_file_from_path To: Mimi Zohar Cc: LSM List , linux-ima-devel@lists.sourceforge.net, Christoph Hellwig , James Morris , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 434 Lines: 9 On Thu, Sep 14, 2017 at 9:58 PM, Mimi Zohar wrote: > This patch constifies the path argument to kernel_read_file_from_path. I've applied this upstream independently of everything else, because it's obviously the right thing to do (as the sound_firmware.h part of the patch shows, never mind the whole "we're just passing the pathname to filp_open() which takes a const char" thing). lINUS