From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754281Ab3COPiT (ORCPT ); Fri, 15 Mar 2013 11:38:19 -0400 Received: from youngberry.canonical.com ([91.189.89.112]:59458 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754136Ab3COPiR (ORCPT ); Fri, 15 Mar 2013 11:38:17 -0400 Date: Fri, 15 Mar 2013 10:38:11 -0500 From: Serge Hallyn To: "Michael Kerrisk (man-pages)" Cc: "Eric W. Biederman" , linux-man , Linux Containers , lkml , Vasily Kulikov Subject: Re: For review: user_namespaces(7) man page Message-ID: <20130315153811.GD24305@sergelap> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, you mention that after creating a new user namespace you at first have all capabilities in the new ns. You don't explicitly mention (or I missed it - I did see the mention of securebits) that if you want to keep those capabilities after doing an exec, you need to first have something mapped to uid 0 in the userns, and do setuid(0). You might not want to list manpages from other projects, but Eric's shadow patches introduce some good new manpages as well. Those aren't yet accepted upstream, but if/when they are then mention at least of subuid(5), subgid(5), and newuidmap(1) and newgidmap(1) might be good. thanks, -serge