Commit Graph

82706 Commits

Author SHA1 Message Date
jdolecek 978d4eb77b remove no longer used variable
make 'osa' arg of linux_sa_get() const
2001-07-04 10:24:18 +00:00
jdolecek 8cbefdbb89 Do address family (AF_*) number translation for socket system calls which
pass socket address in our or out. This makes Linux programs using IPv6
working under emulation. This addresses kern/13279 by Jun-ichiro itojun Hagino.

Change sendmsg()/recvmsg() to expect the control information
to be passed the standard way (not 4.3BSD one, imlied by compat_43 code
or MSG_COMPAT). Linux uses different (arguably broken) CMSG_ALIGN() on some
architectures unfortunately, that would need to be handled eventually.

Also provide some other trivial stubs (like linux_sys_send()) to avoid
unneeded dependance on uipc_syscalls_43.c.
2001-07-04 10:09:24 +00:00
eeh 76159ce4fe Replace old bcopy with a much faster version. 2001-07-04 05:57:39 +00:00
eeh 64c6d98716 Disable slower VIS version. 2001-07-04 05:51:06 +00:00
eeh a6d4aabed4 Fix return value and fetches beyond the source range that could cause
segmentation faults in some cases.  And disable the VIS version which
seems to be slower.
2001-07-04 05:44:56 +00:00
itojun daddfe35da add Freenix 2000 paper on m_pulldown(9), by itojun. 2001-07-04 05:29:25 +00:00
itojun acd533ce9b some mdoc fix. mention openbsd revision in HISTORY 2001-07-04 05:13:18 +00:00
itojun 0fec95079e better support for multiple IPv4 addresses on a single interface.
- consider non-primary (2nd and beyond) IPv4 address as "local", and prevent
  outgoing ARP.
- for routing entries generated by ARP, make sure to set rt->rt_ifa equal to
  rt_key, to help IPv4 source address selection for traffic to myself.
PR 13311.

caveats/TODOs:
- interface routes ("connected routes" in cisco terminlogy) is tied with the
  primary (1st) IPv4 address on the interface.  should be fixed with updates
  to rt_ifinit().
- source address selection for offlink locations.  1st address tend to be used
  with the current code
  (you can configure it right by setting rt->rt_ifa accordingly).
2001-07-04 02:29:58 +00:00
lukem 89ea4732df add St -xns5.2d2.0 2001-07-03 22:05:11 +00:00
lukem 17c6a1082e doc2hmtl is broken for recursive Oo ... Oc at this time 2001-07-03 21:50:13 +00:00
bjh21 204fa6d2ef The only use of poduleirqhandler() was commented out, so remove it to
avoid confusion.
2001-07-03 20:47:23 +00:00
uch fd5708022c recompile (by VC6) 2001-07-03 20:40:07 +00:00
uch d9d3df290a reserve correct size of kernel symbol table. 2001-07-03 20:38:03 +00:00
gmcgarry b7960ea852 Introduce a subsection explaining how to dump the CIS table. 2001-07-03 20:26:23 +00:00
gmcgarry 4ea7eaf547 Document problems with the multifunction cards which don't actually
identify themselves as such.
2001-07-03 20:24:32 +00:00
christos 26dfd4a9a0 Fix bogus awk + sed combination to handle continuations and empty lines.
It broke a sequence of:

	key1 \
		value1 \
		value2 \
		value3 \


	key2 \
		value4 \


	etc.

