From patchwork Fri Feb 4 12:23:13 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vasiliy Kulikov X-Patchwork-Id: 531611 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p14CODEx002506 for ; Fri, 4 Feb 2011 12:24:13 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751402Ab1BDMXS (ORCPT ); Fri, 4 Feb 2011 07:23:18 -0500 Received: from mail-fx0-f46.google.com ([209.85.161.46]:32973 "EHLO mail-fx0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751327Ab1BDMXR (ORCPT ); Fri, 4 Feb 2011 07:23:17 -0500 Received: by fxm20 with SMTP id 20so2343499fxm.19 for ; Fri, 04 Feb 2011 04:23:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:sender:from:to:cc:subject:date:message-id :x-mailer:in-reply-to:references; bh=aRfDzuTibnlMuRMewnPh0Lu1EpoLPuJ4Oq4IlI0gBLI=; b=sk9Ip4iWx7MHy0EKQdYjiT/4AqVn0kYJMYQ7MsmFJnwZYrxQMhwzQi/H5KS417rULa TdpwtQVsiTqfQwcbs1zSdvkpzN19HIQ1FBiESTFvh3uWqdI8/Skq64Y3BqVpCujbkHsG AATk1OOO5vznyGtquq0LMekIUip0bwLvvS9+Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references; b=wmHg4q0FTsuMLglewYrLIThhznsldfAt5C7PWL7dyggzK90lo8Dfa4Jbm9qaGdqWZK ZzM/ZJMZXXlFoCSHDgrsQKi9KIpwgtPD//zmFwxMQQcIkQzVjjOkycjaTnkY9lMSlGGn TNwtYdEF9X9LydPjWY2cjUpBTESYpq/CekBH8= Received: by 10.223.115.75 with SMTP id h11mr11300007faq.119.1296822196384; Fri, 04 Feb 2011 04:23:16 -0800 (PST) Received: from localhost (ppp85-141-141-135.pppoe.mtu-net.ru [85.141.141.135]) by mx.google.com with ESMTPS id j12sm202439fax.9.2011.02.04.04.23.14 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 04 Feb 2011 04:23:15 -0800 (PST) From: Vasiliy Kulikov To: linux-kernel@vger.kernel.org Cc: security@kernel.org, Tony Lindgren , Russell King , linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 01/20] mach-omap2: mux: world-writable debugfs files Date: Fri, 4 Feb 2011 15:23:13 +0300 Message-Id: <1aa2fe44c18b9f24eb52a1be98d017f1f568e6bb.1296818921.git.segoon@openwall.com> X-Mailer: git-send-email 1.7.0.4 In-Reply-To: References: Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Fri, 04 Feb 2011 12:24:14 +0000 (UTC) diff --git a/arch/arm/mach-omap2/mux.c b/arch/arm/mach-omap2/mux.c index 98148b6..6c84659 100644 --- a/arch/arm/mach-omap2/mux.c +++ b/arch/arm/mach-omap2/mux.c @@ -605,7 +605,7 @@ static void __init omap_mux_dbg_create_entry( list_for_each_entry(e, &partition->muxmodes, node) { struct omap_mux *m = &e->mux; - (void)debugfs_create_file(m->muxnames[0], S_IWUGO, mux_dbg_dir, + (void)debugfs_create_file(m->muxnames[0], S_IWUSR, mux_dbg_dir, m, &omap_mux_dbg_signal_fops); } }