Commit Graph

126593 Commits

Author SHA1 Message Date
hannken
f15d491175 Use PRIu64 to printf uint64_t. Compiles again on sparc64. 2004-04-22 10:17:00 +00:00
pk
4c005fd35b Mostly undo rev. 1.287: for modified pages a table walk must be forced on
the next write access to get the modified bit set in the PTE and that
won't happen if it hits the cache.
2004-04-22 10:14:58 +00:00
lukem
a63d7117f9 Add -h to decode RFC 1808 URI style encoding (VIS_HTTPSTYLE). 2004-04-22 06:55:15 +00:00
lukem
ee913daaf9 fix silly cut & paste error in -h description 2004-04-22 06:53:43 +00:00
lukem
a5bde8e7c5 Add -h to enable VIS_HTTPSTYLE.
Reorder getopt & usage strings to be alphabetical to match man page.
2004-04-22 06:35:02 +00:00
enami
0041584094 If defined(DP83820), (always) drop IFF_OACTIVE if we got txintr.
Otherwise, the driver simply stuck once we face tx resource shortage.
2004-04-22 06:11:38 +00:00
matt
633d902c65 Regen for statvfs changes. 2004-04-22 05:44:30 +00:00
atatat
d528f2f477 Some lint cleaning, strip leading (and sometimes trailing) whitespace
from values to be assigned when processing a file.  Clean up error
reporting (print the name of the file and the line number), and tidy
some numeric conversions.  Continue after most "errors" when
processing a -f argument.

Addresses PR bin/25115.
2004-04-22 03:56:31 +00:00
enami
45a4841ce9 Copy fsidx so that not to break binary compatibility of mountd etc. 2004-04-22 03:47:58 +00:00
atatat
b47992812a Move a type cast (wrt description handling) and do a little lint
cleaning.
2004-04-22 03:32:11 +00:00
tls
7eb2f214d5 Change the default state of two tunables; bring our TCP a little bit
closer to normal behaviour for the current century.

New Reno is now on by default (which is really the only reasonable
choice, since we don't do SACK); instead of an initial window of 1
for non-local nets, we now use Sally Floyd's magic 4K rule.
2004-04-22 02:19:39 +00:00
itojun
2a4c071a4f do not disclose endian/pid. henning@openbsd 2004-04-22 01:41:22 +00:00
itojun
56ae6a5d4c do not disclose endian. henning@openbsd 2004-04-22 01:39:20 +00:00
matt
e5dd03bf92 Eliminate space between function name and prototype. 2004-04-22 01:34:17 +00:00
matt
e50668c7fa Constify protosw arrays. This can reduce the kernel .data section by
over 4K (if all the network protocols) are loaded.
2004-04-22 01:01:40 +00:00
itojun
8bcb745d7c sprintf -> snprintf 2004-04-22 00:31:00 +00:00
itojun
aca4c091d3 sprintf -> snprintf 2004-04-22 00:17:10 +00:00
matt
fd2a977729 Add #include "opt_iso.h" if not already there.
Make these compile cleanly when TPCONS is defined.
2004-04-21 23:19:49 +00:00
matt
961e6cb2e5 Add multiple inclusion protection 2004-04-21 23:18:10 +00:00
matt
0b5d1218b5 Add TPCONS option 2004-04-21 23:16:53 +00:00
wiz
3b1edec30d Call -t argument fstypelist, to be in sync with code
and usage. Okayed by christos.
2004-04-21 22:31:16 +00:00
matt
4f9c0f6775 Add ${_MKTARGET_LINK} to the link step 2004-04-21 22:01:44 +00:00
kleink
8b6d4dd0ae Xref statvfs(5). 2004-04-21 21:25:59 +00:00
kleink
b7841c720d Xref statvfs(2). 2004-04-21 21:24:57 +00:00
kleink
c368e20f92 Add statvfs(5). 2004-04-21 21:24:01 +00:00
dsl
e5195da719 Copy the sysinst message files into the correct objdir at the same time
as copying the crunched program binary.
Fixes PR sparc64/25265
2004-04-21 21:19:51 +00:00
kleink
64a2a6f5d5 cat3/fgetstr.3 -> man3/fgetstr.3 2004-04-21 21:05:20 +00:00
matt
7cf8938ddd ANSI-fy and some additional de-__P and constification. 2004-04-21 21:03:43 +00:00
kleink
1f6fa1a655 Welcome libc.so.12.116! 2004-04-21 21:01:41 +00:00
matt
fde909e1a1 Add prototype for uiomove_frombuf. Change uiomove_frombuf to use size_t
for its length argument (to be the same as uiomove).  Remove code that
dealt with length being negative.
2004-04-21 20:31:50 +00:00
tv
5b799f00cc Hi there. I'm a stack-allocated array. I'm filled with garbage until
someone puts something useful in me, like zero bytes.

(Read:  Fix uninitialized array member access in pkg_add.  Bump to 20040421.)
2004-04-21 20:10:10 +00:00
christos
1d0fe2e424 Whitespace fixes, some code re-factoring, and a bit more verbose messages. 2004-04-21 19:35:13 +00:00
christos
ae0b00db5d Make options match reality and agree with the source.
Don't document -A; it is there for compatibility only, and we want to
deprecate its use.
2004-04-21 19:17:00 +00:00
itojun
d6c33e0ef5 kill a sprintf 2004-04-21 19:10:31 +00:00
christos
f29f4783da constification lossage (hi gimpy) 2004-04-21 19:01:17 +00:00
itojun
d2f1c029b9 kill sprintf, use snprintf 2004-04-21 18:40:37 +00:00
dbj
48019a3a47 simply logic and flow of check_part function 2004-04-21 18:27:26 +00:00
itojun
e133d13e80 kill some strcpy 2004-04-21 18:16:14 +00:00
cl
a01e0b0219 parse bootdev parameter for partition and set booted_partition accordingly 2004-04-21 18:06:51 +00:00
dbj
1b003e4b0c abstract superblock field reading into shell function 2004-04-21 18:06:06 +00:00
itojun
4c6511de84 avoid unbounded sprintf(), use snprintf() 2004-04-21 18:03:13 +00:00
itojun
0f06e31eb6 no space between function name and paren: foo (blah) -> foo(blah) 2004-04-21 17:49:46 +00:00
itojun
d66a0005a1 sprintf -> snprintf 2004-04-21 17:45:38 +00:00
drochner
c6bba42c07 initialize the lock 2004-04-21 17:38:48 +00:00
cl
ff6c26a333 - setup vfr rules when running as domain-0
- patch ethernet address if running as domain-0 so that arp can work

also include bpfilter.h to get NBPFILTER
2004-04-21 17:36:59 +00:00
dbj
115f147f20 add function for reporting verbose messages 2004-04-21 17:26:42 +00:00
dbj
496faa9025 tweak return value of check_part function 2004-04-21 17:07:47 +00:00
dbj
324ebbbef7 some minor shell programming tweaks recommended by christos
use [ -n ] instead of [ ! -z ]
use $() instead of ``
use just "$@" instead ${1+"$@"}
2004-04-21 17:02:41 +00:00
dbj
bbf17112c5 use shell constructs and cat instead of sed since
sed may not be available early in the rc.d sequence
2004-04-21 16:12:31 +00:00
christos
fced18d9f6 fix constification botch. (hi gimpy) 2004-04-21 15:51:22 +00:00