Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions
compat_mq.c File Reference
#include <linux/compat.h>
#include <linux/fs.h>
#include <linux/kernel.h>
#include <linux/mqueue.h>
#include <linux/syscalls.h>
#include <asm/uaccess.h>

Go to the source code of this file.

Data Structures

struct  compat_mq_attr
 

Functions

asmlinkage long compat_sys_mq_open (const char __user *u_name, int oflag, compat_mode_t mode, struct compat_mq_attr __user *u_attr)
 
asmlinkage long compat_sys_mq_timedsend (mqd_t mqdes, const char __user *u_msg_ptr, size_t msg_len, unsigned int msg_prio, const struct compat_timespec __user *u_abs_timeout)
 
asmlinkage ssize_t compat_sys_mq_timedreceive (mqd_t mqdes, char __user *u_msg_ptr, size_t msg_len, unsigned int __user *u_msg_prio, const struct compat_timespec __user *u_abs_timeout)
 
asmlinkage long compat_sys_mq_notify (mqd_t mqdes, const struct compat_sigevent __user *u_notification)
 
asmlinkage long compat_sys_mq_getsetattr (mqd_t mqdes, const struct compat_mq_attr __user *u_mqstat, struct compat_mq_attr __user *u_omqstat)
 

Function Documentation

asmlinkage long compat_sys_mq_getsetattr ( mqd_t  mqdes,
const struct compat_mq_attr __user u_mqstat,
struct compat_mq_attr __user u_omqstat 
)

Definition at line 125 of file compat_mq.c.

asmlinkage long compat_sys_mq_notify ( mqd_t  mqdes,
const struct compat_sigevent __user u_notification 
)

Definition at line 108 of file compat_mq.c.

asmlinkage long compat_sys_mq_open ( const char __user u_name,
int  oflag,
compat_mode_t  mode,
struct compat_mq_attr __user u_attr 
)

Definition at line 49 of file compat_mq.c.

asmlinkage ssize_t compat_sys_mq_timedreceive ( mqd_t  mqdes,
char __user u_msg_ptr,
size_t  msg_len,
unsigned int __user u_msg_prio,
const struct compat_timespec __user u_abs_timeout 
)

Definition at line 95 of file compat_mq.c.

asmlinkage long compat_sys_mq_timedsend ( mqd_t  mqdes,
const char __user u_msg_ptr,
size_t  msg_len,
unsigned int  msg_prio,
const struct compat_timespec __user u_abs_timeout 
)

Definition at line 81 of file compat_mq.c.