Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Dec 2015 22:44:52 GMT
From:      def@FreeBSD.org
To:        svn-soc-all@FreeBSD.org
Subject:   socsvn commit: r294717 - soc2013/def/crashdump-head/sbin/decryptcore
Message-ID:  <201512012244.tB1Miqbc099071@socsvn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: def
Date: Tue Dec  1 22:44:52 2015
New Revision: 294717
URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=294717

Log:
  Add a comment why decryptcore decrypts a core dump in a separate process.

Modified:
  soc2013/def/crashdump-head/sbin/decryptcore/decryptcore.c

Modified: soc2013/def/crashdump-head/sbin/decryptcore/decryptcore.c
==============================================================================
--- soc2013/def/crashdump-head/sbin/decryptcore/decryptcore.c	Tue Dec  1 22:35:10 2015	(r294716)
+++ soc2013/def/crashdump-head/sbin/decryptcore/decryptcore.c	Tue Dec  1 22:44:52 2015	(r294717)
@@ -127,7 +127,8 @@
 	privkey = NULL;
 
 	/*
-	 * TODO: comment.
+	 * Decrypt a core dump in a child process so we can unlink a partially
+	 * decrypted core if the child process fails.
 	 */
 	pid = fork();
 	if (pid == -1) {



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