From: "Theodore Y. Ts'o" Subject: Re: [PATCH v3 1/3] ext4: fix setattr project check upon fssetxattr ioctl Date: Sun, 16 Sep 2018 08:20:34 -0400 Message-ID: <20180916122034.GA5915@thunk.org> References: <1536710238-16858-1-git-send-email-wshilong1991@gmail.com> <20180916035529.GG8652@thunk.org> <75832A38-2476-4504-A03C-15B40053A565@ddn.com> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Cc: "adilger@dilger.ca" , "linux-ext4@vger.kernel.org" , Wang Shilong , "dchinner@redhat.com" , "linux-f2fs-devel@lists.sourceforge.net" To: Wang Shilong Return-path: Content-Disposition: inline In-Reply-To: <75832A38-2476-4504-A03C-15B40053A565@ddn.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: linux-f2fs-devel-bounces@lists.sourceforge.net List-Id: linux-ext4.vger.kernel.org T24gU3VuLCBTZXAgMTYsIDIwMTggYXQgMDQ6MDI6NTJBTSArMDAwMCwgV2FuZyBTaGlsb25nIHdy b3RlOgo+IAo+IAo+ID4g5ZyoIDIwMTjlubQ55pyIMTbml6XvvIzkuIrljYgxMTo1Ne+8jFRoZW9k b3JlIFkuIFRzJ28gPHR5dHNvQG1pdC5lZHU+IOWGmemBk++8mgo+ID4gCj4gPiBPbiBXZWQsIFNl cCAxMiwgMjAxOCBhdCAwODo1NzoxNkFNICswOTAwLCBXYW5nIFNoaWxvbmcgd3JvdGU6Cj4gPj4g ZGlmZiAtLWdpdCBhL2ZzL2V4dDQvaW9jdGwuYyBiL2ZzL2V4dDQvaW9jdGwuYwo+ID4+IGluZGV4 IGE3MDc0MTE1ZDZmNi4uZjgxMTAyYmQzMjAzIDEwMDY0NAo+ID4+IC0tLSBhL2ZzL2V4dDQvaW9j dGwuYwo+ID4+ICsrKyBiL2ZzL2V4dDQvaW9jdGwuYwo+ID4+IEBAIC0zMzksMTkgKzMzOSwxNCBA QCBzdGF0aWMgaW50IGV4dDRfaW9jdGxfc2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