socsvn commit: r294717 - soc2013/def/crashdump-head/sbin/decryptcore

def at FreeBSD.org def at FreeBSD.org
Tue Dec 1 22:44:53 UTC 2015


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) {


More information about the svn-soc-all mailing list