Date: Mon, 2 Jul 2007 15:15:36 GMT From: Roman Divacky <rdivacky@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 122725 for review Message-ID: <200707021515.l62FFaUO045357@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=122725 Change 122725 by rdivacky@rdivacky_witten on 2007/07/02 15:15:02 Reset error to 0 to not trigger the condition resulting in panic in vrele in exit1. Affected files ... .. //depot/projects/soc2007/rdivacky/linux_at/sys/kern/kern_exec.c#9 edit .. //depot/projects/soc2007/rdivacky/linux_at/sys/kern/vfs_syscalls.c#42 edit Differences ... ==== //depot/projects/soc2007/rdivacky/linux_at/sys/kern/kern_exec.c#9 (text+ko) ==== @@ -555,7 +555,6 @@ execsigs(p); /* name this process - nameiexec(p, ndp) */ - /* XXX: what for fexecve? */ if (args->fname) { len = min(ndp->ni_cnd.cn_namelen,MAXCOMLEN); bcopy(ndp->ni_cnd.cn_nameptr, p->p_comm, len); @@ -573,6 +572,7 @@ len = strlen("fexecved process"); bcopy("fexecved process", p->p_comm, len); } + error = 0; } p->p_comm[len] = 0; ==== //depot/projects/soc2007/rdivacky/linux_at/sys/kern/vfs_syscalls.c#42 (text+ko) ====
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200707021515.l62FFaUO045357>