Dr. Werner Fink 2014-10-09 13:02:41 +00:00 committed by Git OBS Bridge
parent 3fd19b7004
commit d1ce213d26
2 changed files with 9 additions and 4 deletions

View File

@ -10,9 +10,9 @@
#define _PATH_LOGNAME "/dev/log"
+#undef LOG_FAC
+static inline int LOG_FAC(int pri)
+static inline int LOG_FAC(const int pri)
+{
+ int fac = pri >> 3;
+ unsigned int fac = pri >> 3;
+ return (fac > 23) ? 23 : fac;
+}
+
@ -26,9 +26,9 @@
#endif
+#undef LOG_FAC
+static inline int LOG_FAC(int pri)
+static inline int LOG_FAC(const int pri)
+{
+ int fac = pri >> 3;
+ unsigned int fac = pri >> 3;
+ return (fac > 23) ? 23 : fac;
+}
+

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Oct 9 13:01:26 UTC 2014 - werner@suse.de
- Update patch sysklogd-1.4.1-CVE-2014-3634.patch (boo#899756)
-------------------------------------------------------------------
Mon Sep 29 14:14:14 UTC 2014 - schwab@suse.de