socsvn commit: r270044 - soc2013/def/crashdump-head/sbin/savecore

def at FreeBSD.org def at FreeBSD.org
Wed Jun 25 23:34:06 UTC 2014


Author: def
Date: Wed Jun 25 23:34:05 2014
New Revision: 270044
URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=270044

Log:
  At the moment crash dumps cannot be compressed and encrypted in the same time.

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

Modified: soc2013/def/crashdump-head/sbin/savecore/savecore.c
==============================================================================
--- soc2013/def/crashdump-head/sbin/savecore/savecore.c	Wed Jun 25 23:32:34 2014	(r270043)
+++ soc2013/def/crashdump-head/sbin/savecore/savecore.c	Wed Jun 25 23:34:05 2014	(r270044)
@@ -788,7 +788,9 @@
 		}
 	if (checkfor && (clear || force || keep))
 		usage();
-	if (clear && (compress || keep))
+	if (clear && (compress || encrypted || keep))
+		usage();
+	if (compress && encrypted)
 		usage();
 	if (maxdumps > 0 && (checkfor || clear))
 		usage();


More information about the svn-soc-all mailing list