diff options
Diffstat (limited to 'include/linux/syslog.h')
-rw-r--r-- | include/linux/syslog.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/syslog.h b/include/linux/syslog.h index 38911391a13..ce4c6655605 100644 --- a/include/linux/syslog.h +++ b/include/linux/syslog.h | |||
@@ -47,6 +47,12 @@ | |||
47 | #define SYSLOG_FROM_CALL 0 | 47 | #define SYSLOG_FROM_CALL 0 |
48 | #define SYSLOG_FROM_FILE 1 | 48 | #define SYSLOG_FROM_FILE 1 |
49 | 49 | ||
50 | /* | ||
51 | * Syslog priority (PRI) maximum length in char : '<[0-9]{1,3}>' | ||
52 | * See RFC5424 for details | ||
53 | */ | ||
54 | #define SYSLOG_PRI_MAX_LENGTH 5 | ||
55 | |||
50 | int do_syslog(int type, char __user *buf, int count, bool from_file); | 56 | int do_syslog(int type, char __user *buf, int count, bool from_file); |
51 | 57 | ||
52 | #endif /* _LINUX_SYSLOG_H */ | 58 | #endif /* _LINUX_SYSLOG_H */ |