Displaying 2 results from an estimated 2 matches for "copyoutstr".
Did you mean:
copyouts
2005 Mar 17
1
no patch, is there a problem
http://www.securityfocus.com/bid/12825/info/
no patch or anything, is there any action on this?
2009 Aug 18
2
Change syslog output
...here is my first version, what is not (so) elegant):
#!/usr/sbin/dtrace -qs
#pragma D option destructive
syscall::write:entry
/ execname == "syslogd" && (self->class = copyinstr(arg1)) != NULL &&
90 < strlen(self->class) /
{
self->addr = arg1;
copyoutstr("Clear nxge_ipp_eccue_valid_check messages",
self->addr, 100);
}
Problems with this script:
1. It change all syslog messages what is longer then 90 character.
I can''t use regexp to make some check on the string, for example if
the arg1 contain nxge_ipp_eccue_valid_check then...