Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753105AbbDUKRv (ORCPT ); Tue, 21 Apr 2015 06:17:51 -0400 Received: from mail-qg0-f46.google.com ([209.85.192.46]:35615 "EHLO mail-qg0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750714AbbDUKRu (ORCPT ); Tue, 21 Apr 2015 06:17:50 -0400 MIME-Version: 1.0 In-Reply-To: <20150421103519.5b0de5ea@lxorguk.ukuu.org.uk> References: <20150420205638.GA3015@kroah.com> <55356CC1.1040301@nod.at> <20150420214651.GA4215@kroah.com> <20150421103519.5b0de5ea@lxorguk.ukuu.org.uk> Date: Tue, 21 Apr 2015 12:17:49 +0200 Message-ID: Subject: Re: [GIT PULL] kdbus for 4.1-rc1 From: David Herrmann To: One Thousand Gnomes Cc: Andy Lutomirski , Greg Kroah-Hartman , Richard Weinberger , Linus Torvalds , Steven Rostedt , Jiri Kosina , Al Viro , Borislav Petkov , Andrew Morton , Arnd Bergmann , "Eric W. Biederman" , Tom Gundersen , "linux-kernel@vger.kernel.org" , Daniel Mack , Djalal Harouni Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 994 Lines: 25 Hi On Tue, Apr 21, 2015 at 11:35 AM, One Thousand Gnomes wrote: >> On top of that, I think that someone into resource management needs to >> seriously consider whether having a broadcast send do get_user_pages >> or the equivalent on pages supplied by untrusted recipients (plural!) >> is a good idea. > > Oh but its so much fun if you pass pages belonging to a device driver, or > pass bits of a GEM object thereby keeping entire graphics textures > referenced 8) We do not use GUP, nor do we pass around pinned pages. All we use is __vfs_read() / __vfs_write() on shmem. Whether generic_file_write() / copy_from_user() internally relies on GUP or not, is an orthogonal issue that does not belong here. Thanks David -- 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/