From owner-cvs-sys Tue Sep 3 15:55:29 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id PAA01721 for cvs-sys-outgoing; Tue, 3 Sep 1996 15:55:29 -0700 (PDT) Received: (from bde@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id PAA01581; Tue, 3 Sep 1996 15:52:28 -0700 (PDT) Date: Tue, 3 Sep 1996 15:52:28 -0700 (PDT) From: Bruce Evans Message-Id: <199609032252.PAA01581@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-user, cvs-sys Subject: cvs commit: src/lkm/coff coff.c src/lkm/linux linux.c src/sys/kern kern_lkm.c src/sys/sys kernel.h lkm.h Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 96/09/03 15:52:28 Modified: lkm/coff coff.c lkm/linux linux.c sys/kern kern_lkm.c sys/sys kernel.h lkm.h Log: `struct linker_set execsw_set' was declared as const and pointers in it were declared as non-const. This is backwards (_lkm_exec() changes the pointers but all the target `struct execsw's are const). Fixed this and poisoned related declarations to match and removed the bogus casts that hid the bug. Revision Changes Path 1.6 +2 -2 src/lkm/coff/coff.c 1.7 +2 -2 src/lkm/linux/linux.c 1.32 +3 -3 src/sys/kern/kern_lkm.c 1.21 +5 -4 src/sys/sys/kernel.h 1.12 +2 -2 src/sys/sys/lkm.h