socsvn commit: r294626 - soc2013/def/crashdump-head/sys/sys

def at FreeBSD.org def at FreeBSD.org
Mon Nov 30 22:06:48 UTC 2015


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


More information about the svn-soc-all mailing list