Commit Graph

55328 Commits

Author SHA1 Message Date
christos b58be766cb add rcmd; there are no other tools that let the user remotely execute
commands.
1999-09-07 06:54:21 +00:00
itojun 22dc13ab4a improve description on ipcomp case. (sync'ed with kAME) 1999-09-07 06:49:37 +00:00
christos ffdf7a5fe8 regen 1999-09-07 06:25:14 +00:00
christos c7897366b5 preliminary lwp support; currently staroffice breaks because set_ldt emulation
is borken, not because of threads problems.
1999-09-07 06:24:56 +00:00
jwise 75eb9e11a9 Slight improvement to last fix: don't need to reset the cpp tempfile for
files which don't need to be run through cpp.  Also, use vfork() instead of
fork().

Both from Anders Hjalmarsson (Anders.Hjalmarsson@economics.gu.se)
1999-09-07 02:36:57 +00:00
soren a4b7a96e0e Do not complain in sbfind() if another driver has mapped the registers. 1999-09-07 00:49:41 +00:00
soren b49886ea7a Update usage().
Prevent buffer overflows when configuring boot selector.
Cycle through partitions when entering boot names.
Use '<UNUSED>' consistently.

Reviewed by: fvdl
1999-09-06 23:58:59 +00:00
sommerfeld 75397663ed Correct precision estimate:
we buzzloop calling gettimeofday() until we see a big jump.
old code would take the difference between the immediately previous return value.
Now, compute the difference based on the clock value as of right
after the previous big jump.

An alpha pc164 at 500MHz can do about 700 calls to gettimeofday() in
one clock tick, each of which increments tv_usec by 1 -- so the "big
jump" at the end is only ~270us rather than the real clock tick of
976us, which yields a precision value which is overoptimistic by a
factor of ~4.  The corrected code now yields the exact tick value
(which is correct since NetBSD/alpha doesn't have a precise
microtime).
1999-09-06 22:27:44 +00:00
kleink aa6fca1b7e Bump NL_TEXTMAX to 2048 (== _POSIX2_LINE_MAX, which is the minimum value
required by XSH5.)
1999-09-06 22:20:50 +00:00
sommerfeld 1381ef0ce0 When peers are configured "remotely" (by ntp_intres.c), don't start
more than one per timer tick.  this will hopefully cause faster
convergence since the responses are less likely to pile up on top of
each other.  (they'll eventually get randomized out of synch with each
other, but there's no sense in starting them off synchronized).
1999-09-06 21:58:45 +00:00
sommerfeld 745de28592 Patch time_precision so we report a realistic NTP "precision" value to userland. 1999-09-06 21:54:17 +00:00
is 33014f7bb0 Switch to cacheops. This closes PR 1960. 1999-09-06 21:50:47 +00:00
kleink 3b9e70a904 Pasto in previous; noticed by Perry. 1999-09-06 21:50:39 +00:00
sommerfeld c450ebbbe7 If using kernel PLL (for NTP), initialize "fixtick" to a reasonable
approximation of reality if the MD code doesn't.  This variable is the
equivalent of "tickfix" for the non-NTP path.

This allows an alpha kernel (where hz=1024) with "options NTP" to
synch up quite nicely (as opposed to having an frequency error of
~560ppm, which is outside the capture range of the PLL).
1999-09-06 20:44:02 +00:00
perry 571b8b6e41 RCSId Police. 1999-09-06 20:28:19 +00:00
perry 2c86c41d19 Add micro-minimal "wsvt25" and "wsvt25m" entries. We should probably
discuss what these should *really* look like, customize them tightly
for wscons, and then send them off to Eric Raymond for inclusion in
the master file.
1999-09-06 20:23:36 +00:00
ragge fe8a330be5 Styr upp deklarationen av clockchippsparametrarna. 1999-09-06 19:52:52 +00:00
christos 0e578b8b02 make sure that we don't try to allocate negative memory when blks == 0. 1999-09-06 19:52:28 +00:00
chs d1638a0354 sync with libc:
use RODATA() instead of ENTRY() for __ffstab so that it works when profiling.
1999-09-06 19:01:04 +00:00
chs f70d067294 use RODATA() instead of ENTRY() for __ffstab so that it works when profiling. 1999-09-06 19:00:24 +00:00
itojun 8a0d5201d1 use sysctl -n to get numeric result, not awk. 1999-09-06 18:52:33 +00:00
rh 12bad24883 Add opl at wss for isapnp devices w/o MAD chip. 1999-09-06 18:31:45 +00:00
augustss 6e6d511cf0 Add USUBCLASS_MIDISTREAM definition, per request from MAEKAWA Masahide
<bishop@rr.iij4u.or.jp>.
1999-09-06 17:16:47 +00:00
rh ff962e992b Add mode 3 support for newer CS423X chips. Modify probe to correctly
distinguish between CS4236, CS4236B, and CS4237B.
1999-09-06 17:07:04 +00:00
jdolecek 16cafff36c Adapt to cache_lookup() changes (forgot to commit it yesterday) 1999-09-06 10:10:05 +00:00
kleink 4fe72c2fe5 Use NL_TEXTMAX to size the buffer passed to regerror(). 1999-09-06 09:37:29 +00:00
is ee1ce1c15e Don't truncate minor numbers >= 256.
Problem reported by Saitoh Masanobu, fix by Frank van der Linden.
1999-09-06 09:27:18 +00:00
jwise 6c0498c892 Apply fix from PR bin/8328 by Anders Hjalmarsson (Anders.Hjalmarsson@economics.gu.se):
work properly again when passwd multiple files on the command line.
1999-09-06 06:45:20 +00:00
itojun 1f293daeb9 fix getaddrinfo() loop.
Approved by: seirios@iri.co.jp (submitter of IPv6 whois patch)
1999-09-06 06:23:08 +00:00
simonb 1484ad8872 In the command table, remove a trailing comma and make white space
consistant.
1999-09-06 06:01:44 +00:00
hubertf abda8d9447 Allow hardlinks to symlinks.
Reviewed by: Bill Studenmund, Klaus Klein
1999-09-05 23:34:39 +00:00
augustss 2425433ff6 Change some printf to DPRINTF for consistency. From Nick Hibma, FreeBSD. 1999-09-05 21:22:38 +00:00
augustss 24251055bc Change the way the `struct device' base part of all driver softc are
declared and accessed to make it more portable.  Idea from Nick Hibma, FreeBSD.
No functional changes.
1999-09-05 19:32:18 +00:00
mycroft 6cbab8a473 Add `gif' and `faith' to the ignored pseudo-devices. 1999-09-05 16:33:03 +00:00
kleink 89e0b77a2f Initialize locale on startup. 1999-09-05 16:14:43 +00:00
perry 4220708c27 We already had logic not to try to grab the disklabels of md's and
fd's -- add cd's to the list.
1999-09-05 15:11:42 +00:00
jdolecek 2ac419a152 Adapt to cache_lookup() changes.
XXX I had no chance to actually test the changes for nfs, but hopefully I got
it right.

Tested by: jdolecek
Rewieved by: wrstuden
1999-09-05 14:28:26 +00:00
jdolecek 7dfaa17700 Adapt to cache_lookup() changes.
Tested by: jdolecek
Rewieved by: wrstuden
1999-09-05 14:26:32 +00:00
jdolecek 026b142488 Change cache_lookup() as per discussion on tech-kern & ICB:
If the entry is found in name cache, cache_lookup() does all the
necessary locking now, simplifying the interface and making the
code easier to follow and maintain.

The code now also removes the entry from cache when it's either invalid
(vget() fails) or the vnode has been recycled while waiting for the lock.
In that case, unlock/relock of the directory vnode has been eliminated too.
Both changes could lead to sligh performace improvement in same cases.

Furthermore, obscure bug has been found and eliminated for ISDOTDOT in the
lockparent && ISLASTCN case: if the vget() succeded and the re-lock
of the directory vnode not, we returned the error with the '..' vnode still
locked.

For simplicity, cache_lookup() now returns 0 if the positive entry was found
in cache, -1 if not found and ENOENT or error returned by the locking
functions in any other case.

Many thanks to Bill Studenmund and especially Charles Hannum
for invaluable advices and code to get this right.

Tested by: jdolecek
Rewieved by: wrstuden, mycroft
1999-09-05 14:22:34 +00:00
jdolecek 1a0dc06af2 argh, forgot to add the implementation of ntfs_u28() 1999-09-05 12:30:56 +00:00
jdolecek dd0b9ad4e0 s/ntfs exportable/ntfs nfs exportable 1999-09-05 12:17:22 +00:00
simonb a17eb29d7c Remove a few unnecessary header files. 1999-09-05 11:34:29 +00:00
jdolecek 0ba29f45c8 one less: ntfs_read(), ntfs_write() don't use any temporary buffer anymore,
the uio struct is passed to appropriate *attr*() functions
1999-09-05 11:19:01 +00:00
jdolecek 6f7dc58140 ntfs_read(), ntfs_write(): pass the uio struct to appropriate read/write
routines - avoids potential DoS attack and closes an easy way to force
	the kernel to panic
	* for read(), DTRT WRT offset bigger than file size
ntfs_strategy(): adapt to ntfs_readattr() change
ntfs_readdir(): use ntfs_u28() to translate the file name characters
	to 8bit encoding, avoid excessive intendation, reformat the
	debug messages slightly
1999-09-05 11:09:03 +00:00
jdolecek a2fff20b0d properly end the comment with NetBSD RCS id 1999-09-05 10:57:01 +00:00
jdolecek d0409b449d adapt to ntfs_readattr() change: pass NULL as the struct uio * parameter 1999-09-05 10:45:03 +00:00
kleink 65f6a76c52 Xref nl_langinfo(3). 1999-09-05 09:19:35 +00:00
kleink a7e5956b53 Don't require inclusion of <nl_types.h>. 1999-09-05 09:18:11 +00:00
kleink 26d78db13f Pull in <nl_types.h>, as suggested by XSH5. 1999-09-05 09:17:14 +00:00
veego c613f31161 Add the doc subdir again. 1999-09-05 08:36:54 +00:00