Commit Graph

13684 Commits

Author SHA1 Message Date
bde
b0b36003dc Don't include <sys/types.h> when it isn't used.
This commit covers most of the ANSI library functions. Many others only
need <sys/types.h> because they use u_xxx.
1996-04-19 18:40:25 +00:00
bde
a807e1724b Don't depend on <sys/types.h> including <sys/cdefs.h>. 1996-04-19 17:39:57 +00:00
wollman
2b40b8e5c5 Fix timezone names for Mountain time.
Fixes PR 1150

Submitted by: colsen@usa.net
1996-04-19 15:15:41 +00:00
bde
d3161a695d Added `const' to types of sys_siglist and sys_signame. 1996-04-19 14:07:44 +00:00
bde
0fa2dcd1ef Added `const' to types of sys_errlist and sys_nerr.
Use .Va instead of .Fa to describe these variables.

Say a little about inconsistent declarations of sys_errlist in the BUGS
section.
1996-04-19 14:02:03 +00:00
jkh
2ee0ebfbc4 Fix a bug which did not properly bias checklist items by their scroll
factor.
1996-04-19 10:39:16 +00:00
jkh
d96c3e1df4 Revise the responsibility roster a bit. 1996-04-19 07:44:17 +00:00
phk
df5c003119 savectx returns through cpu_switch in case of the child, so it must
return void just like cpu_switch.  Fix prototype and usage from machdep.c
1996-04-19 07:28:04 +00:00
smpatel
de19e026cc Fix the man page to reflect the recent addition of RFNOWAIT and the removal of
Plan9 specific flags.
1996-04-18 23:36:41 +00:00
phk
a25821060d Whoops, shouldn't really have been here, but what the heck: remove some
stale comments.
1996-04-18 21:37:43 +00:00
phk
d01137f090 Fix a bogon. cpu_fork & savectx ecpected cpu_switch to restore %eax,
they shouldn't.
1996-04-18 21:34:53 +00:00
nate
6eb9f2ef25 - Save/restore the FS data segment.
Reviewed by:	bde
1996-04-18 19:22:59 +00:00
nate
7dd4e08430 - Addition of my name to the APM Copyright
- More code cleanups
- #ifdef DEBUG debugging code
- More consistant printfs
- Better handling of the apm_int() assembly code (mostly from Bruce Evans)

Reviewed by:	bde
1996-04-18 19:21:47 +00:00
jdp
93a995d6da Update an offset field for i386 a.out core files, so that the program
name comes out right again.

Note: Don't bring this change directly into the -stable branch.  The
appropriate offset for -stable is different.
1996-04-18 19:05:58 +00:00
jdp
258c3bc7fe Fix a typo in the syntax for indirect offsets. 1996-04-18 18:17:14 +00:00
wollman
c1be8d9d1d Three speed-ups in the output path (two small, one substantial):
1) Require all callers to pass a valid route pointer to ip_output()
   so that we don't have to check and allocate one off the stack
   as was done before.  This eliminates one test and some stack
    bloat from the common (UDP and TCP) case.

2) Perform the IP header checksum in-line if it's of the usual length.
    This results in about a 5% speed-up in my packet-generation test.

3) Use ip_vhl field rather than ip_v and ip_hl bitfields.
1996-04-18 15:49:06 +00:00
wollman
26b91f003d Define a few macros useful in the _IP_VHL case. 1996-04-18 15:42:50 +00:00
wollman
753262bd8b Fix a warning by not referencing ip_output() as a pr_output() member. 1996-04-18 15:41:51 +00:00
wollman
de80c032c5 Always call ip_output() with a valid route pointer. For igmp, also get the
multicast option structure off the stack rather than malloc.
1996-04-18 15:41:11 +00:00
wollman
0deb98a21f Add an inline function to compute the common-case IP header checksum. 1996-04-18 15:39:27 +00:00
jkh
a4dd56c7c9 Remove a long-standing window leak I just noticed. 1996-04-18 13:36:39 +00:00
jkh
adeba4991f Remove the special-case behavior for fire actions that return
DITEM_FAILURE - formerly they would simply act as an implicit "continue",
but this is wrong.  If you want this behavior, you should now return
with the DITEM_CONTINUE flag set.

