Apply the NFS exports list rototill patch:
- Remove all NFS related stuff from file system specific code.
- Drop the vfs_checkexp hook and generalize it in the new nfs_check_export
function, thus removing redundancy from all file systems.
- Move all NFS export-related stuff from kern/vfs_subr.c to the new
file sys/nfs/nfs_export.c. The former was becoming large and its code
is always compiled, regardless of the build options. Using the latter,
the code is only compiled in when NFSSERVER is enabled. While doing this,
also make some functions in nfs_subs.c conditional to NFSSERVER.
- Add a new command in nfssvc(2), called NFSSVC_SETEXPORTSLIST, that takes a
path and a set of export entries. At the moment it can only clear the
exports list or append entries, one by one, but it is done in a way that
allows setting the whole set of entries atomically in the future (see the
comment in mountd_set_exports_list or in doc/TODO).
- Change mountd(8) to use the nfssvc(2) system call instead of mount(2) so
that it becomes file system agnostic. In fact, all this whole thing was
done to remove a 'XXX' block from this utility!
- Change the mount*, newfs and fsck* userland utilities to not deal with NFS
exports initialization; done internally by the kernel when initializing
the NFS support for each file system.
- Implement an interface for VFS (called VFS hooks) so that several kernel
subsystems can run arbitrary code upon receipt of specific VFS events.
At the moment, this only provides support for unmount and is used to
destroy NFS exports lists from the file systems being unmounted, though it
has room for extension.
Thanks go to yamt@, chs@, thorpej@, wrstuden@ and others for their comments
and advice in the development of this patch.
2005-09-23 16:10:31 +04:00
|
|
|
LIST OF CHANGES FROM LAST RELEASE: <$Revision: 1.525 $>
|
2002-09-21 12:17:32 +04:00
|
|
|
|
|
|
|
|
|
|
|
[Note: This file does not mention every change made to the NetBSD source tree.
|
|
|
|
For an exhaustive list, please subscribe to the `source-changes' mailing list,
|
|
|
|
or see the mailing list archives. For more information, send a message
|
2003-07-26 21:24:44 +04:00
|
|
|
containing just the word `help' to `majordomo@NetBSD.org'.]
|
2002-09-21 12:17:32 +04:00
|
|
|
|
|
|
|
|
2005-03-17 03:19:55 +03:00
|
|
|
Changes from NetBSD 3.0 to NetBSD 4.0:
|
2005-03-19 18:19:15 +03:00
|
|
|
agr(4): Add pseudo-device driver for link aggregation. [yamt 20050318]
|
2005-03-21 16:50:27 +03:00
|
|
|
kernel: Limit the number of locks per user to 1024 [christos 20050320]
|
2005-03-25 23:17:07 +03:00
|
|
|
crypto: Upgrade to OpenSSL 0.9.7f [christos 20050325]
|
2005-03-27 18:48:35 +04:00
|
|
|
attimer(4): Split the pcppi(4) driver to properly assign resources and
|
|
|
|
allow both the devices to attach through ACPI [cube 20050325]
|
2005-04-01 00:44:10 +04:00
|
|
|
gre(4): add support for IPv6 as inner protocol, contributed by
|
|
|
|
Gert Doering [is 20050330]
|
2005-04-01 12:35:17 +04:00
|
|
|
/rescue: Add tetris. [lukem 20050401]
|
2005-04-01 16:17:07 +04:00
|
|
|
uvm(9): Simplify kernel memory allocation API and its implementation.
|
|
|
|
[yamt 20050401]
|
2005-04-04 07:26:28 +04:00
|
|
|
ipf(8): Updated to version 4.1.8. [martti 20050403]
|
2005-04-04 21:02:43 +04:00
|
|
|
identd(8): Add support for forwarding ident queries and receiving of
|
|
|
|
proxied ident queries. [peter 20050404]
|
2005-04-08 04:38:24 +04:00
|
|
|
ac97: Add support for AC'97 modems. [jmcneill 20050407]
|
|
|
|
auich(4): Add support for Intel ICH AC'97 modems as audio devices.
|
|
|
|
Currently disabled by default. [jmcneill 20050407]
|
2005-04-25 21:45:42 +04:00
|
|
|
event(3): Updated libevent to 1.0c [provos 20050417]
|
2005-04-19 16:05:58 +04:00
|
|
|
arc: Add a standalone boot program to load ELF kernels.
|
|
|
|
[tsutsui 20050418]
|
2005-04-20 06:03:22 +04:00
|
|
|
cvs(1): Upgrade to 1.11.20. [christos 20050419]
|
2005-04-23 20:57:07 +04:00
|
|
|
openssh: Upgrade to 4.0. [christos 20050423]
|
2005-04-23 23:32:34 +04:00
|
|
|
crypto: Upgrade to OpenSSL 0.9.7g [christos 20050423]
|
2005-04-29 19:31:55 +04:00
|
|
|
gettext: Upgrade to 0.14.4 [christos 20050429]
|
2005-04-29 23:44:28 +04:00
|
|
|
sparc64: Switch to wscons [martin 20050429]
|
2005-05-01 23:42:59 +04:00
|
|
|
ehci(4): Various bug fixes. The most visible is that low/full speed
|
|
|
|
devices can now be connected to high speed hubs.
|
|
|
|
[augustss 20050501]
|
2005-05-02 19:09:59 +04:00
|
|
|
acpi(4): Import ACPI-CA 20050408 [kochi 20050502]
|
2005-05-24 20:00:08 +04:00
|
|
|
psh3tp(4): Support touch-panel for PERSONA SH3 machines.
|
|
|
|
[kiyohara 20050523]
|
2005-06-07 00:28:34 +04:00
|
|
|
evbarm: Add support for the Arcom Viper. [pooka 20050606]
|
2005-06-15 22:08:41 +04:00
|
|
|
scan_ffs(8): Added scan_ffs from OpenBSD. Utility to find FFSv1/FFSv2
|
|
|
|
partitions, to recover lost disklabels. [xtraeme 20050615]
|
2005-06-20 17:15:24 +04:00
|
|
|
ataraid(4): Add man page and adapt support for Adaptec HostRAID
|
|
|
|
from FreeBSD. [briggs 20050620]
|
2005-06-23 00:11:03 +04:00
|
|
|
wtf(6): Now searches all acronyms databases (the -t switch is
|
2005-07-01 18:20:58 +04:00
|
|
|
gone), whatis(1) and then pkg_info(1). [hubertf 20050622]
|
2005-06-23 11:12:07 +04:00
|
|
|
i386: Add cd9660 file system support to the BIOS bootloader.
|
2005-07-01 18:19:35 +04:00
|
|
|
[junyoung 20050622]
|
2005-06-24 21:06:52 +04:00
|
|
|
tlp(4): added support for ASIX AX88140A and AX88141.
|
|
|
|
[rpaulo 20050624]
|
2005-06-28 12:36:47 +04:00
|
|
|
pss(4): Remove the pss(4) driver. It has never been workable.
|
|
|
|
[kent 20050628]
|
2005-06-30 18:04:26 +04:00
|
|
|
deroff(1): brought back from the dead. [perry 20050629]
|
|
|
|
spell(1): brought back from the dead. [perry 20050629]
|
|
|
|
ching(6): brought back from the dead. [perry 20050630]
|
2005-07-01 16:45:15 +04:00
|
|
|
pf(4): PF from OpenBSD 3.7 imported [peter 20050701]
|
2005-07-18 19:34:25 +04:00
|
|
|
i386: WSDISPLAY_SCROLLSUPPORT is now enabled in GENERIC kernel.
|
|
|
|
[rpaulo 20050702]
|
2005-07-03 00:19:50 +04:00
|
|
|
awk(1): Upgrade to nawk 20050424 [jdolecek 20050702]
|
2005-07-11 19:29:05 +04:00
|
|
|
ieee1394: ieee1394 from FreeBSD imported [kiyohara 20050711]
|
2005-07-14 16:52:18 +04:00
|
|
|
ral(4): Add driver for Ralink PCI/Cardbus/USB wlan adapters
|
|
|
|
(written by Damien Bergamini, ported by FUKAUMI Naoki)
|
|
|
|
[drochner 20050714]
|
2005-07-17 04:08:27 +04:00
|
|
|
vnd(4): Add support for configuring cloop2-compressed images
|
|
|
|
read-only, written by Cliff Wright. [hubertf 20050716]
|
2005-07-18 15:43:47 +04:00
|
|
|
uipaq(4): USB driver for iPAQ devices. From OpenBSD.
|
|
|
|
[augustss 20050718]
|
2005-07-19 21:01:59 +04:00
|
|
|
netinet: Implement PMTU checks and ignore ICMP Source Quench messages
|
|
|
|
for TCP as described in:
|
|
|
|
http://www.gont.com.ar/drafts/icmp-attacks-against-tcp.html
|
|
|
|
[christos 20050719]
|
2005-07-25 01:41:27 +04:00
|
|
|
config(1): Implement "no <dev> at <attachment>". [cube 20050724]
|
2005-08-19 11:04:33 +04:00
|
|
|
ucycom(4): Add driver for Cypress microcontroller based serial
|
|
|
|
devices. [skrll 20050731]
|
2005-07-31 05:11:07 +04:00
|
|
|
hpcmips: Add teliosio(4) driver for the Sharp Telios LCD screen and
|
2005-07-31 05:34:20 +04:00
|
|
|
Battery unit. [nakayama 20050731]
|
2005-07-31 23:26:06 +04:00
|
|
|
scan_lfs(8): Program to find LFS partitions on disks [xtraeme 20050731]
|
2005-08-07 04:38:07 +04:00
|
|
|
ftpd(8): Implement option "-D", for running ftpd(8) in standalone mode.
|
|
|
|
[peter 20050804]
|
2005-08-05 16:24:04 +04:00
|
|
|
bpf(4): Add two new sysctls to retrieve statistics and current
|
|
|
|
peers, viewable with netstat(1). [rpaulo 20050805]
|
2005-08-19 02:41:26 +04:00
|
|
|
postfix: Updated to 2.2.5. [rpaulo 20050818]
|
2005-08-19 16:33:24 +04:00
|
|
|
kernel: 64 bit inode changes [christos 20050819]
|
2005-08-24 19:04:32 +04:00
|
|
|
getent(1): Add support for "ethers" database. [ginsbach 20050824]
|
2005-08-24 19:59:35 +04:00
|
|
|
ftpd(8): Add new ftpd.conf(5) option, recvbufsize, and make
|
|
|
|
readsize option also apply to network reads for transfers to
|
|
|
|
the server. [ginsbach 20050824]
|
2005-08-26 20:43:11 +04:00
|
|
|
sysinst: Added Spanish language translation. [xtraeme 20050826]
|
2005-08-28 23:38:56 +04:00
|
|
|
UFS: Add experimental support for file-backed extended attributes
|
|
|
|
on UFS1 file systems, adapted from FreeBSD. [thorpej 20050828]
|
2005-09-05 22:54:10 +04:00
|
|
|
psh3lcd(4): Support LCD screen driver for PERSONA SH3 machines.
|
|
|
|
[kiyohara 20050906]
|
2005-09-09 17:44:19 +04:00
|
|
|
xge(4): Add driver for the Neterion Xframe-I 10 gigabit ethernet
|
|
|
|
controller [ragge 20050909]
|
2005-09-09 17:49:10 +04:00
|
|
|
i386: WSDISPLAY_SCROLLSUPPORT enabled in GENERIC.MPACPI,
|
|
|
|
GENERIC_LAPTOP and XEN0 kernels. [rpaulo 20050909]
|
|
|
|
amd64: WSDISPLAY_SCROLLSUPPORT enabled in GENERIC kernel.
|
|
|
|
[rpaulo 20050909]
|
2005-09-11 02:28:57 +04:00
|
|
|
kernel: Add tmpfs file system. [jmmv 20050910]
|
|
|
|
mount_tmpfs(8): Add utility to mount a tmpfs file system.
|
2005-09-15 16:41:23 +04:00
|
|
|
[jmmv 20050910]
|
|
|
|
kernel/libc: Re-factor compatibility code to hide compatibility
|
|
|
|
info from the header files and to allow libc to compile
|
|
|
|
without the compatibility hooks [christos 20050912]
|
2005-09-20 22:40:22 +04:00
|
|
|
am-utils: Upgrade to 6.1.2.1 [rpaulo 20050920]
|
2005-09-21 18:20:56 +04:00
|
|
|
pam_afslog(8): Add module to obtain AFS tokens from krb5
|
2005-09-21 18:58:52 +04:00
|
|
|
credentials and create a PAG if necessary. [tsarna 20050921]
|
2005-09-22 11:54:11 +04:00
|
|
|
kernel: Reset the AMD Geode SC1100 microcontroller. [dyoung 20050922]
|
|
|
|
geodewdog(4): Add driver for AMD Geode SC1100 microcontroller's
|
|
|
|
watchdog timer. [dyoung 20050922]
|
Apply the NFS exports list rototill patch:
- Remove all NFS related stuff from file system specific code.
- Drop the vfs_checkexp hook and generalize it in the new nfs_check_export
function, thus removing redundancy from all file systems.
- Move all NFS export-related stuff from kern/vfs_subr.c to the new
file sys/nfs/nfs_export.c. The former was becoming large and its code
is always compiled, regardless of the build options. Using the latter,
the code is only compiled in when NFSSERVER is enabled. While doing this,
also make some functions in nfs_subs.c conditional to NFSSERVER.
- Add a new command in nfssvc(2), called NFSSVC_SETEXPORTSLIST, that takes a
path and a set of export entries. At the moment it can only clear the
exports list or append entries, one by one, but it is done in a way that
allows setting the whole set of entries atomically in the future (see the
comment in mountd_set_exports_list or in doc/TODO).
- Change mountd(8) to use the nfssvc(2) system call instead of mount(2) so
that it becomes file system agnostic. In fact, all this whole thing was
done to remove a 'XXX' block from this utility!
- Change the mount*, newfs and fsck* userland utilities to not deal with NFS
exports initialization; done internally by the kernel when initializing
the NFS support for each file system.
- Implement an interface for VFS (called VFS hooks) so that several kernel
subsystems can run arbitrary code upon receipt of specific VFS events.
At the moment, this only provides support for unmount and is used to
destroy NFS exports lists from the file systems being unmounted, though it
has room for extension.
Thanks go to yamt@, chs@, thorpej@, wrstuden@ and others for their comments
and advice in the development of this patch.
2005-09-23 16:10:31 +04:00
|
|
|
kernel: Add the VFS hooks interface so that kernel subsystems
|
|
|
|
other than VFS can execute code upon VFS operations.
|
|
|
|
[jmmv 20050923]
|
|
|
|
kernel: Re-factor NFS exports list code handling, making it simpler
|
|
|
|
by abstracting all the details into the NFS generic code,
|
|
|
|
using the previously mentioned VFS hooks interface to make
|
|
|
|
it work. [jmmv 20050923]
|
|
|
|
mountd(8): Make this utility file system independent, also simplifying
|
|
|
|
its code. [jmmv 20050923]
|