Commit Graph

47577 Commits

Author SHA1 Message Date
mycroft ef50bbf452 Sync with libc. 1999-01-22 11:01:32 +00:00
mycroft da8a0f49c7 Whitespace fix. 1999-01-22 11:01:04 +00:00
mycroft 99355f3153 Use insbl to reduce by 1 instruction. 1999-01-22 10:59:18 +00:00
tsubai 438b781c46 Match "ata0". 1999-01-22 10:44:38 +00:00
mycroft 6b11ebb854 Sync with libc. 1999-01-22 09:17:47 +00:00
mycroft 8bf9a67c76 One instruction shorter, and returns the same 32-bit result. 1999-01-22 09:13:17 +00:00
msaitoh 1e215d9224 Add note about PID. 1999-01-22 09:12:48 +00:00
chs 0c2374e586 fix a precedence problem in uvm_mk_pcluster() which prevented
clustering of vnode pageouts.  this probably makes no difference
since most apps don't write via the pagecache anyway... yet.
1999-01-22 08:00:35 +00:00
chs 3bd133da7d no need to do locking in extext_destroy(). 1999-01-22 07:57:59 +00:00
chs 5819a5d0f4 fix an off-by-one space-waster in hashinit() and add some description. 1999-01-22 07:57:13 +00:00
chs 254ae63e2c avoid math on void *. 1999-01-22 07:55:49 +00:00
chs 33c042b6a2 print a little more info in simple_lock_freecheck(). 1999-01-22 07:55:17 +00:00
mark f6f7ac980d Fix bug in the initialization of the interrupt masks for shared
interrupts as described in PR6421. Fix from Richard Earnshaw.
1999-01-22 06:59:26 +00:00
sakamoto 7da2ee9edd Add vr driver. 1999-01-22 05:40:16 +00:00
sakamoto 57d82cd1f3 Change bootverbose 1 to 0.
Add vr_lookup.
1999-01-22 05:34:36 +00:00
lukem 727235938f update to show current defaults 1999-01-22 03:39:10 +00:00
lukem 02d5dba4bc netgroup default was more like "files [notfound=return] nis" 1999-01-22 03:27:56 +00:00
lukem a17402b37c pre nsswitch default was more like "files [notfound=return] nis" 1999-01-22 03:25:31 +00:00
thorpej dd2ecab580 Use syslog(3) to log debugging info, and only if we're compiled with
-DDEBUG.
1999-01-22 02:38:05 +00:00
thorpej 002a1e7cb7 Remove old access control list definitions, and remove the home-grown
logging code.
1999-01-22 02:37:00 +00:00
thorpej c87c1f135c Throw out the old ypserv access control list code. Instead, use libwrap
for access control.  Add a -l option, to enable logging of all requests.
Also, just use syslog(3) for all logging, not home-grown logging code.
1999-01-22 02:36:12 +00:00
mycroft 434ecb8754 Fix the serial number. 1999-01-22 01:44:22 +00:00
mycroft 09e3c8fe87 Make the default named configuration more ... sane. 1999-01-22 01:41:19 +00:00
christos 1bdb52515d - Make the pad field machine dependent (argh!)
- Add protototypes for the mi and md get/setcontext functions.
1999-01-21 23:22:35 +00:00
christos b52c37957d Handle the mi portion of the *context system call here. Changes from previous
version:
1. The stack_t returned before was SS_DISABLED; now we enable the stack
   and return a 16K stack which is 16K under the current stack pointer.
   This seems to be what solaris does.
2. Preserve uc_link.
1999-01-21 23:20:43 +00:00
christos 1ac6ce917e Add prototype for svr4_sendsig. 1999-01-21 23:17:19 +00:00
christos e6f6898376 Include the right headers to find svr4_sendsig. 1999-01-21 23:16:43 +00:00
christos a949e5fdb5 Add p_ctxlink void * member to keep the struct ucontext uc_link member,
used in svr4 emulation.
1999-01-21 23:12:50 +00:00
christos 28b4668c17 Move prototypes to mi code; add MD constant for padding 1999-01-21 23:11:45 +00:00
thorpej d0ca88ef29 Document the netgroup default of files nis. 1999-01-21 23:08:16 +00:00
christos 4384281c67 move the mi context setting code out of here. 1999-01-21 23:07:20 +00:00
christos 6d70af37f7 move prototypes to mi locations and add the xrs gunk. 1999-01-21 23:06:25 +00:00
christos 64df2f4fd8 Remove old prototypes (move to mi code), and add the xrs gunk! 1999-01-21 23:05:14 +00:00
christos 6c559acb65 Move machine independent stuff out of here. 1999-01-21 23:03:10 +00:00
christos 0b836e1a7b move the machine independent portion out of the context functions. 1999-01-21 22:58:57 +00:00
christos 4e3e5d021d Avoid void * arithm in a debugging printf, and remove extraneous void *
casts.
1999-01-21 22:58:11 +00:00
thorpej 45863a505b Fix two problems with the recent nsswitch changes to netgroups:
- The historic mode for netgroups was "files nis".  Change the default to
  this for when /etc/nsswitch.conf does not exist.
