Commit Graph

31001 Commits

Author SHA1 Message Date
brian
ca7940c1ce Fix some OpenBSD/alpha warnings 1998-08-26 18:07:57 +00:00
brian
ee2bb826f4 Remove redundant include file. 1998-08-26 17:39:38 +00:00
brian
84cbea149e Put the IP buffer queues into struct ipcp.
Forgotten by: me
1998-08-26 17:39:37 +00:00
brian
23c9a59baa The protocol must be in network byte order (OpenBSD only). 1998-08-26 17:39:35 +00:00
gpalmer
5df13ac7ed Delete trailing space that may have caused problems 1998-08-26 12:41:11 +00:00
sos
29a72ddde6 Add OVERRIDE_CARD to the bktr options list 1998-08-26 12:13:39 +00:00
gpalmer
62b93a9eb6 Move kdump & ktrace out of i386 specific section. 1998-08-26 10:03:28 +00:00
imp
20ed751249 o renable pccard_remove_driver (it was used in the skel.c driver)
o update skel.c to lots of stuff that has happened since the last time
  it was updated.
1998-08-26 07:09:58 +00:00
dillon
fe8d4d9be6 priority comparison in maybe_resched() didn't work properly if current
and chk process were on different scheduler queues.  Fixed.
1998-08-26 05:27:42 +00:00
jkoshy
9c450dc29d Remove identity crisis in ispcvt(8) man page. Include reference to
ispcvt(8) in pcvt(4).

PR: docs/7743
Submitted by: <k-horik@yk.rim.or.jp>
1998-08-26 02:46:24 +00:00
dillon
34564d7478 (well tested at BEST): -i option can now take FP values (e.g. -i 0.1),
extremely useful for networking testing.  Other options secured from
    user-level D.O.S. attacks.  -f, -s now root-only.  -i wait times < 1.0
    root-only.  -c count limited to 100 and defaults to 16 when ping run
    by non-root user.
1998-08-26 01:58:39 +00:00
imp
dd1bd6138f Add probing support for the vadem VG365 and the Vadem VG465 pcic chips.
We do the same thing we do with all the other Vadem chips and print the
right identification for these chips.  Tested with the 365, and inferred
for the 465.

This allows the cheapo PCMCIA card that I got from necx to print the right
chip number on boot.
1998-08-25 22:46:44 +00:00
julian
837c547de1 Submitted by: archie@whistle.com
quieten cc -Wall
1998-08-25 21:16:47 +00:00
brian
74a5e42993 Mention what ``set authname'' does in -direct mode. 1998-08-25 17:48:55 +00:00
phk
060c3ca4b3 sort the prototypes 1998-08-25 17:48:54 +00:00
brian
adbeaf54b4 If we've got a full output buffer queue and cannot send
anything for two mintues (see ``set choked'' and ``show
bundle''), nuke the ip, mp and link level buffer queues.

This should fix problems where ``ppp -auto'' seems to stop
responding after failing to connect to the peer a few times.
1998-08-25 17:48:43 +00:00
phk
c5fa6a96ba Fix DDBs printing of buf-flags after I changed them yesterday. 1998-08-25 14:41:42 +00:00
luoqi
53121e8a95 Fix a rounding problem that causes vnode pager to fail to remove the last
partially filled page during a truncation.

PR:		kern/7422
1998-08-25 13:47:37 +00:00
jb
ce1dfea1c4 Test program for sigwait.
Submitted by: Daniel M. Eischen <eischen@vigrid.com>
1998-08-25 12:35:16 +00:00
jb
1430b5a61c Add support for building test programs. 1998-08-25 12:33:22 +00:00
jb
2e85bdc1b9 Fix for sigwait problem.
Submitted by: Daniel M. Eischen <eischen@vigrid.com>
PR:           misc/7039
1998-08-25 11:19:14 +00:00
jb
58eb214a68 Add the prototype for sigwait(). 1998-08-25 11:08:22 +00:00
cracauer
faa80805b8 Improve bookkeeping of in_waitcmd and style fixes.
Submitted by:	Bruce Evans
1998-08-25 09:33:34 +00:00
cracauer
c7345be909 Re-enable killing childs with SIGQUIT. Spotted by Bruce Evans. 1998-08-25 08:49:47 +00:00
dfr
e15df4b9fc The length argument to sysctl is now size_t. 1998-08-25 07:52:33 +00:00
dfr
6b5c3784cd Change length arguments to sysctl to size_t. 1998-08-25 07:38:19 +00:00
msmith
0463e15960 New major number for SR4 streams emulation. 1998-08-24 22:42:17 +00:00
cracauer
2a3e4713ee Got two volatile sig_atomic_t and int mixed up. Spotted by Gary Palmer. 1998-08-24 19:15:48 +00:00
phk
034d175c78 Last commit managed to get mangled somehow. 1998-08-24 18:23:18 +00:00
wpaul
16a8c97515 - #define mask of enabled interrupts/indications in if_xlreg.h instead of
constructing local copy in xl_init()
- disable interrupts on entry to xl_intr(), re-enable them on exit.
- fix a few typos in some comments
1998-08-24 17:51:38 +00:00
phk
274af41d6b Remove the last remaining evidence of B_TAPE.
Reclaim 3 unused bits in b_flags
1998-08-24 17:47:25 +00:00
phk
38da80f909 Remove the last remaining evidence of B_TAP.
Reclaim 3 unused bits in b_flags
1998-08-24 17:47:08 +00:00
phk
0eda17b424 Only claim PPS_HARDPPSONASSERT if we're compiled with PPS_SYNC 1998-08-24 16:31:27 +00:00
wosch
a21aee1c42 Check the text segment size of the executable and the process. If
not equal, the command line arguments are wrong. E.g.:

