Return-Path: Received: from imap.thunk.org ([74.207.234.97]:49124 "EHLO imap.thunk.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751011AbdBHXNj (ORCPT ); Wed, 8 Feb 2017 18:13:39 -0500 Date: Wed, 8 Feb 2017 18:13:30 -0500 From: Theodore Ts'o To: Al Viro , "Eric W. Biederman" , Maxim Patlasov Cc: linux-fsdevel@vger.kernel.org Subject: Does anyone have test cases for mount namespaces? Message-ID: <20170208231330.534fg6naiefldw6f@thunk.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Sender: linux-fsdevel-owner@vger.kernel.org List-ID: Hi, I'm trying to backport a security fix involving the mount namespaces (in fs/pnode.c), and I'm wondering if anyone has a set of sanity checks (ideally in the form of a shell script) which they use to make sure nothing has broken with respect to mount --make-shared, et. al. I've really gotten spoiled with xfstests, and the mount namespaces code looks subtle and quick to anger, and I'd prefer to have something more substantial than "It builds! Release it to production!" :-) Thanks, - Ted