Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E1C08C28CC5 for ; Sat, 8 Jun 2019 12:51:47 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B75F72168B for ; Sat, 8 Jun 2019 12:51:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727234AbfFHMvr (ORCPT ); Sat, 8 Jun 2019 08:51:47 -0400 Received: from mx1.redhat.com ([209.132.183.28]:35016 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726984AbfFHMvq (ORCPT ); Sat, 8 Jun 2019 08:51:46 -0400 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 9963BC00296E; Sat, 8 Jun 2019 12:51:46 +0000 (UTC) Received: from shalem.localdomain.com (ovpn-116-46.ams2.redhat.com [10.36.116.46]) by smtp.corp.redhat.com (Postfix) with ESMTP id A42086266B; Sat, 8 Jun 2019 12:51:45 +0000 (UTC) From: Hans de Goede To: Alexander Viro , David Howells Cc: Hans de Goede , linux-fsdevel@vger.kernel.org Subject: [PATCH v12 0/1] fs: Add VirtualBox guest shared folder (vboxsf) support Date: Sat, 8 Jun 2019 14:51:43 +0200 Message-Id: <20190608125144.8875-1-hdegoede@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.31]); Sat, 08 Jun 2019 12:51:46 +0000 (UTC) Sender: linux-fsdevel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org Hello Everyone, Here is the 12th version of my cleaned-up / refactored version of the VirtualBox shared-folder VFS driver. This version hopefully addresses all issues pointed out in David Howell's review of v11 (thank you for the review David): Changes in v12: -Move make_kuid / make_kgid calls to option parsing time and add uid_valid / gid_valid checks. -In init_fs_context call current_uid_gid() to init uid and gid -Validate dmode, fmode, dmask and fmask options during option parsing -Use correct types for various mount option variables (kuid_t, kgid_t, umode_t) -Some small coding-style tweaks For changes in older versions see the change log in the patch. This version has been used by several distributions (arch, Fedora) for a while now, so hopefully we can get this upstream soonish, please review. Regards, Hans