Commit Graph

39161 Commits

Author SHA1 Message Date
kleink
76900aa65b Include <sys/time.h> for struct timeval. 1998-05-07 16:24:18 +00:00
kleink
0af913eb8c Move the IPC_[MWR] constants inside _KERNEL protection; they serve the sole
purpose of being flags to ipcperm().
1998-05-07 16:16:51 +00:00
fair
f63f1f5530 document si & sw drivers 1998-05-07 10:55:21 +00:00
leo
4eb4a78df8 Implement MACHINE_NEW_NONCONTIG. Implementation is based on Ignatios' amiga
implementation and Chuck's conversion description.
1998-05-07 07:25:51 +00:00
enami
10a773225e When YYDEBUG is defined, return same value as when it is not defined (in
other words, act same except debugging code).
1998-05-07 05:26:35 +00:00
mycroft
3ca8d744c9 Don't define MD_EXEC_PREFIX and MD_STARTFILE_PREFIX here. 1998-05-07 04:17:59 +00:00
mycroft
99a8464fa0 Nuke the previous, now that it's done elsewhere. 1998-05-07 04:17:13 +00:00
mycroft
52463c691f Set MD_EXEC_PREFIX and MD_STARTFILE_PREFIX here. 1998-05-07 04:15:07 +00:00
mycroft
147bf39e19 We don't want the MD_EXEC_PREFIX for SysV. 1998-05-07 03:55:58 +00:00
mycroft
89e1507edb Add a reference to fsirand(8). 1998-05-07 03:40:48 +00:00
thorpej
ce3d776874 Rework the syn cache code somewhat:
- Don't use home-grown queue manipulation.  Use <sys/queue.h> instead.  The
  data structures are a little larger, but we are otherwise wasting the
  memory chunk anyway (we're already a 64-byte malloc bucket).
- Fix a bug in the cache-is-full case: if the oldest element removed from
  the first non-empty bucket was the only element in the bucket, the
  bucket wouldn't be removed from the bucket cache, causing queue corruption
  later.
- Optimize the syn cache timers by using PRT timers rather than home-grown
  decrement-and-propagate timers.

This code is now a fair bit smaller, and significantly easier to read
and understand.
1998-05-07 01:37:27 +00:00
thorpej
dc49b0342e Define all TCP timers in terms of PRT timers. 1998-05-07 01:30:46 +00:00
thorpej
a16907a94d Add some more timer manipulation functions (disarm, isarmed), and make
isexpired check isarmed.
1998-05-07 01:30:08 +00:00
enami
9ad895e33c Backout previous issignal() change so that gdb can trace a process
which has subprocess again; the lite2 change conflicts our local change.
1998-05-07 00:45:16 +00:00
mycroft
6ce2d7641a This hasn't been fully ported to the PowerPC yet. 1998-05-07 00:31:51 +00:00
mycroft
23d9d6e9b8 Kluge to make the build not bomb out in here. 1998-05-06 22:02:18 +00:00
mhitch
8c45fef21f When changing the mapping on a page, remove the previous mapping if
there is one.  The Mach VM system seems to take care of this, so it
hasn't knowingly caused a problem.  UVM does change mappings without
removing the current mapping, and will pmap_page_protect() hangs
if pmap_enter() doesn't remove the previous mapping.
1998-05-06 21:53:53 +00:00
cgd
a21bdbd076 can't include crt.h; it's not gone! 1998-05-06 20:58:34 +00:00
ross
03363828ac No longer needed, calls begin crtbegin & crtend were just removed. 1998-05-06 20:46:56 +00:00
ross
cbd1bb578a Sigh, don't make global calls in repeated sharedlib components. It blows
away the dynamic loader.
1998-05-06 20:45:54 +00:00
kleink
7826b591ac Per XSH98, define the RTLD_LOCAL flag. In this implementation it's a NOP,
since non-local searches have to be explicitly enabled via RTLD_GLOBAL.
1998-05-06 20:28:54 +00:00
kleink
5a50994071 Make strtok_r() available to _XOPEN_SOURCE >= 500, and fix the protection of
memccpy() and strdup().
1998-05-06 20:17:55 +00:00
kleink
485ed6437f Change the type of the `namelen' argument of gethostname(), getdomainname(),
sethostname(), setdomainname() from int to size_t.  The former change was
made due to an X/Open XNS5 requirement, the latter three were made for
consistency.
1998-05-06 19:59:35 +00:00
kleink
42feb529b8 For consistency with the {get,set}hostname() change, change the type of
the `namelen' argument to {get,set}domainname() from int to size_t.
1998-05-06 19:53:41 +00:00
kleink
e3bbd3db6f Per X/Open XNS5 (a/k/a C523), change the type of the `namelen' argument to
gethostname() from int to size_t.  Change sethostname() in the same way
for consistency.
1998-05-06 19:48:39 +00:00
augustss
d824266389 Remove some lint. 1998-05-06 19:21:45 +00:00
kleink
6ea15afcfa Reorganize name space protection. 1998-05-06 19:17:37 +00:00
augustss
821913c679 Make config line match reality. 1998-05-06 19:14:06 +00:00
kleink
4881197c08 Reorganize name space protection. 1998-05-06 19:05:51 +00:00
augustss
cbf0d347c4 Add eap.4 (and reformat the lines) 1998-05-06 19:02:28 +00:00
drochner
63cecf5737 This comment is not true. 1998-05-06 18:23:34 +00:00
mycroft
7347e7b852 Use our own quad library instead. 1998-05-06 18:14:06 +00:00
mycroft
3bd6c97c08 Enable quad support on PowerPC. 1998-05-06 18:12:35 +00:00
kleink
6cee3660f1 For completeness, add REG_ENOSYS. 1998-05-06 18:12:12 +00:00
kleink
fe17338747 Reorganize name space protection. 1998-05-06 18:01:23 +00:00
kleink
82b3194c0e Per POSIX and X/Open, don't include <sys/types.h> but make only time_t
available.
1998-05-06 17:30:12 +00:00
kleink
f991579d16 Don't make NULL available to _XOPEN_SOURCE. 1998-05-06 17:12:45 +00:00
kleink
80495e6ea6 * Extend protection of NSIG to cover _XOPEN_SOURCE.
* Require either _KERNEL or _LKM being defined in addition to COMPAT_SUNOS
  to make SA_USERTRAMP visible, since COMPAT_* isn't a reserved name outside
  the NetBSD kernel world.
1998-05-06 16:47:26 +00:00
agc
47f6bce353 Add a check (from FreeBSD) so that the removal of the temporary dir
takes place only once, if pkg_add is interrupted, and exit after the
cleanup is done.
1998-05-06 15:05:29 +00:00
mycroft
7a7f2e8ffe Just build all of libgcc2 where necessary. 1998-05-06 14:37:42 +00:00
pk
263413efd9 Do not request more privileges from vm_fault() than required, i.e. don't
request read access in addition to write access on a write fault.
1998-05-06 14:28:29 +00:00
pk
e615541de9 Maintain far more complete state in the PV lists on the cacheability of pages,
using separate flag bits for mappings that were requested to be not
cacheable and uncacheable pages due to incongruent aliases.

This avoids inadvertently turning on the cache-enable bits when removing
one of multiple virtual address mappings to the same page. Reading
from /dev/mem could do this to arbitrary pages.
1998-05-06 14:17:53 +00:00
drochner
2a3fff85f0 add RCS ID 1998-05-06 13:32:18 +00:00
mycroft
c563c17d5a Define NLIST_ELF32 on PowerPC. 1998-05-06 13:16:57 +00:00
mycroft
0b01550a65 Run gen-params to build _G_config.h at build time. 1998-05-06 11:59:09 +00:00
mycroft
c0de9013ee Fix a syntax error. 1998-05-06 11:22:07 +00:00
mycroft
d658d39cd3 Still more objects needs on PowerPC. 1998-05-06 10:55:11 +00:00
bouyer
de584a5245 Make ATM_LLC_SETTYPE do the rigth thing: swap byte on LE machines,
don't swap on BE machines. The previous revision required a ntohs()
in atm_output(), to work on LE machines. This was broken for BE machines.
1998-05-06 10:16:04 +00:00
mycroft
3839bf6759 Need some additional objects for PowerPC. 1998-05-06 10:06:59 +00:00
mycroft
3229c8b030 Oops; need a LINK_SPEC here to override the entry point name. 1998-05-06 09:36:01 +00:00