Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753747AbaA0MdZ (ORCPT ); Mon, 27 Jan 2014 07:33:25 -0500 Received: from mail-la0-f42.google.com ([209.85.215.42]:43379 "EHLO mail-la0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753698AbaA0MdX (ORCPT ); Mon, 27 Jan 2014 07:33:23 -0500 MIME-Version: 1.0 Date: Mon, 27 Jan 2014 15:33:22 +0300 Message-ID: Subject: Re: [PATCH] afs: proc cells and rootcell are writeable From: Alexey Dobriyan To: mingo@kernel.org Cc: Linus Torvalds , David Howells , pali.rohar@gmail.com, Linux Kernel Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Ingo wrote: > Perhaps we could also generate the most common variants as: > > #define PERM__rw_r__r__ 0644 You're not alone! http://lkml.indiana.edu/hypermail/linux/kernel/0607.3/1325.html But I think 0644 is obvious and the most right way. Of course, proc should detect those (->write vs ->mode) and complain. Something I never sent. -- 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/