aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPawit Pornkitprasan <p.pawit@gmail.com>2013-02-24 08:35:26 +0700
committerPawit Pornkitprasan <p.pawit@gmail.com>2013-02-24 08:35:26 +0700
commit6c5dadef809982e05b16ba7cf309e7c642a1b56a (patch)
tree1524a508c2cdf116b160732d002179e7537b20a7 /include
parentade046f9db4d92795249a3e3ce2b8cebf6dce0c7 (diff)
parent21d69845e411bfcee426070af5416ddfba350529 (diff)
downloadkernel_samsung_aries-6c5dadef809982e05b16ba7cf309e7c642a1b56a.zip
kernel_samsung_aries-6c5dadef809982e05b16ba7cf309e7c642a1b56a.tar.gz
kernel_samsung_aries-6c5dadef809982e05b16ba7cf309e7c642a1b56a.tar.bz2
Merge 3.0.66
Diffstat (limited to 'include')
-rw-r--r--include/linux/syslog.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/syslog.h b/include/linux/syslog.h
index 3891139..ce4c665 100644
--- a/include/linux/syslog.h
+++ b/include/linux/syslog.h
@@ -47,6 +47,12 @@
#define SYSLOG_FROM_CALL 0
#define SYSLOG_FROM_FILE 1
+/*
+ * Syslog priority (PRI) maximum length in char : '<[0-9]{1,3}>'
+ * See RFC5424 for details
+*/
+#define SYSLOG_PRI_MAX_LENGTH 5
+
int do_syslog(int type, char __user *buf, int count, bool from_file);
#endif /* _LINUX_SYSLOG_H */