Commit Graph

99252 Commits

Author SHA1 Message Date
thorpej
6b3c143231 Bump the OS version to 1.6C: socket buffer structure changed. 2002-07-03 19:11:41 +00:00
thorpej
0585ce1489 Make insertion of data into socket buffers O(C):
* Keep pointers to the first and last mbufs of the last record in the
  socket buffer.
* Use the sb_lastrecord pointer in the sbappend*() family of functions
  to avoid traversing the packet chain to find the last record.
* Add a new sbappend_stream() function for stream protocols which
  guarantee that there will never be more than one record in the
  socket buffer.  This function uses the sb_mbtail pointer to perform
  the data insertion.  Make TCP use sbappend_stream().

On a profiling run, this makes sbappend of a TCP transmission using
a 1M socket buffer go from 50% of the time to .02% of the time.

Thanks to Bill Sommerfeld and YAMAMOTO Takashi for their debugging
assistance!
2002-07-03 19:06:47 +00:00
pooka
ff89c16683 adapt for vis()/svis() check separation 2002-07-03 17:18:09 +00:00
pooka
2fcb6fa0a5 add check for HAVE_USER_FROM_UID 2002-07-03 17:17:35 +00:00
pooka
c695034447 work around FreeBSD defining user_from_uid() in stdlib.h 2002-07-03 17:17:04 +00:00
pooka
d8c01a3d2a Fine-grain checking somewhat:
* check for user_from_uid() in addition to pwcache_userdb()
* check for svis() in addition to vis()
2002-07-03 17:16:26 +00:00
msaitoh
37c7dda3e2 regen 2002-07-03 16:51:36 +00:00
msaitoh
e8a90d330f add ServerWorks CMIC LE, CMIC SL and CIOB-X2 2002-07-03 16:51:02 +00:00
itojun
412f69af85 re-enable ssh-keysign's sbit. sync w/openbsd 2002-07-03 14:23:49 +00:00
itojun
968294e218 >make ssh-keysign read /etc/ssh/ssh_config
>and exit if HostbasedAuthentication is disabled globally. based on discussions
>with deraadt, itojun and sommerfeld; ok itojun@

sync w/openbsd
2002-07-03 14:23:13 +00:00
pooka
d395d11df0 Add envp argument support to crunchgen.
Even though envp is not the POSIX way of crawling through the environment,
this will hopefully save someone from having to scratch their head
really hard with a crunched program using envp.

from henric@aimnet.com, via OpenBSD
2002-07-03 12:45:06 +00:00
tron
2bd3a8cf3c Use XFree86 4.x by default on i386 and x86_64.
This change was approved by Frank van der Linden.
2002-07-03 11:51:34 +00:00
wiz
1f4098eb40 Add it#8 to wsvt25. From Alan Barrett. 2002-07-03 11:41:39 +00:00
wiz
78ad51bec2 The function is called scale_menu, not scale_window.
Closes lib/17381.
2002-07-03 11:24:46 +00:00
yamt
e248a34ecb an example that uses DR0. 2002-07-03 11:05:20 +00:00
itojun
92ea28e291 >for compression=yes, we fallback to no-compression if the server does
>not support compression, vice versa for compression=no. ok mouring@
sync w/openbsd
2002-07-03 10:07:48 +00:00
itojun
673c1a7ac1 >use RSA_blinding_on() for rsa hostkeys (suggested by Bill Sommerfeld)
>in order to avoid a possible Kocher timing attack pointed out by Charles
>Hannum; ok provos@
2002-07-03 10:06:39 +00:00
itojun
c28e7ac1f6 correct signed/unsigned mixup; openbsd 2002-07-03 10:05:58 +00:00
itojun
15168e8feb typo. sync w/kame 2002-07-03 07:35:40 +00:00
simonb
c19a094675 Don't include <malloc.h> - no memory management style functions are use
in any of the MII drivers.
2002-07-03 06:25:49 +00:00
lukem
9073fc120d - Certain operations currently don't actually "fix" things, so
highlight this in the error message (as "[NOT FIXED]").
  idea from discussion with itojun
- Do NOT run  "cd /dev ; sh ./MAKEDEV all"  with "fix makedev".
  Just check/fix that /dev/MAKEDEV is up to date.
  I don't think that the former behaviour was appropriate, especially as
  part of a common "fix all" scenario.
