Linux-man Archive on lore.kernel.org
 help / color / Atom feed
* [PATCH] capabilities.7: Add two more items for POSIX message queues
@ 2020-07-08 19:29 Saikiran Madugula
  2020-07-17  8:13 ` Michael Kerrisk (man-pages)
  0 siblings, 1 reply; 2+ messages in thread
From: Saikiran Madugula @ 2020-07-08 19:29 UTC (permalink / raw)
  To: mtk.manpages; +Cc: linux-man, Saikiran Madugula

/proc/sys/fs/mqueue/msg_max and /proc/sys/fs/mqueue/msgsize_max
also require CAP_SYS_RESOURCE

Signed-off-by: Saikiran Madugula <hummerbliss@gmail.com>
---
 man7/capabilities.7 | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/man7/capabilities.7 b/man7/capabilities.7
index fd841b4f1..adb8bad5b 100644
--- a/man7/capabilities.7
+++ b/man7/capabilities.7
@@ -722,7 +722,10 @@ to increase the capacity of a pipe above the limit specified by
 .IR /proc/sys/fs/pipe-max-size ;
 .IP *
 override
-.I /proc/sys/fs/mqueue/queues_max
+.I /proc/sys/fs/mqueue/queues_max,
+.I /proc/sys/fs/mqueue/msg_max,
+and
+.I /proc/sys/fs/mqueue/msgsize_max
 limit when creating POSIX message queues (see
 .BR mq_overview (7));
 .IP *
-- 
2.17.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] capabilities.7: Add two more items for POSIX message queues
  2020-07-08 19:29 [PATCH] capabilities.7: Add two more items for POSIX message queues Saikiran Madugula
@ 2020-07-17  8:13 ` Michael Kerrisk (man-pages)
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Kerrisk (man-pages) @ 2020-07-17  8:13 UTC (permalink / raw)
  To: Saikiran Madugula; +Cc: mtk.manpages, linux-man

On 7/8/20 9:29 PM, Saikiran Madugula wrote:
> /proc/sys/fs/mqueue/msg_max and /proc/sys/fs/mqueue/msgsize_max
> also require CAP_SYS_RESOURCE
> 
> Signed-off-by: Saikiran Madugula <hummerbliss@gmail.com>

Thanks, Saikiran. Patch applied.

Cheers,

Michael

> ---
>  man7/capabilities.7 | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)
> 
> diff --git a/man7/capabilities.7 b/man7/capabilities.7
> index fd841b4f1..adb8bad5b 100644
> --- a/man7/capabilities.7
> +++ b/man7/capabilities.7
> @@ -722,7 +722,10 @@ to increase the capacity of a pipe above the limit specified by
>  .IR /proc/sys/fs/pipe-max-size ;
>  .IP *
>  override
> -.I /proc/sys/fs/mqueue/queues_max
> +.I /proc/sys/fs/mqueue/queues_max,
> +.I /proc/sys/fs/mqueue/msg_max,
> +and
> +.I /proc/sys/fs/mqueue/msgsize_max
>  limit when creating POSIX message queues (see
>  .BR mq_overview (7));
>  .IP *
> 


-- 
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

end of thread, back to index

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-08 19:29 [PATCH] capabilities.7: Add two more items for POSIX message queues Saikiran Madugula
2020-07-17  8:13 ` Michael Kerrisk (man-pages)

Linux-man Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-man/0 linux-man/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-man linux-man/ https://lore.kernel.org/linux-man \
		linux-man@vger.kernel.org
	public-inbox-index linux-man

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-man


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git