Commit Graph

53498 Commits

Author SHA1 Message Date
cgd fb88e47b54 Remove an extraneous fclose() call which would cause savecore to crash
if the bounds file was unwritable (e.g. because /var was read-only).
Fix supplied by Ronald Khoo in PR#7887.
1999-07-01 08:53:35 +00:00
itojun 118d2b1d4f IPv6 kernel code, based on KAME/NetBSD 1.4, SNAP kit 19990628.
(Sorry for a big commit, I can't separate this into several pieces...)
Pls check sys/netinet6/TODO and sys/netinet6/IMPLEMENTATION for details.

- sys/kern: do not assume single mbuf, accept chained mbuf on passing
  data from userland to kernel (or other way round).
- "midway" ATM card: ATM PVC pseudo device support, like those done in ALTQ
  package (ftp://ftp.csl.sony.co.jp/pub/kjc/).
- sys/netinet/tcp*: IPv4/v6 dual stack tcp support.
- sys/netinet/{ip6,icmp6}.h, sys/net/pfkeyv2.h: IETF document assumes those
  file to be there so we patch it up.
- sys/netinet: IPsec additions are here and there.
- sys/netinet6/*: most of IPv6 code sits here.
- sys/netkey: IPsec key management code
- dev/pci/pcidevs: regen

In my understanding no code here is subject to export control so it
should be safe.
1999-07-01 08:12:45 +00:00
itojun 9765602d90 add PR_LISTEN for UNIX domain socket, SOCK_STREAM case. 1999-07-01 07:59:57 +00:00
itojun 5effafcaa6 kernel configuration for IPv6/IPsec. should be in GENERIC in the future.
(source code will be committed soon)
1999-07-01 07:00:12 +00:00
darrenr 4607be6533 define PR_LISTEN to indicate listen(2)/accept(2) support 1999-07-01 05:56:53 +00:00
darrenr cd92b615fa fix sys_accept() to return EOPNOTSUPP for protocols which don't support
listen/accept (PR_LISTEN flag in protosw) and detect obvious faults in
parameters passed.  It is still possible for the address used for copying
the socket information to become invalid between that check and the copyout
so close the connection's allocated fd if the copyout fails so that we can
return EFAULT without allocating an fd and the application not knowing about
it.  Ideally we'd be able to queue the connection back up so a later accept
could retrieve it but unfortunately that's not possible.
1999-07-01 05:56:32 +00:00
darrenr 67cac86e57 add PR_LISTEN to protocols which support listen(2) 1999-07-01 05:53:04 +00:00
fvdl 440bb56d81 Don't use .PATH here, it won't work because of crunchgen. XXX 1999-06-30 22:21:57 +00:00
ragge 1647688f0d Use pmap_steal_memory() for early memory allocation. 1999-06-30 19:31:33 +00:00
ragge 8783dd4166 MSCP moved. 1999-06-30 18:48:06 +00:00
ragge 9c7dfb8eb4 Outdated; moved to another location. 1999-06-30 18:47:03 +00:00
ross 59c991a23e Document BUILD_KERNELS. 1999-06-30 18:42:03 +00:00
ross 6e3b6566ce * Define INSTALLATION_DIRS and BUILD_KERNELS.
* Build in src/distrib
* Call the new release targets in src/distrib/{alpha,notes}

Note: The notes installation command is MI and should eventually move
      to somewhere in ../Makefile
1999-06-30 18:39:37 +00:00
ragge 996e5bf55a Stop the network interface after kernel is loaded but before starting it.
Not doing this caused packets to be read into memory somewhere after the
kernel was started but before the device was probed, normally in the
system page table. This gave quite unpredictable results...
1999-06-30 18:38:03 +00:00
ross 147f63da42 Add release targets, intended for use by the src/etc/Makefile `make release'. 1999-06-30 18:36:37 +00:00
ragge a406e5332c Clean up the boot command selection a bit. Add a command "halt". 1999-06-30 18:33:33 +00:00
ragge 3b8e9ab16d Support loading the kernel from ustarfs. 1999-06-30 18:30:42 +00:00
ross 1128e4c837 Add release targets, intended for use by the src/etc/Makefile `make release'. 1999-06-30 18:23:02 +00:00
ragge 04620b62b5 Search for include files in new locations. 1999-06-30 18:19:26 +00:00
ross cd2292889d Harmonize pathnames. 1999-06-30 18:14:26 +00:00
drochner 6d864c0914 add driver for the Bit3 PCI-VME adapter, without the DMA parts for now 1999-06-30 17:45:38 +00:00
fair 3a845702d7 A reference to http://members.hyperlink.net.au/~chart/pci.htm in comments;
this new effort at collecting PCI data outside the PCI SIG replaces the
one that was referenced in here before.

No regeneration required.
1999-06-30 16:52:52 +00:00
tsubai 654e155756 Display verbose messages about L2 cache. 1999-06-30 16:34:19 +00:00
drochner 33104934d9 update for new VME framework 1999-06-30 15:18:58 +00:00
drochner 83eb712e3c update for new VME framework 1999-06-30 15:07:45 +00:00
drochner 44418fdf70 new, more mi, VME framework 1999-06-30 15:06:05 +00:00
tsubai 09a05c8950 Add newsmips. 1999-06-30 13:53:49 +00:00
itojun 38347f727c s/getaddrinfo/get_addrinfo/, to avoid function name conflict with
library function getaddrinfo()
(is defined in RFC2553, will be somewhere in POSIX)
1999-06-30 12:27:34 +00:00
is b4d9cefaed Don't ask for permission to unlink a file if the access error is ETXTBSY.
This needs vfs_syscalls.c 1.138 to really work.
Fixes pr 4134 by Johan Danielsson.
1999-06-30 10:18:59 +00:00
is b4b3d042fd Only check for ETXTBSY if the access would otherwise be allowed.
Needed to fix pr4134.
1999-06-30 10:00:06 +00:00
augustss 9d466c7892 usbd is dead. And gone! 1999-06-30 06:56:11 +00:00
augustss aed7c5dbd9 usbd is dead. 1999-06-30 06:48:05 +00:00
augustss b177c7a397 Totally redo the way device detach is done. It now uses a kernel event
thread and the config detach method.
Squish a number of space leaks on detach.
1999-06-30 06:44:22 +00:00
augustss 895c141c35 Improve messages in case of error. 1999-06-30 06:23:28 +00:00
augustss dd048d428b Make it possible to detach wsmouse and wskbd.
XXX wskbd probably needs some more work.
1999-06-30 06:21:21 +00:00
nisimura b57c6ad0bc - _insque()/_remque() used by CODA. 1999-06-30 03:52:04 +00:00
chopps dc3a7247ce add multicast address like everyone else, using if_ioctl 1999-06-30 03:32:40 +00:00
wrstuden 1d74ac18fa Give fhopen, fhstat, and fhstatfs a man page. 1999-06-30 01:32:14 +00:00
fvdl 811a6162c3 Allow execution of shared objects. This is silly, but is allowed in,
for example, Solaris and Linux, and at least one Linux ldd implementation
even depends on it.
1999-06-29 23:39:06 +00:00
wrstuden a131b893fb Reflect libc version bump. 1999-06-29 22:31:32 +00:00
wrstuden db40a6d795 Bump version #. 1999-06-29 22:30:19 +00:00
wrstuden e401af6e26 Add fhopen, fhstat, and fhstatfs syscall stubs. 1999-06-29 22:22:06 +00:00
wrstuden 6e06666498 Add fhopen, fhstat, fhstatfs syscalls. Also move getfh in from the nfs
syscall code.
1999-06-29 22:18:47 +00:00
wrstuden a9e728797e regen. 1999-06-29 22:17:39 +00:00
wrstuden d55b282c54 Add fhopen, fhstat, fhstatfs. 1999-06-29 22:15:31 +00:00
ad aa5b341705 Kill duplicate RCS ID line at top of file. 1999-06-29 21:00:27 +00:00
is 0865691db0 Fix loop termination bug.
Won't try any longer to disklabel /dev/rdonec when exiting the
"look at disk label" loop (in md_prep_disklabel).
1999-06-29 20:32:54 +00:00
is a183cb63ae Fix horizontal timings for console mode (this helps, at least,
Lars Hecking).
1999-06-29 19:51:28 +00:00
mjl d278ba3869 Enlarge disk names in labels from 3 to 7 to cater for things like raid0. 1999-06-29 18:14:15 +00:00
ross ced3118f58 * sprintf -> snprintf
* add a few alpha_mb() ops as called for by folklore and rumour
1999-06-29 17:10:57 +00:00