Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ExeBy/smexe_ro.../usr/include/linux
File: mqueue.h
/* SPDX-License-Identifier: LGPL-2.1+ WITH Linux-syscall-note */
[0] Fix | Delete
/* Copyright (C) 2003 Krzysztof Benedyczak & Michal Wronski
[1] Fix | Delete
[2] Fix | Delete
This program is free software; you can redistribute it and/or
[3] Fix | Delete
modify it under the terms of the GNU Lesser General Public
[4] Fix | Delete
License as published by the Free Software Foundation; either
[5] Fix | Delete
version 2.1 of the License, or (at your option) any later version.
[6] Fix | Delete
[7] Fix | Delete
It is distributed in the hope that it will be useful,
[8] Fix | Delete
but WITHOUT ANY WARRANTY; without even the implied warranty of
[9] Fix | Delete
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
[10] Fix | Delete
Lesser General Public License for more details.
[11] Fix | Delete
[12] Fix | Delete
You should have received a copy of the GNU Lesser General Public
[13] Fix | Delete
License along with this software; if not, write to the Free
[14] Fix | Delete
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
[15] Fix | Delete
02111-1307 USA. */
[16] Fix | Delete
[17] Fix | Delete
#ifndef _LINUX_MQUEUE_H
[18] Fix | Delete
#define _LINUX_MQUEUE_H
[19] Fix | Delete
[20] Fix | Delete
#include <linux/types.h>
[21] Fix | Delete
[22] Fix | Delete
#define MQ_PRIO_MAX 32768
[23] Fix | Delete
/* per-uid limit of kernel memory used by mqueue, in bytes */
[24] Fix | Delete
#define MQ_BYTES_MAX 819200
[25] Fix | Delete
[26] Fix | Delete
struct mq_attr {
[27] Fix | Delete
__kernel_long_t mq_flags; /* message queue flags */
[28] Fix | Delete
__kernel_long_t mq_maxmsg; /* maximum number of messages */
[29] Fix | Delete
__kernel_long_t mq_msgsize; /* maximum message size */
[30] Fix | Delete
__kernel_long_t mq_curmsgs; /* number of messages currently queued */
[31] Fix | Delete
__kernel_long_t __reserved[4]; /* ignored for input, zeroed for output */
[32] Fix | Delete
};
[33] Fix | Delete
[34] Fix | Delete
/*
[35] Fix | Delete
* SIGEV_THREAD implementation:
[36] Fix | Delete
* SIGEV_THREAD must be implemented in user space. If SIGEV_THREAD is passed
[37] Fix | Delete
* to mq_notify, then
[38] Fix | Delete
* - sigev_signo must be the file descriptor of an AF_NETLINK socket. It's not
[39] Fix | Delete
* necessary that the socket is bound.
[40] Fix | Delete
* - sigev_value.sival_ptr must point to a cookie that is NOTIFY_COOKIE_LEN
[41] Fix | Delete
* bytes long.
[42] Fix | Delete
* If the notification is triggered, then the cookie is sent to the netlink
[43] Fix | Delete
* socket. The last byte of the cookie is replaced with the NOTIFY_?? codes:
[44] Fix | Delete
* NOTIFY_WOKENUP if the notification got triggered, NOTIFY_REMOVED if it was
[45] Fix | Delete
* removed, either due to a close() on the message queue fd or due to a
[46] Fix | Delete
* mq_notify() that removed the notification.
[47] Fix | Delete
*/
[48] Fix | Delete
#define NOTIFY_NONE 0
[49] Fix | Delete
#define NOTIFY_WOKENUP 1
[50] Fix | Delete
#define NOTIFY_REMOVED 2
[51] Fix | Delete
[52] Fix | Delete
#define NOTIFY_COOKIE_LEN 32
[53] Fix | Delete
[54] Fix | Delete
#endif
[55] Fix | Delete
[56] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function