Also make the semantics of DITEM_RESTORE quite a bit different - rather
than restore the screen back to pre-menu state, we restore the menu
itself.  This is more correct for a variety of reasons when dealing with
nested menus (whoops!).
1996-04-18 13:21:26 +00:00
ache
599cdbb685 Use -X to be xargs-friendly
Check devices too, follow original BSD intention
Find only executable files with s-bits, close PR bin/1022
Reset locale to C to have equal results in any case
1996-04-18 10:34:07 +00:00
ache
25ff7daa47 Fix sgetrune/sputrune arg type: was unsigned int instead of size_t 1996-04-18 07:13:42 +00:00
ache
6d0f739b3c Fix error in wcstombs: byte count not counted
Remove unneded casts in sgetrune/sputrune
Submitted by: wcstombs fix by Mihoko Tanaka <m_tonaka@pa.yokogawa.co.jp>
1996-04-18 07:01:46 +00:00
nate
2e949bee12 Fix usage: message to print out corrrectly.
Submitted by:	Tatsumi Hosokawa <hosokawa@mt.cs.keio.ac.jp>
1996-04-18 05:23:47 +00:00
nate
efde019e45 Added RCS Id and BSD-style copyrights to individual files. 1996-04-18 04:25:17 +00:00
nate
35e568fc93 Added a disabled psm0 (PS/2) mouse device, using the new 'disable'
keyword.
1996-04-18 04:02:30 +00:00
joerg
0b01ed2e48 Mention swapinfo as .Nm, so it will be referenced by mkwhatis. 1996-04-17 20:50:44 +00:00
joerg
a411fde3df Document the possible EPERM return.
Submitted by:	imp@village.org (Warner Losh)
1996-04-17 20:49:29 +00:00
smpatel
191537cd0c Implement the RFNOWAIT flag for rfork(). If set this flag will cause the
forked child to be dissociated from the parent).

Cleanup fork1(), implement vfork() and fork() in terms of rfork() flags.

Remove RFENVG, RFNOTEG, RFCNAMEG, RFCENVG which are Plan9 specific and cannot
possibly be implemented in FreeBSD.

Renumbered the flags to make up for the removal of the above flags.

Reviewed by:	peter, smpatel
Submitted by:	Mike Grupenhoff <kashmir@umiacs.umd.edu>
1996-04-17 17:05:08 +00:00
pst
4ca9bc781d Support FreeBSD v2.1 1996-04-17 09:37:17 +00:00
pst
451ae592ee Add in linux support for the quickcam driver bottom half and
add a new "invasive camera scan" option for folks who have weird
cameras or weird parallel ports.
1996-04-17 09:00:53 +00:00
pst
eb637830c3 Fix a few bugs in argument processing.
Submitted by:	Timo Kokkonen <tjko@jyu.fi>
1996-04-17 08:57:50 +00:00
jkh
24a0bc2e77 More changes to attempt to make this whole new dialog scheme more
robust.  The new "fire" actions, while affording signficantly more
interactivity to libdialog, come at a cost - if the fire action trashes
the screen then you're not going to be in Kansas anymore when you
come back to the menu and there had better be considerable extra
smarts in place for coping with such a situation.  These changes are my
attempt to do just that.
1996-04-16 12:17:27 +00:00
ache
2d55190c7f Back out my MOTIF_STATIC change, it is unnecessary 1996-04-16 11:47:29 +00:00
markm
3acd38de96 Remove old cruft. 1996-04-16 06:38:56 +00:00
markm
cfdcfbc09c Fix oder of subdirs so this will rebuild if .depends are blown away. 1996-04-16 06:06:53 +00:00
dg
f248f3aa32 Fix for PR #1146: the "next" pointer must be cached before calling soabort
since the struct containing it may be freed.
1996-04-16 03:50:08 +00:00
wpaul
fc6f345c4d NIS cleanups and fixes, the next generation, continued.
pwd_mkdb.c:

- Don't save the PLUSCNT and MINUSCNT tokens: we don't need them anymore.

- Count the + and - entires for NIS together instead of counting + and -
  entries seperately. Index all special NIS entries using new _PW_KEYYPBYNUM
  token.

pwd.h:

- Remove the PLUSBYNUM, MINUSBYNUM, PLUSCNT and MINUSCNT tokens and replace
  then with a single _PW_KEYYPBYNUM token.
