Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Jul 2007 13:01:35 GMT
From:      Roman Divacky <rdivacky@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 122715 for review
Message-ID:  <200707021301.l62D1ZsW030215@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help

http://perforce.freebsd.org/chv.cgi?CH=122715

Change 122715 by rdivacky@rdivacky_witten on 2007/07/02 13:00:36

	Set the p_comm to "fexecved process" in a case when vn_fullpath fails.
	
	Pointed out by: jhb

Affected files ...

.. //depot/projects/soc2007/rdivacky/linux_at/sys/kern/kern_exec.c#8 edit

Differences ...

==== //depot/projects/soc2007/rdivacky/linux_at/sys/kern/kern_exec.c#8 (text+ko) ====

@@ -569,6 +569,9 @@
 	   		bcopy(fullpath, p->p_comm, len);
 			if (freepath)
 				free(freepath, M_TEMP);
+		} else {
+			len = strlen("fexecved process");
+			bcopy("fexecved process", p->p_comm, len);
 		}
 	}
 	p->p_comm[len] = 0;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200707021301.l62D1ZsW030215>