Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932161AbaLASgI (ORCPT ); Mon, 1 Dec 2014 13:36:08 -0500 Received: from mail-qc0-f180.google.com ([209.85.216.180]:51791 "EHLO mail-qc0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932096AbaLASgG (ORCPT ); Mon, 1 Dec 2014 13:36:06 -0500 MIME-Version: 1.0 In-Reply-To: <20141201182519.GA16749@node.dhcp.inet.fi> References: <20141119021902.GA14216@redhat.com> <20141119145902.GA13387@redhat.com> <546D0530.8040800@mit.edu> <20141120152509.GA5412@redhat.com> <20141125122217.GA15280@arm.com> <20141201114854.GB18466@arm.com> <20141201171036.GH18466@arm.com> <20141201182519.GA16749@node.dhcp.inet.fi> Date: Mon, 1 Dec 2014 10:36:04 -0800 X-Google-Sender-Auth: xz0wnQyE6lxT1HNIwwOdGk-uFxQ Message-ID: Subject: Re: frequent lockups in 3.18rc4 From: Linus Torvalds To: "Kirill A. Shutemov" Cc: Will Deacon , Tejun Heo , Dave Jones , Andy Lutomirski , Don Zickus , Thomas Gleixner , Linux Kernel , "the arch/x86 maintainers" , Peter Zijlstra Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Dec 1, 2014 at 10:25 AM, Kirill A. Shutemov wrote: > > No idea about oom_score, but kernel happily accepts chmod on any file > under /proc/PID/net/. /proc used to accept that fairly widely, but no, we tightened things down, and core /proc files end up not accepting chmod. See 'proc_setattr()': if (attr->ia_valid & ATTR_MODE) return -EPERM; although particular /proc files could choose to not use 'proc_setattr' if they want to. The '/proc/pid/net' subtree is obviously not doing that. No idea why, and probably for no good reason. Linus -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/