Displaying 1 result from an estimated 1 matches for "mesg1".
Did you mean:
mesg
1997 Feb 18
0
Abuse of the syslog facility
Any unpriveledged user can abuse the syslog facility in an interesting
way. The following example is a good one that can put misleading
information in the logs.
-------------------------------
#include <syslog.h>
void main(void){
const char *mesg1 = "hda: read_intr: status=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(&qu...