Commit Graph

25 Commits

Author SHA1 Message Date
perry
477853c351 nuke trailing whitespace 2005-02-26 22:58:54 +00:00
atatat
10a7ba9ef6 Tweak sysctl setup functions (the macros, actually) for use in lkms,
and tweak lkminit_*.c (where applicable) to call them, and to call
sysctl_teardown() when being unloaded.

This consists of (1) making setup functions not be static when being
compiled as lkms (change to sys/sysctl.h), (2) making prototypes
visible for the various setup functions in header files (changes to
various header files), and (3) making simple "load" and "unload"
functions in the actual lkminit stuff.

linux_sysctl.c also needs its root exposed (ie, made not static) for
this (when built as an lkm).
2004-05-20 06:34:24 +00:00
jdolecek
c8390a7dbc simplify struct sysent handling a bit more; store old sysents before
overwriting them with LFS syscalls, and restore to original contents
on module unload
2003-09-06 13:30:50 +00:00
jdolecek
d21da2d8e2 switch to DISPATCH() - it now calls the 'load' routine in order we want here
while here, simplify struct sysent handling a bit, fixing setting of sy_flags
2003-09-06 13:16:17 +00:00
perseant
b105ddb1d6 Make LFS LKM versions of ufs_makeinode and ufs_mkdir fail correctly.
Note dependency of lfs_vnops.o on ufs_readwrite.c.
2003-03-15 07:20:22 +00:00
thorpej
5819507df3 Merge the nathanw_sa branch. 2003-01-19 16:30:13 +00:00
scw
36109bbc9c Avoid strict-alias warnings. 2002-12-11 12:13:11 +00:00
jdolecek
e1c47ec557 remove obsolete comment 2002-12-03 14:34:33 +00:00
lukem
b574ee0f82 define NOMAN= once, at the real top level of lkm 2001-12-12 12:06:45 +00:00
tv
8e6f7afb5b MKfoo=no -> NOfoo 2001-12-12 01:48:43 +00:00
lukem
f5e6ca8797 add RCSIDs 2001-11-12 23:22:57 +00:00
jdolecek
3c532ca5ef adapt to struct sysent change 2001-01-27 17:06:31 +00:00
jdolecek
134b0b2c0f lfs is now loadable as LKM 2000-11-30 16:00:55 +00:00
simonb
4fd796d7d7 Add prototypes for the xxx_lkmentry() functions, and enable WARNS=1. 2000-03-21 11:45:56 +00:00
lukem
dcab0210a0 convert from NOxxx= to MKxxx=no.
include <bsd.own.mk> if testing a MKxxx variable.
1999-02-13 02:54:17 +00:00
cjs
c890eba0b7 Change NOMAN=yep to MKMAN=no. 1999-02-12 05:41:57 +00:00
bouyer
cf5be93206 Add ext2fs. 1998-10-04 11:45:44 +00:00
bouyer
ecb13d449a LKM for ext2fs ... better late than never :) 1998-09-29 10:26:58 +00:00
thorpej
3ef999a19b Make sure all LKMs get built with -DUVM and -DPMAP_NEW if so configured
in mk.conf.
1998-03-28 23:58:44 +00:00
thorpej
19024ae2fb Don't vfs_opv_init_*(); this is properly handed by vfs_attach(). 1998-02-18 07:18:21 +00:00
jtc
69f811b13c copyright assigned to TNF 1997-05-19 23:26:32 +00:00
explorer
97227d64b3 find ../sys relative to src dir, not obj dir 1996-08-27 23:42:01 +00:00
explorer
576f04f8b1 Clean up some unneeded Makefile variables 1996-08-27 21:44:32 +00:00
mrg
3b78ac59ad Update these to build in a consistant manner, and not assume /sys, etc.
Should work with obj dirs but not heavily tested.
1996-08-23 05:38:53 +00:00
explorer
f190d66387 Add the lkm stuff I've been working on to the tree.
This mostly works -- see the README file in sys/lkm for more information
on what does and doesn't.  I'm putting this in here mainly to help speed
development and such to make this useful sooner.
1996-08-22 20:18:07 +00:00