Date: Mon, 31 Jan 2011 22:18:02 GMT From: Edward Tomasz Napierala <trasz@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 188395 for review Message-ID: <201101312218.p0VMI2Z8044553@skunkworks.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://p4web.freebsd.org/@@188395?ac=10 Change 188395 by trasz@trasz_victim on 2011/01/31 22:17:31 Improve the message logged by the "log" action. Affected files ... .. //depot/projects/soc2009/trasz_limits/sys/kern/kern_rctl.c#26 edit Differences ... ==== //depot/projects/soc2009/trasz_limits/sys/kern/kern_rctl.c#26 (text+ko) ==== @@ -325,9 +325,10 @@ sbuf_new(&sb, buf, RCTL_LOG_BUFSIZE, SBUF_FIXEDLEN); rctl_rule_to_sbuf(&sb, rule); sbuf_finish(&sb); - printf("resource limit \"%s\" exceeded by process %d " - "(%s), uid %d\n", sbuf_data(&sb), p->p_pid, - p->p_comm, p->p_ucred->cr_uid); + printf("rctl: rule \"%s\" matched by process %d " + "(%s), uid %d, jid %d\n", sbuf_data(&sb), p->p_pid, + p->p_comm, p->p_ucred->cr_uid, + p->p_ucred->cr_prison->pr_id); sbuf_delete(&sb); free(buf, M_RCTL); continue;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201101312218.p0VMI2Z8044553>