[Devel] [KERNEL COMMIT]: diff-ve-sock-warn-20051130
Kirill Korotaev
dev at sw.ru
Fri Dec 2 06:02:55 PST 2005
Committed in 022stab052
Patch from Pavel (xemul@):
User-triggerable printk()'s in get/setsockopt with SO_BSDCOMPAT
-------------- next part --------------
--- ./net/core/sock.c.veprn 2005-11-29 19:23:40.000000000 +0300
+++ ./net/core/sock.c 2005-11-30 16:53:51.857133392 +0300
@@ -173,7 +173,7 @@ static void sock_warn_obsolete_bsdism(co
static char warncomm[16];
if (strcmp(warncomm, current->comm) && warned < 5) {
strcpy(warncomm, current->comm);
- printk(KERN_WARNING "process `%s' is using obsolete "
+ ve_printk(VE_LOG, KERN_WARNING "process `%s' is using obsolete "
"%s SO_BSDCOMPAT\n", warncomm, name);
warned++;
}
More information about the Devel
mailing list