Re: [PATCH] mount.2: Add EINVAL error condition when MS_BINDing MNT_LOCKED submounts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Keno,

On 12/04/2017 09:01 PM, Keno Fischer wrote:
> On Mon, Dec 4, 2017 at 2:55 PM, Michael Kerrisk (man-pages)
> <mtk.manpages@xxxxxxxxx> wrote:
>> Hello Keno,
>>
>> Question below....
>>
>>> diff --git a/man2/mount.2 b/man2/mount.2
>>> index 87cb1a9..8d2a347 100644
>>> --- a/man2/mount.2
>>> +++ b/man2/mount.2
>>> @@ -650,6 +650,14 @@ or
>>>  .BR EINVAL
>>>  An attempt was made to bind mount an unbindable mount.
>>>  .TP
>>> +.BR EINVAL
>>> +In an unpriviledged mount namespace, a bind operation
>>
>> What is meant by "an unprivileged mount namespace"?
> 
> Hi Michael,
> 
> I believe the only way to create an unprivileged mount namespace is to
> do so from a user namespace
> created by an unprivileged user (that's how I ran into it).

Thanks. I applied your patch, and added some words to clarify 
the term "unprivileged mount namespace": 

    (i.e., a mount namespace owned by a user namespace
    that was created by a unprivileged user)

Cheers,

Michael


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux