Ruslan Ermilov
6c388e8448
src/Makefile.inc1 sets DESTDIR=${WORLDTMP} for `buildworld' stage
...
causing pre-processed manual pages, like terminfo(5), to point to
the temporary build tree.
2000-08-04 15:38:32 +00:00
Ruslan Ermilov
13fa4c5e31
Make natd(8) "compatible" with firewall_type="simple".
...
PR: conf/13769, conf/20197
2000-08-04 14:02:11 +00:00
Kris Kennaway
9c9c8212ca
Return an error instead of overflowing the buffer in the case of a long
...
$HOME in ruserpass()
2000-08-04 11:15:48 +00:00
Kris Kennaway
63c21920f9
Calculate the string length of a u_long at compile-time, instead of using a
...
hardcoded value.
2000-08-04 11:07:57 +00:00
Kris Kennaway
dec5f6ac42
Correct factor-of-10 error in INT_STRLEN_MAXIMUM() calculation.
2000-08-04 11:03:20 +00:00
Kris Kennaway
683544bd3e
Correct string length bounds checking.
2000-08-04 10:53:37 +00:00
Kris Kennaway
099d883225
Prevent TMPDIR overflow.
2000-08-04 10:50:21 +00:00
Kris Kennaway
769ec4a81a
sprintf() -> snprintf() paranoia.
2000-08-04 10:39:34 +00:00
Kris Kennaway
f1c418cfd4
Don't overflow the internal buffer in clnt_sperror()
2000-08-04 10:34:59 +00:00
Kris Kennaway
8f6d480067
sprintf -> snprintf paranoia
2000-08-04 10:23:42 +00:00
David E. O'Brien
48a0f0c81a
This commit was generated by cvs2svn to compensate for changes in r64234,
...
which included commits to RCS files with non-trunk default branches.
2000-08-04 09:35:05 +00:00
David E. O'Brien
6bb613ded9
Virgin import of gdb-5.0
2000-08-04 09:35:05 +00:00
Kris Kennaway
ba3c0383aa
Limit the amount of data copied to the error buffer to _POSIX2_LINE_MAX.
...
This is the documented size which the user-provided buffer must be.
2000-08-04 09:23:07 +00:00
David E. O'Brien
3378439583
These files are for an arch we don't care about.
2000-08-04 08:34:04 +00:00
David E. O'Brien
2111e67c80
Fix this so it is a Makefile and not a shell script -- now issuing `make'
...
a second time does not rebuild the binary.
2000-08-04 08:30:00 +00:00
KATO Takenori
a2c06ee095
Commented out xe device because it depend on PCMCIA stuff.
2000-08-04 08:29:50 +00:00
KATO Takenori
c1e8fc20ac
Merged from sys/i386/isa/clock.c revision 1.155.
2000-08-04 08:15:45 +00:00
Sheldon Hearn
e62d73a2a1
Merge the truncate(1) utility onto the RELENG_4 branch and adjust
...
the HISTORY section to reflect the first release of FreeBSD in
which this utility will appear.
2000-08-04 08:05:52 +00:00
Mike Smith
786cd128a8
Add support for 2.x/3.x firmware adapters which are too old to have a
...
memory-mapped register window. This closes the last known issue with
2.x vintage adapters.
2000-08-04 06:52:00 +00:00
Kris Kennaway
cd79a42a80
Prevent buffer overflows.
2000-08-04 06:25:30 +00:00
John Baldwin
2efeedfd4b
Fix some of the arcdisk devsw functions to catch up with warning fixes in
...
<stand.h>. Also, since bcache_strategy() used to not have a prototype,
arcdisk happily called bcache_strategy() with 6 parameters instead of 7,
leaving out the disk unit number, which is the 2nd parameter. Add in the
unit number to the bcache_strategy() call to fix this.
2000-08-04 05:25:36 +00:00
John Baldwin
00dc3782f7
Bring back the perform() function. However, conditionionalize it on
...
BOOT_FORTH as it is only used if BOOT_FORTH is not defined.
2000-08-04 05:23:41 +00:00
Brian Feldman
314844b39a
Unbreak the OpenSSL headers for those of us who don't/can't use IDEA by
...
getting rid of the check for NO_IDEA (in evp.h) completely if it's
installed without MAKE_IDEA=YES.
2000-08-04 04:25:59 +00:00
Kris Kennaway
f8c5da6157
Cleanup of TMPDIR code.
...
Requested by: bde (ages ago)
2000-08-03 23:44:43 +00:00
Archie Cobbs
7734ea0612
Improve performance in the case where ip_output() returns an error.
...
When this happens, we know for sure that the packet data was not
received by the peer. Therefore, back out any advancing of the
transmit sequence number so that we send the same data the next
time we transmit a packet, avoiding a guaranteed missed packet and
its resulting TCP transmit slowdown.
In most systems ip_output() probably never returns an error, and
so this problem is never seen. However, it is more likely to occur
with device drivers having short output queues (causing ENOBUFS to
be returned when they are full), not to mention low memory situations.
Moreover, because of this problem writers of slow devices were
required to make an unfortunate choice between (a) having a relatively
short output queue (with low latency but low TCP bandwidth because
of this problem) or (b) a long output queue (with high latency and
high TCP bandwidth). In my particular application (ISDN) it took
an output queue equal to ~5 seconds of transmission to avoid ENOBUFS.
A more reasonable output queue of 0.5 seconds resulted in only about
50% TCP throughput. With this patch full throughput was restored in
the latter case.
Reviewed by: freebsd-net
2000-08-03 23:23:36 +00:00
Kris Kennaway
b088fe8c8f
Change use of perror() to warn()
...
Submitted by: bde
2000-08-03 23:13:35 +00:00
Warner Losh
116c1d9d81
Merge from GENERIC. Mostly reenable some devices and add SOFTUPDATES
...
and RANDOMDEV to the list. STill need to do more merging, but for now
things are better.
2000-08-03 21:51:03 +00:00
Jeffrey Hsu
775304e896
Make check for empty list in STAILQ_LAST() more readable.
2000-08-03 17:31:56 +00:00
Jeffrey Hsu
51b86781c0
Modify to use fixed STAILQ_LAST().
...
Reviewed by: dfr
2000-08-03 16:37:46 +00:00
Jeffrey Hsu
5434d3f744
Restore STAILQ_LAST() semantics to match that of TAILQ_LAST()
...
and CIRCLEQ_LAST(). Return the last element instead of a pointer
to the next field of the last element.
Reviewed by: dfr
2000-08-03 16:36:40 +00:00
David Malone
1b65d153ee
Explain "-c" option more exactly and state the default in the man
...
page.
Add ability to run "inetd -R 0" to disable the default connection
per minute limit of 256 connections. Document this in man page.
Don't use maxchild as a boolean - instead check if it is greater
than zero.
Reviewed by: sheldonh
Based on a patch by: Alexander Langer <alex@big.endian.de>
2000-08-03 15:45:38 +00:00
David Malone
2968046ea1
specifer -> specifier
2000-08-03 15:33:39 +00:00
David Malone
23e726a0d8
Sort cases in getopt switch statement.
...
Remove extra parens from my host selection commit.
Add white space after if, while, for and switch.
Get rid of braces around a single statement if.
There should be no functional changes in this commit.
Reviewed by: sheldonh
2000-08-03 15:19:27 +00:00
David Malone
3b2084258c
Replace two calls to strlen+calloc+strcpy with strdup.
...
Reviewed by: sheldonh
2000-08-03 15:12:06 +00:00
Ruslan Ermilov
61793a0c8b
Do not display icmp(4) sockets as non-existent bridge(4) sockets.
2000-08-03 14:53:41 +00:00
Ruslan Ermilov
cec335f937
Make netstat(1) to be aware of divert(4) sockets.
2000-08-03 14:09:52 +00:00
MIHIRA Sanpei Yoshiro
e52508ae0b
Add the ESS Solo-1 to generic chip match.
...
Solo-1 Datasheet(vendor/device info at P.33)
http://www.alsa-project.org/alsa/ftp/manuals/ess/DsSolo1.pdf
2000-08-03 13:46:52 +00:00
KATO Takenori
aa4e20f5bd
- Fixed %si (offset to partition table) in boot.
...
- Fixed comment.
2000-08-03 13:01:45 +00:00
John Baldwin
3057c28f04
Forced commit to note that actually, the last commit to this file was not
...
warning fixes, but rather it made pre-existing compile-time knobs tweakable
via make variables. It also documented the options.
2000-08-03 10:24:54 +00:00
John Baldwin
eb37712079
Fix the more obvious warnings to deal with my earlier warning cleanups.
2000-08-03 09:49:44 +00:00
John Baldwin
4ae4202e70
Cleanup warnings. Most of these are signed/unsigned warnings, as well as
...
some added const's.
2000-08-03 09:14:02 +00:00
John Baldwin
c2fa9f3e89
Fix several BDECFLAGS warnings. Also, actually use the 'verbose' parameter
...
for lsdev when printing out slice information. Now, you only get the
sizes and LBA's of slices if you use 'lsdev -v'.
2000-08-03 09:09:49 +00:00
John Baldwin
13ba80d4ce
Cleanup warnings by adding missint prototypes, removing unneeded duplicate
...
prototypes, and adding in several 'const's. Also, add some missing
$FreeBSD$'s.
Found by: BDECFLAGS
2000-08-03 09:08:29 +00:00
David E. O'Brien
92a4949b42
* Create entire directory path for modules.
...
* Don't ignore error returns.
2000-08-03 09:06:53 +00:00
KATO Takenori
1ee980919d
- Fixed pointer to the partition table in the buffer.
...
- Use shift by %cl instead of five shifts by 1.
2000-08-03 09:00:19 +00:00
Sheldon Hearn
1445fdb0f5
Don't bitch when trying to create a ${DESTDIR}/modules which already
...
exists.
2000-08-03 08:24:42 +00:00
Marcel Moolenaar
f7ff24ef81
Fix buildkernel and installkernel when KERNEL is defined in
...
/etc/make.conf.
PR: 20325
Submitted by: Johan Karlsson <k@numeri.campus.luth.se>
2000-08-03 05:52:22 +00:00
Kris Kennaway
283cfe50ae
Install the openssl(1) manpage with an MLINK from ssl(8) to at least put
...
something in the location where OpenSSH likes to point.
2000-08-03 05:29:04 +00:00
Matt Jacob
3ea883b46d
Add a comment as to where stdarg.h applies.
2000-08-03 03:05:50 +00:00
Jordan K. Hubbard
efbfff9480
Fix HTTP port addresses for the IPv6 case.
...
Submitted by: pho and Hajimu UMEMOTO
2000-08-03 02:51:45 +00:00