Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754584AbbKXOun (ORCPT ); Tue, 24 Nov 2015 09:50:43 -0500 Received: from nm36-vm5.bullet.mail.bf1.yahoo.com ([72.30.238.141]:44096 "EHLO nm36-vm5.bullet.mail.bf1.yahoo.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754536AbbKXOui (ORCPT ); Tue, 24 Nov 2015 09:50:38 -0500 X-Greylist: delayed 410 seconds by postgrey-1.27 at vger.kernel.org; Tue, 24 Nov 2015 09:50:38 EST X-Yahoo-Newman-Id: 115118.58950.bm@smtp216.mail.bf1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: r4ET23QVM1kR1mUJY9VRCuXRBwKgYIanckq7u5y2XeaSVzr OQXDKJ2ElHxgp3S0YhlPWZ3OxGEMKDRDLsajSBynkWmJbzuMaweq5XMpLe_G 3loBdMX66vYqTcDIpJNBNmDqrITHm_BuunOo1mhdDSFUvrd17ckmmRSEyQwq m7F1Lf_ajbm19yg771zSTFfy5N3mNmSItS2PcGdoLNvvD8uj4r3oLOLNHarp Y_.TeRtDjU05uWd4eUf1soGea5Nn8Kjbu8KBGQIuJUoPOglFsVBAT2ur7AD_ zcWnyBkK9kS9U.Tp6CdnZVpam4u89d5RtX1cArfDtntGWz9T3sCwJoaFsIHV qy8l32qh.NiNSJL2kiy2aEkJanQT9xsy.j5HGM6vbqv33n5fcyOztGr6NH1N cE9.FFANnBCWzIIR4c96HuEnQR5bwnEuicX0UQFXCy.kcJzh6IKAq_m7uEb6 4MgtchRZ3QbWb6hexXEhRREERudjYvgFyeVezH5upnBFf9dIgpwn1xJOWaps X.sncIKDaosXSc_wfaQjtXNFM.n5btTGAuTxx58Ln4Q-- X-Yahoo-SMTP: OIJXglSswBDfgLtXluJ6wiAYv6_cnw-- Subject: Re: [RFC][PATCH 00/12] Enhanced file stat system call To: Christoph Hellwig References: <20151120145422.18930.72662.stgit@warthog.procyon.org.uk> <564F4F4E.8060603@schaufler-ca.com> <20151124081519.GA16147@infradead.org> Cc: David Howells , arnd@arndb.de, linux-afs@vger.kernel.org, linux-nfs@vger.kernel.org, linux-cifs@vger.kernel.org, samba-technical@lists.samba.org, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-ext4@vger.kernel.org From: Casey Schaufler Message-ID: <5654779A.9000702@schaufler-ca.com> Date: Tue, 24 Nov 2015 06:43:38 -0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <20151124081519.GA16147@infradead.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 903 Lines: 20 On 11/24/2015 12:15 AM, Christoph Hellwig wrote: > On Fri, Nov 20, 2015 at 08:50:22AM -0800, Casey Schaufler wrote: >> How about relevant xattrs? SELinux context, ACL, that sort of thing. >> The fact that these are optional should be taken care of by (4). > Those are not simple, fixed size stat data and would make the system > call a giant mess. > I didn't say it would be easy. I do think that adding a system call that only deals with simple, fixed size data is going to fall short of solving "the problem". Actually, a Smack label is fixed size (256 bytes). I suspect there is a maximum for SELinux contexts as well. ACLs I'll grant you are infinite. -- 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/