Commit Graph

76 Commits

Author SHA1 Message Date
mhitch 4c9aff16f0 Addition of header files for sysctl set function prototypes referenced
structs defined in other header files.  Gcc 2.95 on vax doesn't like this.
Add appropriate header files to fix vax compile failures.
2004-05-25 01:36:37 +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
christos 86226ab757 fix for non-objdir build. reported by tron. 2003-09-13 22:25:47 +00:00
christos d91e004306 add missing path. 2003-09-12 16:29:09 +00:00
christos e4ce502bf6 give this Makefile a chance to work, by eliminating unneeded complexity. 2003-09-12 13:05:28 +00:00
itojun 8ca90bd4e4 add /kern/ipsecsa and /kern/ipsecsp, which can be inspected by setkey(8).
it allows easier access to ipsecsa/sp.  it works around problem where
setkey -D does not work with large number of ipsec SAs due to socket buffer
size.
2003-09-08 06:51:53 +00:00
tron fadd4495f2 Adding "${.CURDIR}/../coda" to the path causes build failures if object
files exist in that directory. Simply creating a symbolic link to the file
"${.CURDIR}/../coda/lkminit_vfs.c" via "LNFILES" fixes that problem.
2003-09-07 12:25:54 +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
jdolecek ffac54bf71 convert over to standard LKM macros; done by defining the VFS
and DEV parts in separate functions, and calling those dispatch
functions from coda_lkmentry()
2003-09-06 10:56:37 +00:00
jdolecek 67d5719f24 ANSIfy 2003-09-06 08:45:18 +00:00
jdolecek 07fce822f1 share lkminit_vfs.c with coda module 2003-09-06 08:40:42 +00:00
drochner ffad96d540 add coda5, sort 2003-09-02 17:15:46 +00:00
drochner 35755efb8c as requested by Jaromir Dolecek:
Add a "coda5" LKM which is "coda" with the "CODA_COMPAT_5" option.
This deliberately conflicts with "coda" as they can't coexist within
one kernel.
2003-09-02 12:08:45 +00:00
jdolecek 5fd8296ac8 add LKM for file system SMBFS
XXX the LKM requires nsmb pseudo device in kernel to load successfully ATM
2003-04-02 09:45:42 +00:00
jdolecek ad5a73ba6b build and install union LKM now that it works 2003-03-17 09:18:53 +00:00
jdolecek a0deb3e9c4 move union filesystem code from sys/miscfs/union to sys/fs/union 2003-03-16 08:26:46 +00:00
jdolecek 0d2891bece need a prototype for union_lkmentry() to compile 2003-03-16 08:01:13 +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
christos f8517f9ae2 add procfs_fd.c 2003-01-03 13:22:23 +00:00
jdolecek 98d58548c7 move msdosfs code from sys/msdosfs to sys/fs/msdosfs 2002-12-26 12:31:23 +00:00
jdolecek 6641019152 add cd9660 subdirectory 2002-12-24 08:12:15 +00:00
david fa8f4c27d5 isofs dir will be empty after update -dP, now that all contents are in
the Attic. Make clean was broken for me without this.
2002-12-24 02:56:10 +00:00
jdolecek 3a8872dee7 move cd9660 filesystem code from sys/isofs/cd9660 to sys/fs/cd9660 2002-12-23 17:52:02 +00:00
jdolecek 5d0e84b25e flatten the LKM vfs hierarchy a bit - no need for isofs/cd9660, put
the LKM code directly to cd9660 directory
2002-12-23 17:45:14 +00:00
jdolecek 9accf4df15 move NTFS code from sys/ntfs to sys/fs/ntfs 2002-12-23 17:38:19 +00:00
jdolecek 5356de155a move filecorefs code from sys/filecorefs to sys/fs/filecorefs 2002-12-23 17:30:36 +00:00
jdolecek 829bd3c01c adosfs moved from sys/adosfs to sys/fs/adosfs 2002-12-23 17:23: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
gehenna 77a6b82b27 Merge the gehenna-devsw branch into the trunk.
This merge changes the device switch tables from static array to
dynamically generated by config(8).

- All device switches is defined as a constant structure in device drivers.

- The new grammer ``device-major'' is introduced to ``files''.

	device-major <prefix> char <num> [block <num>] [<rules>]

- All device major numbers must be listed up in port dependent majors.<arch>
  by using this grammer.

- Added the new naming convention.
  The name of the device switch must be <prefix>_[bc]devsw for auto-generation
  of device switch tables.

- The backward compatibility of loading block/character device
  switch by LKM framework is broken. This is necessary to convert
  from block/character device major to device name in runtime and vice versa.

- The restriction to assign device major by LKM is completely removed.
  We don't need to reserve LKM entries for dynamic loading of device switch.

- In compile time, device major numbers list is packed into the kernel and
  the LKM framework will refer it to assign device major number dynamically.
2002-09-06 13:18:43 +00:00
jdolecek 357b304b86 add some procfs files which seem to be needed nowadays 2002-05-25 20:39:50 +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
lukem e2f9740f5b add arch/${MACHINE_CPU}/${MACHINE_CPU} for the arm ports 2001-08-05 13:41:50 +00:00
tron 7099caed23 Make this LKM work again by building "ntfs_conv.c". 2001-02-16 10:07:02 +00:00
tron 5e89f0c397 Make the "procfs" LKM work again by including "procfs_map.c" in the
build.
2001-02-03 09:19:45 +00:00
jdolecek 8881c0b414 build and install filecorefs LKM same way as other VFS LKMs 2001-01-27 23:48:32 +00:00
jdolecek 3c532ca5ef adapt to struct sysent change 2001-01-27 17:06:31 +00:00
jdolecek c684abec3c add filecorefs LKM - noticed it's missing
XXX not tested
2001-01-22 13:41:51 +00:00
fvdl 4de25b5279 Add procfs_machdep.c and .PATH for it. 2001-01-17 00:09: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
wrstuden fab192f2d2 Add overlay, a layered file system which overlays itself on
the underlying fs, rather than exporting it to another part of the
directory name space.
2000-01-20 19:06:13 +00:00
jdolecek a2fff20b0d properly end the comment with NetBSD RCS id 1999-09-05 10:57:01 +00:00
wrstuden f8ea65369c Make nullfs's lkm right. 1999-07-08 01:51:57 +00:00
tron ce798896e4 Compile all VFS LKMs on all ports. 1999-05-18 23:06:02 +00:00
tron 91a9233c06 Build "ntfs" LKM only on machines for which Windows NT is available. 1999-05-12 12:05:56 +00:00