summaryrefslogtreecommitdiff
path: root/include/linux/mqueue.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/mqueue.h')
-rw-r--r--include/linux/mqueue.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/mqueue.h b/include/linux/mqueue.h
index fc40b774b913..8db9d75541a6 100644
--- a/include/linux/mqueue.h
+++ b/include/linux/mqueue.h
@@ -21,6 +21,8 @@
#include <linux/types.h>
#define MQ_PRIO_MAX 32768
+/* per-uid limit of kernel memory used by mqueue, in bytes */
+#define MQ_BYTES_MAX 819200
struct mq_attr {
long mq_flags; /* message queue flags */