- The nis lookup dispatch was mistakenly conditional on -DHESIOD, not -DYP.
1999-01-21 22:21:13 +00:00
mycroft 808496666c Do remove sockets on so_q0, since select(2) and accept(2) do not (currently?)
return them.
1999-01-21 22:09:10 +00:00
christos 198f0a3f56 Fix initialization of resource limits for number of files and number
of processes:
- Don't initialize rlim_max to RLIM_INFINITY. The limits for those should
  be maxfiles and maxproc respectively. Programs expect getrlimit to
  return reasonable values, so that they can allocate structures (for
  example jdk does this).
- Don't initialize rlim_cur to NOFILE and MAXUPRC respectively, but to
  min(NOFILE, maxfiles) and min(MAXUPRC, maxproc) respectively.
1999-01-21 14:50:41 +00:00
simonb 76764712c1 Round one of the Makefile clean up:
+ dependency on libsa works
 + set and use BINDIR/BINMODE
 + don't pull in sys/lib/lib{sa,kern}/Makefile.inc (``make clean''
   doesn't make empty lib/{sa,kern} directories in each
   directory/obj dir).
 + remove unnecessary targets, variables and other cruft
 + wrap lines at 80 chars

Re-ordering SRCS line in libsa/Makefile to a more logical sequence
(alphabetical by source dir) results in a libsa.a with archive members
in a different order, and a resultant bootrz that differs from the 1.3.3
bootrz.  Untested as yet, so left in but commented out.

Also, _don't_ install the bootblocks (as per intent of previous commit)
or our own small libsa(!).
1999-01-21 14:16:52 +00:00
pk 74098ab84e Lennart Augustsson's multi-valued locator code. 1999-01-21 13:10:08 +00:00
simonb ab18b23eba Add dkcksum.c (pulled in from libsa) and remove local copy of
disklabel.c (with it's own copy of the same dkcksum routine).  Output
code still identical.
1999-01-21 12:43:11 +00:00
mycroft 4171e335d6 Use the right map for Hesiod lookups by uid. 1999-01-21 12:42:06 +00:00
mycroft d9729a5fd6 Use class IN. (In current Athena code, this is configurable.) 1999-01-21 12:40:07 +00:00
simonb 6c2628b5d0 Almost working bootblocks for the pmax. This compiles fine with gcc
2.7.2.2-myc2 (and produces _identical_ bootblocks with the 1.3.3
bootblocks which weren't in the tree), but egcs 1.1.1 builds a ufs.o
that's about a 100 bytes too big, and it busts the 7.5k we've got for
bootrz.

Still needs cleanup - the Makefiles could be better/cleaner, and doesn't
install yet (because of above problem).  At least there's something to
work with now.

Note that we have our own versions of a lot of the sys/lib/libsa
routines which are less functional/smaller.
1999-01-21 12:33:39 +00:00
sakamoto 02bb7a4233 Add VIA Rhine/Rhine II Fast Ethernet files. 1999-01-21 12:02:00 +00:00
sakamoto 4f99746d57 Add NetBSD autoconfiguration support.
KNF.
1999-01-21 12:00:25 +00:00
pk 832bb22922 Enable non-cylinder-aligned partition warning on sparc[64] & sun3.
See also PR#6853.
1999-01-21 11:58:00 +00:00
sakamoto bea8f807a7 Import FreeBSD's VIA Rhine fast ethernet PCI NIC driver
written by Bill Paul <wpaul@ctr.columbia.edu>.
1999-01-21 11:55:22 +00:00
bouyer d86a570eac Add a mitsumi CD that can't handle REQUEST SENSE command. From
Johan Danielsson <joda@pdc.kth.se>.
1999-01-21 10:31:39 +00:00