Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Nov 2015 22:06:48 GMT
From:      def@FreeBSD.org
To:        svn-soc-all@FreeBSD.org
Subject:   socsvn commit: r294626 - soc2013/def/crashdump-head/sys/sys
Message-ID:  <201511302206.tAUM6maO074369@socsvn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: def
Date: Mon Nov 30 22:06:47 2015
New Revision: 294626
URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=294626

Log:
  Don't allow to modify keys.

Modified:
  soc2013/def/crashdump-head/sys/sys/conf.h

Modified: soc2013/def/crashdump-head/sys/sys/conf.h
==============================================================================
--- soc2013/def/crashdump-head/sys/sys/conf.h	Mon Nov 30 22:06:11 2015	(r294625)
+++ soc2013/def/crashdump-head/sys/sys/conf.h	Mon Nov 30 22:06:47 2015	(r294626)
@@ -323,8 +323,8 @@
 };
 
 int set_dumper(struct dumperinfo *di, const char *devname, struct thread *td,
-    uint8_t encrypt, uint8_t *key, uint32_t encryptedkeysize,
-    uint8_t *encryptedkey);
+    uint8_t encrypt, const uint8_t *key, uint32_t encryptedkeysize,
+    const uint8_t *encryptedkey);
 int dump_write(struct dumperinfo *, void *, vm_offset_t, off_t, size_t);
 int dump_write_header(struct dumperinfo *di, struct kerneldumpheader *kdh,
     vm_offset_t physical, off_t offset);



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