Handle both the netgroup rule and the amd.home rule using a .USEBEFORE
macro rule, since they contain the same code.
XXX: Needs new make(1)
2001-07-03 18:15:06 +00:00
christos 147dd16dac add .USEBEFORE Attribute 2001-07-03 18:08:50 +00:00
scw 6d598bac6d Another instance of the MD siop driver which slipped the net... 2001-07-03 17:36:01 +00:00
hubertf 034d9c4079 Note that io.4 isn't available everywhere 2001-07-03 16:42:10 +00:00
hubertf f37e9b5004 Note that COMPAT_10 also affects /dev/io 2001-07-03 16:41:33 +00:00
hubertf b9c6994054 Some polishing, thanks to Klaus Klein for feedback! 2001-07-03 16:37:18 +00:00
chs 2f9d61f48e vm_offset_t -> [pv]addr_t. 2001-07-03 14:40:41 +00:00
itojun 7925bc6220 properl y check DES weak key. KAME PR 363 2001-07-03 14:29:45 +00:00
nathanw c45675aa2b The machine check error code is reliably located at an offset of 0x10
in the logout frame. Print it for all fatal machine checks on all
models.
2001-07-03 13:55:42 +00:00
soda cca727ab8c forgot to remove this, when arc/include/pci_machdep.h was added.
pointed out by Izumi TSUTSUI.
2001-07-03 11:26:50 +00:00
itojun a42562635c sync .Fl with reality 2001-07-03 08:52:00 +00:00
itojun d5b4c4a05d remove a #ifdef __OpenBSD__ segment. 2001-07-03 08:06:40 +00:00
itojun 193167b1eb call in{,6}_pcbpurgeif0() before in{,6}_purgeif(). 2001-07-03 08:06:19 +00:00
chs 640937fe85 change pmap_extract() to deal with unmapped addresses.
remove some unnecessary checks for unmanaged pages.
2001-07-03 07:34:27 +00:00
chs dcd6ab5a24 add coda_{get,put}pages so that mmap works. 2001-07-03 06:46:52 +00:00
chs 1e3003dad7 vm_offset_t -> [pv]addr_t.
implement pmap_k{enter_pa,remove}() correctly.
general cleanup.
2001-07-03 06:15:16 +00:00
chs a2dade9e8e move parts that are the same from vmparam3{,x}.h to vmparam.h. 2001-07-03 05:17:12 +00:00
enami 8b9f679d56 Adapt with recent md_root.c change; now you can put a root filesystem image
into separate file if boot loader allows.
2001-07-03 02:37:06 +00:00
christos 49fc99e479 print system processes as [procname] 2001-07-03 01:36:07 +00:00
bjh21 c6c9e5d915 Act as an entropy source for rnd(4). 2001-07-02 23:49:17 +00:00
bjh21 659b8ab115 Separate out netslot-specific code into its own file, so that one day we can
make it optional.
2001-07-02 23:18:34 +00:00
itojun ebdb9f12f3 typo (should we get rid of this portion? 2001-07-02 23:02:11 +00:00
hubertf ee9dee88b9 add i386/io manpage 2001-07-02 22:59:55 +00:00
hubertf 131020b62c Add a manpage for /dev/io, and tell people the True Way.
Most of the manpage is from FreeBSD - thanks guys! :)
2001-07-02 22:59:25 +00:00
jdolecek 0fe5bf8257 pipe sysctl stuff is now in <sys/pipe.h> 2001-07-02 20:55:16 +00:00
jdolecek 6a07acfe9c #include <sys/select> implicitly in !_KERNEL case 2001-07-02 20:54:26 +00:00
jdolecek 4dd8293a6d Move CTL_PIPE_NAMES and KERN_PIPE_* from <sys/sysctl.h> to <sys/pipe.h> 2001-07-02 20:48:31 +00:00
jdolecek 9f7b135e53 g/c PIPE_MOREW 2001-07-02 20:44:17 +00:00
jdolecek 12aa43b8b1 Don't try to be too smart about chunking - if the data size is bigger
than PIPE_CHUNK_SIZE, just transfer first PIPE_CHUNK_SIZE and return short
write, expecting the caller to call us again later (if they need). Previous
behaviour (besides being wrong for O_NONBLOCK reads) hung hbench under some
circumstances and other applications may have similar expectations as hbench.
This might also fix port-vax/13333 by Manuel Bowyer.

Other changes to pipe_direct_write() include:
* return short write (and success) on EOF if any data were already read;
  we return EPIPE on next write(2) call
* simplify error handling, actually handle uvm_loan() failure correctly,
  call pipe_loan_free() on error explicitly and only call uvm_unloan()
  if the address space was _not_ already freed by pipe_loan_free()
  Thanks Chuck Silvers for uvm_unloan() hints :)

Fallthough to common write in pipe_write() if pipe_direct_write()
returns ENOMEM, otherwise always break out immediatelly.
Use uvm_km_valloc_wait() instead uvm_km_valloc() in pipe_loan_alloc().
2001-07-02 20:43:39 +00:00
uch e9040f302e use MI md_root.c 2001-07-02 17:19:09 +00:00
uch fd2c055c01 add MEMORY_DISK_DYNAMIC option. if enable MEMORY_DISK_DYNAMIC, file
system image's address and size are setted by md_root_setconf().
2001-07-02 17:17:23 +00:00
joda b53f2df0b2 add AFS services, mostly from IANA 2001-07-02 16:07:04 +00:00
itojun 1ff38f4d03 on interface removal, remove multicast groups joined from pcb, before
removing interface addresses.  without the change, we may deref
NULL pointer in in_pcbpurgeif().  from jinmei@kame, sync with kame
2001-07-02 15:25:34 +00:00
fredette 17cc649043 Add sc(4). 2001-07-02 14:50:40 +00:00
tv b21858f304 Don't create gzipped versions of the install floppies. The floppy images are
not padded to disk-size boundaries (except for boot-big, for somewhat
unnecessary reasons), and the included kernel is already gzipped.  Adding
another round of gzip saves only tens of K, but creates a duplicate image,
wasting space on release media including these files.
2001-07-02 14:10:09 +00:00