* /proc/sys/user/max_time_namespaces?
@ 2020-04-03 12:21 Michael Kerrisk (man-pages)
2020-04-06 17:18 ` /proc/sys/user/max_time_namespaces? Dmitry Safonov
0 siblings, 1 reply; 2+ messages in thread
From: Michael Kerrisk (man-pages) @ 2020-04-03 12:21 UTC (permalink / raw)
To: Andrey Vagin, Dmitry Safonov
Cc: mtk.manpages, Eric W. Biederman, lkml, Linux API, Containers,
Adrian Reber
Dmitry, Andrei
[Andrei, I mistyped your openvz address in an email of a few minutes
ago ("[PATCH] ns: Fix time_for_children symlink"). You were CCed
on your gmail address though.]
In the namespaces(7) manual page there is documentation for
these files:
$ ls -1 /proc/sys/user/*namespaces
/proc/sys/user/max_cgroup_namespaces
/proc/sys/user/max_ipc_namespaces
/proc/sys/user/max_mnt_namespaces
/proc/sys/user/max_net_namespaces
/proc/sys/user/max_pid_namespaces
/proc/sys/user/max_user_namespaces
/proc/sys/user/max_uts_namespaces
These files allow one to limit on the number of namespaces
of each type.
However, there is no /proc/sys/user/max_time_namespaces file.
Was this deliberate, or an oversight?
Thanks,
Michael
--
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: /proc/sys/user/max_time_namespaces?
2020-04-03 12:21 /proc/sys/user/max_time_namespaces? Michael Kerrisk (man-pages)
@ 2020-04-06 17:18 ` Dmitry Safonov
0 siblings, 0 replies; 2+ messages in thread
From: Dmitry Safonov @ 2020-04-06 17:18 UTC (permalink / raw)
To: Michael Kerrisk (man-pages), Andrey Vagin
Cc: Eric W. Biederman, lkml, Linux API, Containers, Adrian Reber
Hi Michael,
On 4/3/20 1:21 PM, Michael Kerrisk (man-pages) wrote:
> Dmitry, Andrei
>
> [Andrei, I mistyped your openvz address in an email of a few minutes
> ago ("[PATCH] ns: Fix time_for_children symlink"). You were CCed
> on your gmail address though.]
>
> In the namespaces(7) manual page there is documentation for
> these files:
>
> $ ls -1 /proc/sys/user/*namespaces
> /proc/sys/user/max_cgroup_namespaces
> /proc/sys/user/max_ipc_namespaces
> /proc/sys/user/max_mnt_namespaces
> /proc/sys/user/max_net_namespaces
> /proc/sys/user/max_pid_namespaces
> /proc/sys/user/max_user_namespaces
> /proc/sys/user/max_uts_namespaces
>
> These files allow one to limit on the number of namespaces
> of each type.
>
> However, there is no /proc/sys/user/max_time_namespaces file.
> Was this deliberate, or an oversight?
Thanks a lot for noticing this!
Yes, it's an oversight and examining the code I can see that it's an
actual user-visible regression: max_inotify_instances controls time
namespaces limit.
I've just sent a patch to fix the issue, Cc'ing @stable:
https://lore.kernel.org/linux-api/20200406171342.128733-1-dima@arista.com/
Thanks again,
Dmitry
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-04-06 17:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-03 12:21 /proc/sys/user/max_time_namespaces? Michael Kerrisk (man-pages)
2020-04-06 17:18 ` /proc/sys/user/max_time_namespaces? Dmitry Safonov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).