Commit Graph

50490 Commits

Author SHA1 Message Date
Sheldon Hearn
4d532a362e Close file descriptors after use so as not to abuse the descriptor
table when a long argument list is given. :-)

Reported by:	Sven Agnew <afterhours80@hotmail.com>
2000-07-23 13:24:01 +00:00
Jeroen Ruigrok van der Werven
4c27efd514 Add weak_mountd_authentication, which is examined in /etc/rc.network.
Setting this to YES instead of its default NO, causes mountd to be
passed the -n flag, which allow non-root users mount requests to be served.
2000-07-23 11:31:09 +00:00
Mark Murray
1e42415db0 Remove references to the (removed) kern.timecounter.method sysctl. 2000-07-23 11:12:59 +00:00
Mark Murray
c90a8fc9a5 Clean this up with some BDE-inspired fixes.
o Make the comments KNF-compliant.
o Use nanotime instead of getnanotime; the manpage lies about the
  kern.timecounter.method - it has been removed.
o Fix the ENTROPYSOURCE const permanently.
o Make variable names more consistent.
o Make function prototypes more consistent.

Some more needs to be done; to follow.
2000-07-23 11:08:16 +00:00
Sheldon Hearn
bf1a3264f7 Remove the awi(4) manual page from the sys/ hierarchy after a repo-
copy to share/man/man4 .  The file is still not connected to the
build from that directory either.
2000-07-23 09:40:39 +00:00
Brian Feldman
792e090234 Clarification (forced commit):
The immutability flag referred to in the previous revision is actually
VTEXT, not VEXEC.
2000-07-23 08:59:18 +00:00
Brian Feldman
25ead03462 Solve the problem where it is possible to get the kernel stuck in
a loop down in pmap_init_pt().  A subtraction causes the number of
pages to become negative, that was assigned to an unsigned variable,
and there is a lot of iteration.  The bug is due to the ELF image
activator not properly checking for its files being the correct size
as specified by the ELF header.

The solution is to check that the header doesn't ask for part of a
file when that part of the file doesn't exist.  Make sure to set
VEXEC at the proper times to make the executables immutable (remove
race conditions).  Also, the ELF format specifiies header entries
that allow embedding of other executables (hence how ld-elf.so.1
gets loaded, but not the same as loading shared libraries), so those
executables need to be set VEXEC, too, so they're immutable.

Reviewed by:	peter
2000-07-23 06:49:46 +00:00
Warner Losh
11c5444470 First attempt to fix a buildworld from -stable machine. Explicitly
include strtofflags.c from lib/libc/gen when building mtree until the
current dependency mess with mtree is fixed.
2000-07-23 06:15:54 +00:00
Nick Sayer
a19fdb8f27 apm -d also needs a writable file descriptor. 2000-07-23 04:49:43 +00:00
John Baldwin
484af50974 Oops, the moused disable option is now 6 instead of 4. Catch the menu text
up to this.

Submitted by:	Valeriy E. Ushakov <uwe@ptc.spbu.ru>
2000-07-23 03:45:18 +00:00
Marcel Moolenaar
a0982e9309 Don't save cp(1) in installworld. Its use has been replaced by
a use of install.
2000-07-23 00:20:56 +00:00
John W. De Boskey
b4a3a03827 Expand the -r option to support hex. Though undocumented, the -r
option already supported octal. Add a comment to the -r option
in the man page so it's a bit more specific.

Discrepancy brought to my attention by: sasdrq@unx.sas.com
Approved by:	jkh
2000-07-22 22:08:39 +00:00
Poul-Henning Kamp
3765820607 Add transmit buffer limitation depending on actual bandwidth.
Add unframed E1 mode.
Various cleanup.
2000-07-22 17:08:52 +00:00
Sheldon Hearn
8072ee08a9 Remove the reference to KERN_UPDATEINTERVAL and syncer(4), since
KERN_UPDATEINTERVAL can't be used to control sched_sync().  In
fact, there's no easy way to control the syncer with sysctls.

Reported by:	bde
2000-07-22 15:36:36 +00:00
Stefan Eßer
915198b41b Add overflow tests 2000-07-22 10:59:36 +00:00
Sheldon Hearn
abb15d867a Rework the FILES section to cover the list of common symbolic links
in the /dev directory.  Also cover this driver's quirky relationship
with the MAKEDEV script.
2000-07-22 10:23:06 +00:00
Brian Feldman
133099f36c Add the missing flags to ls(1)'s usage: -Bb. 2000-07-22 05:28:46 +00:00
Kazutaka YOKOTA
7ce6464adc This is yet another attempt to fix "psmintr out of sync.." problems.
- Properly protect the watchdog timer routine.
- Relocate the sync check statement so that we don't see too many
  error messages.
2000-07-22 04:08:12 +00:00
Jayanth Vijayaraghavan
e7f3269307 When a connection is being dropped due to a listen queue overflow,
delete the cloned route that is associated with the connection.
This does not exhaust the routing table memory when the system
is under a SYN flood attack. The route entry is not deleted if there
is any prior information cached in it.