$./gcore /bin/sh 1761

$ ./gcore /usr/tmp/chroot/bin/sh 1761
gcore: The executable /usr/tmp/chroot/bin/sh does not belong to process 1761!
Text segment size (in bytes): executable 303104, process 294912
1998-08-24 16:25:30 +00:00
cracauer
8e91e03b52 Do not exit on SIGINT in non-interactive shells, fixes PR 1206,
i.e. this makes emacs usable from system(3). Programs called from
shellscripts are now required to exit with proper signal status. That
means, they have to kill themself. Exiting with faked numerical exit
code is not sufficient.

Exit with proper signal status if script exits on signal.

Make the wait builtin interruptable, both with and without traps set.

Use volatile sig_atomic_t where (and only where) appropriate.

(Almost) fix printing of newlines on SIGINT.

Make traps setable from trap handlers. This is needed for shellscripts
that catch SIGINT for cleanup work but intend to exit on it, hance
have to kill themself from a trap handler. I.e. mkdep.

While I'm at it, make it -Wall clean. -Wall is not enabled in
Makefile, since vararg warnx() macro calls in usr.bin/printf/printf.c
are not -Wall-able.
PR:		1206
Obtained from:	Basic SIGINT fix from Bruce Evans
1998-08-24 10:20:37 +00:00
cracauer
3ef1b27d0c When exiting on SIGINT, exit with signal status 1998-08-24 10:17:20 +00:00
dfr
b26663e20a Add atomic.s. 1998-08-24 08:48:22 +00:00
dfr
005fa6bfd8 Remove a useless ifdef which made struct disklabel have a different
size in kernel and user builds on the alpha and prevented various ioctls
from working.
1998-08-24 08:45:37 +00:00
dfr
30f5a410b6 Change various syscalls to use size_t arguments instead of u_int.
Add some overflow checks to read/write (from bde).

Change all modifications to vm_page::flags, vm_page::busy, vm_object::flags
and vm_object::paging_in_progress to use operations which are not
interruptable.

Reviewed by: Bruce Evans <bde@zeta.org.au>
1998-08-24 08:39:39 +00:00
dfr
a57e19266c Regnerate. 1998-08-24 08:32:19 +00:00
dfr
ed57993e69 Fix a few syscall arguments to use size_t instead of u_int. 1998-08-24 08:29:52 +00:00
dfr
1bf34fa4c0 Add partial KLD support for ELF. The module loading is not written yet. 1998-08-24 08:25:26 +00:00
dfr
5696ac3439 Re-implement tcp and ip fragment reassembly to not store pointers in the
ip header which can't work on alpha since pointers are too big.

Reviewed by: Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
1998-08-24 07:47:39 +00:00
gpalmer
0cff756e9e Don't try to run ldconfig if it doesn't exist. Useful for elf platforms. 1998-08-24 07:11:48 +00:00
bde
ec7beda375 Use a relative path to bsd.kern.mk if the relative mk directory exists. 1998-08-24 06:42:26 +00:00
bde
cf6b3ab116 Support printf format checking of FreeBSD kernel formats %[Dbrz].
This is enabled by the undocumented option -fformat-extensions.
This option should be named better and/or give more control over
the extensions.

Fixed a message - don't warn about the field width when it's the
precision that has the wrong type.  Didn't fix excessive checking
for the precision relative to the type - ANSI requires both to be
ints, but gcc permits the field width to be either int or unsigned
int.
1998-08-24 06:33:52 +00:00
bde
7e129aa030 Removed support for the gcc-2.[0-4] keywords __dead and __pure. They
stopped being used in /usr/src almost 2 years ago.

Don't pretend to support gcc-[3-infinity].

Added __printf0like().  Feature tests for the __printf0__ feature
are problematic, so this can't be used for the err() family yet
- it's only in recent versions of FreeBSD's hacked version of gcc.

Added comments about __unused and __*like().
1998-08-24 06:17:01 +00:00
jkh
fdc8423b8e Shut this thing up, like the other LKMs 1998-08-24 05:31:57 +00:00
bde
824f556648 Fixed syntax errors (__dead should have gone away years ago, and
__attribute__(()) is a gccism - we use __dead2).
1998-08-24 02:54:33 +00:00
bde
f6db30ae0d Fixed printf format errors. Only one left in LINT on i386's. 1998-08-24 02:28:16 +00:00