Displaying 3 results from an estimated 3 matches for "log_kern".
Did you mean:
log_err
1997 Feb 18
0
Abuse of the syslog facility
...atus=0x59 { SeekComplete
DataRequest Error } { UncorrectableError }, CHS=157/2/9, sector=2826\0";
const char *mesg2 ="end_request: I/O error, dev 03:00, sector 2826\0";
const char *mesg3 = "EXT2-fs: group descriptors corrupted !\0";
openlog("kernel", LOG_CONS, LOG_KERN);
syslog(LOG_ERR, mesg1);
syslog(LOG_ERR, mesg2);
syslog(LOG_ERR, mesg3);
closelog();
}
---------------------------------
If one does "chmod o-rw /dev/log" that stops the above message from ending
up in the log. However if the user runs the above in a tight loop,
i.e. "while tru...
2018 May 11
2
vfs_full_audit and facility 'auth'...
On Fri, 11 May 2018 13:17:52 -0700
Jeremy Allison <jra at samba.org> wrote:
> On Fri, May 11, 2018 at 09:56:47PM +0200, Timur I. Bakeyev via samba
> wrote:
> > >
> > Fixing it in both ways is easy, but it would be nice to hear from
> > the developers, why did they choose such a limited set of syslog
> > facilities.
>
> I don't know. The limited
2018 May 11
3
vfs_full_audit and facility 'auth'...
...d full set
of:
static const CODE facilitynames[] = {
{ "auth", LOG_AUTH, },
{ "cron", LOG_CRON, },
{ "daemon", LOG_DAEMON, },
{ "ftp", LOG_FTP, },
{ "kern", LOG_KERN, },
{ "lpr", LOG_LPR, },
{ "mail", LOG_MAIL, },
{ "news", LOG_NEWS, },
{ "ntp", LOG_NTP, },
{ "security", LOG_SECURITY, },
{ "syslog&q...