lkml.org 
[lkml]   [2016]   [Apr]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 14/16] vfs: Implement mount_super_once
From
Date
On April 19, 2016 12:03:47 PM PDT, ebiederm@xmission.com wrote:
>"H. Peter Anvin" <hpa@zytor.com> writes:
>
>>>- Support for reserving ptys for the system devpts instance using
>>> /proc/sys/kernel/pty/reserve needs to be removed.
>>>
>>>Eric
>>
>> pty capping should probably be a devpts mount option
>
>There is a max option so pty capping is a per devpts option.
>
>> , and perhaps a
>> sufficiently privileged user could be allowed to set another mount
>> option to allow that instance to dip into the reserved pool or exempt
>> it completely from the global limit as set in sysctl.
>
>I agree that we could keep the reserved pool, and add a new way to
>access it. However no piece of existing userspace could use it. So
>the
>simplest thing to do (unless something actually breaks), is to just
>remove the reserve pool.
>
>Eric

Perhaps a (privileged) option to exempt from the global limit, then. Something we can implement if asked for.

However, I wouldn't be 100% that the reserved pool isn't used. Someone added it presumably for a reason. An administrator could say it and we'd have no idea.
--
Sent from my Android device with K-9 Mail. Please excuse brevity and formatting.

\
 
 \ /
  Last update: 2016-04-19 22:01    [W:0.128 / U:0.080 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site