Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev The cgd(4) module requires des and blowfish symbols



details:   https://anonhg.NetBSD.org/src/rev/fb1a379351f7
branches:  trunk
changeset: 819914:fb1a379351f7
user:      kamil <kamil%NetBSD.org@localhost>
date:      Thu Dec 22 20:57:33 2016 +0000

description:
The cgd(4) module requires des and blowfish symbols

This has been exposed with the MODULAR kernel.

kobj_checksyms, 979: [cgd]: linker error: symbol `BF_set_key' not found
kobj_checksyms, 979: [cgd]: linker error: symbol `des_key_sched' not found
kobj_checksyms, 979: [cgd]: linker error: symbol `des_ede3_cbc_encrypt' not found
WARNING: module error: unable to affix module `cgd', error 8

Reviewed by <riastradh>

diffstat:

 sys/dev/cgd.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 3305210ba694 -r fb1a379351f7 sys/dev/cgd.c
--- a/sys/dev/cgd.c     Thu Dec 22 17:39:28 2016 +0000
+++ b/sys/dev/cgd.c     Thu Dec 22 20:57:33 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cgd.c,v 1.112 2016/12/11 00:20:49 alnsn Exp $ */
+/* $NetBSD: cgd.c,v 1.113 2016/12/22 20:57:33 kamil Exp $ */
 
 /*-
  * Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cgd.c,v 1.112 2016/12/11 00:20:49 alnsn Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cgd.c,v 1.113 2016/12/22 20:57:33 kamil Exp $");
 
 #include <sys/types.h>
 #include <sys/param.h>
@@ -1165,7 +1165,7 @@
        printf("done\n");
 }
 
-MODULE(MODULE_CLASS_DRIVER, cgd, "dk_subr");
+MODULE(MODULE_CLASS_DRIVER, cgd, "blowfish,des,dk_subr");
 
 #ifdef _MODULE
 CFDRIVER_DECL(cgd, DV_DISK, NULL);



Home | Main Index | Thread Index | Old Index