kris
2ae2d8627d
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
33c96b009f
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
81f8d1df4f
Correct factor-of-10 error in INT_STRLEN_MAXIMUM() calculation.
2000-08-04 11:03:20 +00:00
kris
910d78b1f5
Correct string length bounds checking.
2000-08-04 10:53:37 +00:00
kris
6e733bdce9
Prevent TMPDIR overflow.
2000-08-04 10:50:21 +00:00
kris
efb065997b
sprintf() -> snprintf() paranoia.
2000-08-04 10:39:34 +00:00
kris
3f1752b9dc
Don't overflow the internal buffer in clnt_sperror()
2000-08-04 10:34:59 +00:00
kris
09df936816
sprintf -> snprintf paranoia
2000-08-04 10:23:42 +00:00
obrien
3c25c673ec
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
obrien
07961757d4
Virgin import of gdb-5.0
2000-08-04 09:35:05 +00:00
kris
4e7ee5ff5d
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
obrien
ab028d4b7f
These files are for an arch we don't care about.
2000-08-04 08:34:04 +00:00
obrien
9b94427a55
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
8174f128d6
Commented out xe device because it depend on PCMCIA stuff.
2000-08-04 08:29:50 +00:00
kato
3e35beccf8
Merged from sys/i386/isa/clock.c revision 1.155.
2000-08-04 08:15:45 +00:00
sheldonh
06273e7e66
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
msmith
a4b7e97951
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
0b697dfdc6
Prevent buffer overflows.
2000-08-04 06:25:30 +00:00
jhb
b9066bd4b2
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
jhb
0923c0673c
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
green
11f08cadc6
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
3da04b80da
Cleanup of TMPDIR code.
...
Requested by: bde (ages ago)
2000-08-03 23:44:43 +00:00
archie
be99417f31
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
af22f35f95
Change use of perror() to warn()
...
Submitted by: bde
2000-08-03 23:13:35 +00:00
imp
1064cb67b8
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
hsu
fac663d113
Make check for empty list in STAILQ_LAST() more readable.
2000-08-03 17:31:56 +00:00
hsu
5f2dd0da0d
Modify to use fixed STAILQ_LAST().
...
Reviewed by: dfr
2000-08-03 16:37:46 +00:00
hsu
5fdba512ea
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
dwmalone
f36f8d5bae
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
dwmalone
66d22fe285
specifer -> specifier
2000-08-03 15:33:39 +00:00
dwmalone
09a589b8f1
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
dwmalone
91c8cf2367
Replace two calls to strlen+calloc+strcpy with strdup.
...
Reviewed by: sheldonh
2000-08-03 15:12:06 +00:00
ru
d3ae9e37cd
Do not display icmp(4) sockets as non-existent bridge(4) sockets.
2000-08-03 14:53:41 +00:00
ru
50604c7621
Make netstat(1) to be aware of divert(4) sockets.
2000-08-03 14:09:52 +00:00
sanpei
cdd996ee9c
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
e773ca51d9
- Fixed %si (offset to partition table) in boot.
...
- Fixed comment.
2000-08-03 13:01:45 +00:00
jhb
d2d13e972c
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
jhb
e891ba5888
Fix the more obvious warnings to deal with my earlier warning cleanups.
2000-08-03 09:49:44 +00:00
jhb
e165b852de
Cleanup warnings. Most of these are signed/unsigned warnings, as well as
...
some added const's.
2000-08-03 09:14:02 +00:00
jhb
1f9890b495
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
jhb
04f2dc8e0b
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
obrien
ea5b5bab77
* Create entire directory path for modules.
...
* Don't ignore error returns.
2000-08-03 09:06:53 +00:00
kato
003617e886
- 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
sheldonh
14d2d4059b
Don't bitch when trying to create a ${DESTDIR}/modules which already
...
exists.
2000-08-03 08:24:42 +00:00
marcel
f7fe974d76
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
509680f8f3
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
mjacob
8d241d25cf
Add a comment as to where stdarg.h applies.
2000-08-03 03:05:50 +00:00
jkh
fae2a8c58e
Fix HTTP port addresses for the IPv6 case.
...
Submitted by: pho and Hajimu UMEMOTO
2000-08-03 02:51:45 +00:00
jhb
db236d95a5
Use <machine/stdarg.h> instead of <stdarg.h> so that this will compile.
...
While I'm at it, move the #include line up to the top of the file.
2000-08-03 02:47:06 +00:00
peter
36bd627297
Make the pfil.c code conditional on either option PFIL_HOOKS or IPFILTER.
...
The previous line was an AND. This change means you can compile in the
pfil_hook stuff and make it available for other users besides ipfilter.
2000-08-03 02:03:30 +00:00