1996-04-16 00:23:59 +00:00
wpaul
24c5b47bb2 NIS cleanups and fixes, the next generation.
getnetgrent.c:

- Catch one bogon that snuck by: in _listmatch(), check for '\0'
  rather than '\n'; strings returned from yp_match() are terminated
  with a nul, not a newline.

getpwent.c:

- Rip out all of the +inclusion/-exclusion stuff from before and
  replace it with something a little less grotty. The main problem
  with the old mechanism was that it wasted many cycles processing
  NIS entries even after it already knew they were to be exlcuded
  (or not included, depending on your pointof view). The highlights
  of these changes include:

  o Uses an in-memory hash database table to keep track of all the
    -@netgroup, -user, and -@group exclusions.

  o Tries harder to duplicate the behavior normally obtained when using
    NIS inclusions/exclusions on a flat /etc/passwd file (meaning things
    come out in much the same order).

  o Uses seperate methods for handling getpwent() and getpwnam()/getpwuid()
    operations instead of trying to do everything with one general
    function, which didn't work as well as I thought it would.

  o Uses both getnetgrent() and innetgr() to try to save time where
    possible.

  o Use only one special token in the local password database
    (_PW_KEYYPBYNUM) instead of seperate tokens to mark + and -
    entries (and stop using the counter tokens too). If this new
    token doesn't exist, the code will make due with the standard
    _PW_KEYBYNUM token in order to support older databases that
    won't have the new token in them.

  All this is an attempt to make this stuff work better in environments
  with large NIS passwd databases.
1996-04-16 00:22:41 +00:00
mpp
3ad2f69a9f Add man pages for the copy*, fetch*, and store* families of
kernel functions.

Also added timeout(9) to the makefile.

Reviewed by:	joerg
Obtained from:	NetBSD
1996-04-15 21:37:07 +00:00
wpaul
78748acfc6 Fix a few NIS-related bogons:
- Clear the _yp_innetgr flag immediately after calling setnetgrent() from
  innetgr(). We only need the flag set to temporarily alter setnetgrent()'s
  behavior. Previously, it was being cleared too late.

- When in NIS-only mode, innetgr() was wasting time doing unecessary
  extra processing after it had already found a match.

- Remember to free memory allocated by the NIS functions during innetgr()
  searches.
1996-04-15 16:17:04 +00:00
dg
64edb8a1f6 Two fixes from Rich Stevens:
1) Set the persist timer to help time-out connections in the CLOSING state.
2) Honor the keep-alive timer in the CLOSING state.

   This fixes problems with connections getting "stuck" due to incompletion
of the final connection shutdown which can be a BIG problem on busy WWW
servers.
1996-04-15 03:46:33 +00:00
se
0604466bec Update PCI bus code from my current sources:
- always use pci_conf_read() and pci_conf_write(). (This is required to
  simulate non-existant devices in my system for PCI bridge code tests.)

- reorder some functions (put the main functions at the end).

- correct off by one bug in the code dealing with unitialized PCI to PCI
  bridge chips. (Bug found by ASAMI Satoshi.)

- print function number for multi-function devices.
1996-04-14 20:14:36 +00:00
wosch
1de729283b add keymap entries for
Italian ISO, Japanese 106/106x, Spanish ISO  [en,de]
	add US dvorak [en,de,fr]

remove old test examples
1996-04-14 17:22:43 +00:00
phk
1bba52ece2 Now that I have started to use netboot, I see what is missing...
Load symbols and set boot args more nicely.
1996-04-14 09:54:14 +00:00
jhay
90f6f0bae9 Document that ipx is a valid protocol for the -f option.
Comment out ns and iso. They are not supported anymore.
1996-04-13 21:23:57 +00:00
bde
6c70f295f5 Implemented a new keyword `disable'. This should be useful for controlling
dangerous drivers in GENERIC.

Removed non-comments on #endifs in config.y.

Improved output formatting in mkioconf.c.
1996-04-13 19:57:38 +00:00
bde
ece7fb1dfd Fixed handling of device flags. The real flags were never used.
Submitted by:	Michael Smith <msmith@atrad.adelaide.edu.au>
1996-04-13 18:33:04 +00:00