--- zzzz-none-000/linux-3.10.107/include/linux/syslog.h 2017-06-27 09:49:32.000000000 +0000 +++ scorpion-7490-727/linux-3.10.107/include/linux/syslog.h 2021-02-04 17:41:59.000000000 +0000 @@ -47,6 +47,15 @@ #define SYSLOG_FROM_READER 0 #define SYSLOG_FROM_PROC 1 -int do_syslog(int type, char __user *buf, int count, bool from_file); +int do_syslog(int type, char __user *buf, int count, int source); + +#ifdef CONFIG_PRINTK +int check_syslog_permissions(int type, int source); +#else +static inline int check_syslog_permissions(int type, int source) +{ + return 0; +} +#endif #endif /* _LINUX_SYSLOG_H */