Reviewed by: Peter Wemm,asmodai
2000-07-21 23:26:37 +00:00
John Baldwin
ddb820b015 Remove an unnecessary .PATH entry. 2000-07-21 22:36:42 +00:00
Jordan K. Hubbard
f038100c39 If ${BINDIR} is not present, create it before installing to it. 2000-07-21 21:32:13 +00:00
Jordan K. Hubbard
b0b1485813 Add a terminal entry for xterm; a lot of people are using xterms
in the serial-installation of FreeBSD.
2000-07-21 20:45:56 +00:00
Chris Costello
4977617679 Revert to 1.8. I misread the sentence and its context. 2000-07-21 20:18:50 +00:00
Chris Costello
c4619be2d5 Properly document %.0f behavior. 2000-07-21 20:04:58 +00:00
David E. O'Brien
f063845519 Blah, need to add /usr/bin to the path also.
Of course this is a bug in that the dhclient script will not work properly
if one has a local / and an NFS mounted /usr and needs to obtain its IP
address via DHCP before being able to mount /usr.
2000-07-21 19:08:22 +00:00
John Baldwin
b993bfc211 Add in the second half of the Slovenian FTP mirror entry. 2000-07-21 18:52:19 +00:00
John Baldwin
fe81981fdb Fix a really stupid bug where I assumed sizeof(int) == 2. This resulted in
MBR's with a 4th slice failing the signature check and fdisk saying that
they are invalid.

Submitted by:	bde
2000-07-21 18:26:20 +00:00
Andrey A. Chernov
0ce76c7dd0 Sync 2000-07-21 15:14:05 +00:00
Nick Sayer
edddbd723a Somehow the module makefile got missed in the big commit. 2000-07-21 15:09:25 +00:00
Sheldon Hearn
c023ba6ea6 Move the ef(4) manual page from sys/modules/if_ef to share/man/man4, as
discussed with bp.
2000-07-21 14:54:13 +00:00
Nick Sayer
e9e8de0698 Back out 1.15. It caused more harm than good. Something, however,
must be done to fix this situation.

Submitted by: bde
2000-07-21 14:49:09 +00:00
Andrey A. Chernov
949c2bcf27 cons: shorten "rs" again, syscons fixed 2000-07-21 14:31:44 +00:00
Andrey A. Chernov
4eea101fd5 Describe Reset 2000-07-21 14:28:08 +00:00
Andrey A. Chernov
6e424f2ea5 Make Reset (ESC c) reset attributes too, not only clear screen 2000-07-21 14:26:31 +00:00
Dag-Erling Smørgrav
32190ef51f Don't print summary in quiet mode. 2000-07-21 14:21:29 +00:00
Sheldon Hearn
75bc7bff6e Add a STANDARDS section to discourage the use of this utility
in environments where portability is a concern.
2000-07-21 13:05:15 +00:00
Dag-Erling Smørgrav
d939bf77d2 Don't display a running count in quiet mode.
Don't add the offset to the size; it's libfetch's job to report the correct
size of the requested file.
2000-07-21 11:08:03 +00:00
Dag-Erling Smørgrav
c78f1cc912 Ignore environment variables that are set but empty.
Sort out the size / length confusion.  Always try to report the *real* file
size in the url_stat structure, no matter how much of it is actually being
sent, and try to detect inconsistencies between sizes.

Rearrange the request loop to avoid having to add meaningless code just to
silence compiler warnings.

Switch to a more sensible and consistent interface for the _http_parse*()
functions.
2000-07-21 11:02:43 +00:00
Dag-Erling Smørgrav
e0a9ca38aa Document the proxy support better. 2000-07-21 10:57:15 +00:00
Sheldon Hearn
b601c69bdb Move the netgraph-related manual pages into share/man/man4/, as
discussed with archie.
2000-07-21 10:46:58 +00:00
Dag-Erling Smørgrav
dfe7c55fcc The decision to use an HTTP proxy for FTP documents belongs in the FTP code 2000-07-21 10:46:22 +00:00
Dag-Erling Smørgrav
2e88106bd1 Don't send port number to proxy unless it's not the standard FTP port 2000-07-21 10:25:33 +00:00
Sheldon Hearn
2cf2d5b177 Cosmetic:
Convert to one file per line in the MAN4 list.  This will make future
deltas easier to read.
2000-07-21 10:13:46 +00:00
Doug Rabson
678ef1b49e Call _thread_init() from pthread_once() if it has not already been called.
This fixes a segfault in some C++ programs which use exceptions before
main() has been called (i.e. from global constructors).

Reviewed by: deischen
2000-07-21 09:31:13 +00:00
Jordan K. Hubbard
a606bbf4c8 Remove a menu item that looks funky.
No donut for:	obrien
2000-07-21 06:50:14 +00:00
Jordan K. Hubbard
085e4099e9 Add slovenian FTP server to site list.
Requested by:	Blaz Zupan <blaz@amis.net>
2000-07-21 06:03:22 +00:00
Jason Evans
61e4108c41 Use _close() instead of close() in addrconfig() to keep it from becoming a
potential cancellation point in libc_r.
2000-07-21 04:22:39 +00:00
Andrey A. Chernov
941b8e0799 cons:
Simplify "rs" (\Ec will be fixed later in syscons, so this is intermedia step)
Remove "mh" - termcap must describe what device _actually_ have end left
emulation upon upper level program. "mh" is also conflicting with colors.
Don't remove "md" for mono consoles
dosansi:
Wrong "mh" -> good "mr"
2000-07-21 01:38:34 +00:00
Bill Paul
54358bfe2b Tweak probe message so that 1000baseSX and 1000baseT cards are
explicitly identified.
2000-07-20 23:43:45 +00:00
Bill Paul
50a7b4f564 Minor formatting tweak: compact the supported adapter list. 2000-07-20 22:41:26 +00:00