Commit graph

41816 commits

Author SHA1 Message Date
Luoqi Chen 645682fd40 Add a per-signal flag to mark handlers registered with osigaction, so we
can provide the correct context to each signal handler.

Fix broken sigsuspend(): don't use p_oldsigmask as a flag, use SAS_OLDMASK
as we did before the linuxthreads support merge (submitted by bde).

Move ps_sigstk from to p_sigacts to the main proc structure since signal
stack should not be shared among threads.

Move SAS_OLDMASK and SAS_ALTSTACK flags from sigacts::ps_flags to proc::p_flag.
Move PS_NOCLDSTOP and PS_NOCLDWAIT flags from proc::p_flag to procsig::ps_flag.

Reviewed by:	marcel, jdp, bde
1999-10-11 20:33:17 +00:00
Poul-Henning Kamp 456b2f8063 Add the machine that goes "BINGO" every time an potentially
unused #include is spotted in the kernel sources.

(This commit message celebrates Monty Pythons 30year aniversary)
1999-10-11 19:43:44 +00:00
Matt Jacob d23245c01c remove unnecessary includes 1999-10-11 19:30:59 +00:00
Poul-Henning Kamp 889fb68f34 remove unused #includes 1999-10-11 19:18:43 +00:00
Poul-Henning Kamp c23f21660c remove unused #include 1999-10-11 19:16:54 +00:00
Poul-Henning Kamp 56b5b87171 remove unused #include, add $FreeBSD$ 1999-10-11 19:14:37 +00:00
Poul-Henning Kamp 66bd4eb7cf remove unused #includes. 1999-10-11 19:12:30 +00:00
Warner Losh d17298bf1c Kill unused includes 1999-10-11 19:05:21 +00:00
Warner Losh 4ec8d172a9 Hid silly unknown board types message behind if (bootverbose). This
appears to have been lost sometime since joerge made this same fix in
1.47.
1999-10-11 18:53:59 +00:00
Peter Wemm f6fab0cb07 Oops, Previous commit was-
Submitted by:	Nick Sayer <nsayer@quack.kfu.com>
1999-10-11 16:16:57 +00:00
Peter Wemm 4e05e22361 Ack, ip_mroute.h is not an ipfilter include. :-/
Submitted by:	Mike Heffner <spock@techfour.net>
1999-10-11 16:14:22 +00:00
Peter Wemm e6daa4d087 Oh foo. I got carried away. :-( "joy.h" is used to size an array.
(Incidently, there is no bounds checking...)
1999-10-11 16:09:00 +00:00
Peter Wemm d1f088dab5 Trim unused options (or #ifdef for undoc options).
Submitted by:	phk
1999-10-11 15:19:12 +00:00
Peter Wemm 0894f4a92c Clean up some cruft. We don't run <= 4.3 binaries on hp300 or luna68k
arches using owait(2).
1999-10-11 15:15:45 +00:00
Steve Price 004348c300 Add support for the USRobotics Courier V.Everything (USR0101) modem.
Submitted by:	Robert Blayzor <robert@superior.net>
1999-10-11 15:06:14 +00:00
Peter Wemm 3b8f07bbc3 Trim some unused #includes
Submitted by:	phk
1999-10-11 15:00:09 +00:00
Peter Wemm 90c7f2d6a2 Zap unneeded #include (found by phk)
Remove useless #include "joy.h"; #if NJOY > 0 - this is always true
if it's being compiled. config arranges this.
1999-10-11 14:53:46 +00:00
Peter Wemm 01fb93b213 Zap unneeded #includes
Submitted by:	phk
1999-10-11 14:50:03 +00:00
Peter Wemm 07bee188eb Delete unneeded #include
Submitted by:	 phk
1999-10-11 14:42:33 +00:00
Søren Schmidt 205a52de79 Fix a bug in the isa attach code which would panic isa systems. 1999-10-11 11:04:43 +00:00
Doug White 3eaa4cd425 Be explicit about kzip location to avoid accidentally calling KDE kzip. 1999-10-11 05:13:52 +00:00
Peter Wemm 8771870c76 Delete the sf (swapfile) arg to an internal function that used to point to
/dev/drum but has not been used for a LONG time.
Add $FreeBSD$
1999-10-11 05:01:17 +00:00
Jun Kuriyama 105620eaa5 Add I-O DATA PCLATE entry.
Submitted by:	sanpei@sanpei.org
PR:		conf/13038
URL:		http://www.iodata.co.jp/products/pccard/pclate.htm
1999-10-11 05:01:08 +00:00
Mark Newton 34d4b8f4c3 Replace cdevsw_add() and friends with make_dev()/remove_dev(). 1999-10-10 22:57:40 +00:00
David E. O'Brien ba505f0644 Move RCS tag to our normal place. 1999-10-10 22:43:12 +00:00
David E. O'Brien 1baaa64720 Style cleanups:
* be consistant on protecting "#define FOO"s with "#undef FOO".
* be consistant that macro params are upper case, and commas are followed
  by a space in the macro definition
* protect macro param expansion by ()'s
* break long lines
* line continuations chars to consistant column
* remove trailing spaces
1999-10-10 22:33:40 +00:00
David E. O'Brien ac27a30c83 Remove things common to all FreeBSD platforms. They will now live in a
FreeBSD wide config file.

This includes "WORD_SWITCH_TAKES_ARG" & "SWITCH_TAKES_ARG".  Platforms
such as FreeBSD/MIPS will need to override these two defintions, but it
can #undef them and define them approapiately.
1999-10-10 22:17:24 +00:00
Julian Elischer 110acfcd2b Fix the following:
It appears that make fails to read the global symbol table of the archive file,
making it think that the library needs to be rebuilt.

fix supplied in PR:

PR:		bin/14167
Submitted by:	Sebastian Lederer <lederer@bonn-online.com>
Reviewed by:	gallatin@FreeBSD.ORG
1999-10-10 20:39:36 +00:00
Poul-Henning Kamp 7b92e9236e I don't know if this is the correct fix, but my kernel can compile with it. 1999-10-10 20:32:48 +00:00
John Hay 6f3a7b991c Update the comments to say we are at draft 05 now. 1999-10-10 18:41:42 +00:00
Søren Schmidt 31694ea9b0 Remove unused include files.
Submitted by: phk
1999-10-10 18:08:40 +00:00
Peter Wemm dd461ee06d Don't #include ipfilter includes that aren't there anymore. 1999-10-10 17:49:25 +00:00
Peter Wemm 1c56dc3655 Further cleanup. Also remove the following unused or defunct tokens:
and, bio, cam, master, minor, net, priority, sequential, size, slave, trace
1999-10-10 17:36:11 +00:00
Peter Wemm de3f888991 #ifdef PPS_SYNC around "kapi" declaration to fix a -Wunused warning. 1999-10-10 16:18:36 +00:00
Marcel Moolenaar d348b4d2a5 Use the proper #ifdef around union sigval and siginfo_t. This fixes
the breakage of POSIX sources (such as XFree86).

Reviewed by: bde
1999-10-10 15:52:33 +00:00
Brian Feldman 2eb072e493 Let a file with '@' or ':' in it take precedence over defaulting to
nfs.
1999-10-10 15:52:21 +00:00
Peter Wemm 5ecac8709e Put IPFILTER_LKM into opt_ipfilter.h and delete the other two IPFILTER
options that previously went there.
1999-10-10 15:24:04 +00:00
Peter Wemm 55c86d3469 Don't try and build IPFILTER in LINT. 1999-10-10 15:20:06 +00:00
Peter Wemm 029cd3ca8d Remove ipfilter files - the hooks remain in ip_input.c and ip_output.c 1999-10-10 15:17:28 +00:00
Peter Wemm 8d741ff43c Remove ipl hooks (bring on DEVFS! :-) 1999-10-10 15:14:46 +00:00
Peter Wemm 41c2fcf401 remove ipl hooks 1999-10-10 15:13:48 +00:00
Peter Wemm 088f7c5d38 Nuke the old antique copy of ipfilter from the tree. This is old enough
to be dangerous.  It will better serve us as a port building a KLD,
ala SKIP.

The hooks are staying although it would be better to port and use
the NetBSD pfil interface rather than have custom hooks.
1999-10-10 15:09:59 +00:00
Peter Wemm bd3c4bb29f Nuke the old antique copy of ipfilter from the tree. This is old enough
to be dangerous.  It will better serve us as a port building a KLD,
ala SKIP.
1999-10-10 15:08:38 +00:00
Poul-Henning Kamp c6ebaa9629 Retire old and unused #includes. 1999-10-10 12:02:36 +00:00
Chris Piazza 20d8fa6f36 Revert previous change, I misread it as an if( when it really
wasn't.
1999-10-10 09:28:14 +00:00
Marcel Moolenaar 6c6df91e73 Avoid using the osig* syscalls. 1999-10-10 09:14:31 +00:00
Marcel Moolenaar 23cd96d8ce \begin{quote}
setjmp() gets the jmp_buf pointer from the wrong place (the place
where the return address is) in the shlib case, and uses it (only)
to fetch the current signal mask to address (return_address + 28).
This address is normally read-only (I hope), so the sigprocmask()
call has no effect except to return an error code.
\end{quote}

Submitted by: bde
1999-10-10 08:38:33 +00:00
Michael Haro 5915885377 Correct typo, Welcom -> Welcome
and add $FreeBSD$
1999-10-10 07:46:38 +00:00
Mark Murray 562497a12c Correct the Crypto dist's name in a string.
Get the KerberosIV dist from the correct files.
1999-10-10 07:13:33 +00:00
Brian Feldman f14a4bf818 Modify to work with the new sbreserve(). 1999-10-09 23:24:59 +00:00