2002-07-03 06:19:41 +00:00
yamt
05e18e3144 document KSTACK_CHECK_DR0. 2002-07-03 03:05:03 +00:00
yamt
7b17e9ce50 add KSTACK_CHECK_DR0. 2002-07-03 02:46:11 +00:00
yamt
a21aabfeb6 document KSTACK_CHECK_MAGIC. 2002-07-03 02:19:55 +00:00
enami
54a4e901f8 Introduce -q flag to print some information (like number of packets dropped
due to queue full) about software interrupt queues such as ipintrq.
2002-07-03 01:42:59 +00:00
enami
fa2d3031e1 The el option is an extention. 2002-07-03 01:27:23 +00:00
lukem
325dbd3d1b add reminder to check share/tmac/doc-common as well 2002-07-03 00:49:55 +00:00
soren
81abc60321 Sync SYNOPSIS and usage() with reality. 2002-07-02 21:34:18 +00:00
yamt
d96bff0e27 add KSTACK_CHECK_MAGIC. discussed on tech-kern. 2002-07-02 20:27:44 +00:00
wrstuden
a7f2b918d3 Fix cscope and mkid targets so that they work even when the kernel
compile directory is not under /usr/src/sys (i.e. when 'S' is not
'../../../..'). Pointed out by Robert Elz in PR 17384.

Thanks again to Andrew Brown for figuring out how to rip .depend apart.
2002-07-02 19:52:16 +00:00
yamt
d566a58b5e fix printf format for DEBUG_LFS. 2002-07-02 19:07:03 +00:00
drochner
8ae04c4b2c consider all ATI cards broken wrt font handling, as suggested by
Bang Jun-Young <junyoung@mogua.com>, but do it in way which allows
single cards to be declared O.K. in case we find one
2002-07-02 18:17:30 +00:00
mycroft
bae4a5b12e I was bored, so... simplify(?) this code a bit. 2002-07-02 17:18:21 +00:00
itojun
024d45a179 use sysctl(kern.urandom) if /dev/urandom is not present (like chroot jail) 2002-07-02 17:10:19 +00:00
itojun
0a9d2ad2d7 provide KERN_URND, which extracts sizeof(int) random number from the kernel
(similar to /dev/urandom, for use within chroot jail).
2002-07-02 17:06:17 +00:00
thorpej
11bb3d047b Avoid NULL pointer dereference. kern/17438, xs@kittenz.org. 2002-07-02 16:22:28 +00:00
thorpej
f055878614 Fix using poll(2) on systrace descriptors. 2002-07-02 16:16:33 +00:00
dbj
3c19b1f7e6 s/FOURTY/FORTY/ 2002-07-02 15:25:47 +00:00
matt
af8dc59949 Add AltiVec routines for save_vec/enable_vec/init_vec. 2002-07-02 15:22:47 +00:00
itohy
908bf86adc Check for /dev/clockctl availability and print appropriate diagnosis if not. 2002-07-02 14:47:22 +00:00
itojun
5092dd2653 wsdisplay needs wsevent.c. PR 17456 2002-07-02 12:59:39 +00:00
christos
cb57f0e9bb change the comparisons to account for the unsigness of the variables.
From Julio Merino.
2002-07-02 12:41:26 +00:00
agc
165c8874f2 Deprecate IS_INTERACTIVE, and explain INTERACTIVE_STAGE 2002-07-02 11:49:19 +00:00
itojun
5be887c6f1 build kernel with ramdisk attached. PR 16979 2002-07-02 04:14:36 +00:00
lukem
a4449882c6 - Change lexer to support numbers > 2^31-1 (stored in an off_t), and allow
RESTart to use the larger numbers.
  Fix from Maxim Konovalov <maxim@freebsd.org>
- Update version
- Minor whitespace changes
2002-07-02 02:18:01 +00:00
hubertf
d480af54fa fix typo (remove/remote) 2002-07-01 23:10:19 +00:00
thorpej
7ff40c446d Fix multicast filter programming. 2002-07-01 22:42:47 +00:00
itojun
a74fa420bb new CMU boilerplate (4th clause) 2002-07-01 22:20:51 +00:00
itojun
2a1f4932a0 new CMU boilerplate, from openbsd 2002-07-01 22:19:30 +00:00
itojun
fb05cd3dd3 new copyright boilerplate from CMU. from openbsd 2002-07-01 22:09:31 +00:00