Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751497AbcCHXDD (ORCPT ); Tue, 8 Mar 2016 18:03:03 -0500 Received: from mail-ig0-f180.google.com ([209.85.213.180]:33481 "EHLO mail-ig0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751075AbcCHXDA (ORCPT ); Tue, 8 Mar 2016 18:03:00 -0500 MIME-Version: 1.0 From: Thomas Tanaka Date: Tue, 8 Mar 2016 15:02:40 -0800 Message-ID: Subject: mounting mqueue type fs in a user namespace To: linux-kernel@vger.kernel.org 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: 267 Lines: 14 Hi, When a process created with CLONE_NEWNS|CLONE_NEWIPC|CLONE_NEWUSER trying to mount a mqueue type fs, the inode->i_uid of the mounted mqueue fs is 0, instead of the new user uid e.g 10000, is this an expected behavior ? Thanks in advance -- Regards, Thomas