Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
syslog.h File Reference

Go to the source code of this file.

Macros

#define SYSLOG_ACTION_CLOSE   0
 
#define SYSLOG_ACTION_OPEN   1
 
#define SYSLOG_ACTION_READ   2
 
#define SYSLOG_ACTION_READ_ALL   3
 
#define SYSLOG_ACTION_READ_CLEAR   4
 
#define SYSLOG_ACTION_CLEAR   5
 
#define SYSLOG_ACTION_CONSOLE_OFF   6
 
#define SYSLOG_ACTION_CONSOLE_ON   7
 
#define SYSLOG_ACTION_CONSOLE_LEVEL   8
 
#define SYSLOG_ACTION_SIZE_UNREAD   9
 
#define SYSLOG_ACTION_SIZE_BUFFER   10
 
#define SYSLOG_FROM_CALL   0
 
#define SYSLOG_FROM_FILE   1
 

Functions

int do_syslog (int type, char __user *buf, int count, bool from_file)
 

Macro Definition Documentation

#define SYSLOG_ACTION_CLEAR   5

Definition at line 35 of file syslog.h.

#define SYSLOG_ACTION_CLOSE   0

Definition at line 25 of file syslog.h.

#define SYSLOG_ACTION_CONSOLE_LEVEL   8

Definition at line 41 of file syslog.h.

#define SYSLOG_ACTION_CONSOLE_OFF   6

Definition at line 37 of file syslog.h.

#define SYSLOG_ACTION_CONSOLE_ON   7

Definition at line 39 of file syslog.h.

#define SYSLOG_ACTION_OPEN   1

Definition at line 27 of file syslog.h.

#define SYSLOG_ACTION_READ   2

Definition at line 29 of file syslog.h.

#define SYSLOG_ACTION_READ_ALL   3

Definition at line 31 of file syslog.h.

#define SYSLOG_ACTION_READ_CLEAR   4

Definition at line 33 of file syslog.h.

#define SYSLOG_ACTION_SIZE_BUFFER   10

Definition at line 45 of file syslog.h.

#define SYSLOG_ACTION_SIZE_UNREAD   9

Definition at line 43 of file syslog.h.

#define SYSLOG_FROM_CALL   0

Definition at line 47 of file syslog.h.

#define SYSLOG_FROM_FILE   1

Definition at line 48 of file syslog.h.

Function Documentation

int do_syslog ( int  type,
char __user buf,
int  count,
bool  from_file 
)