Commit Graph

67540 Commits

Author SHA1 Message Date
thorpej b221909e32 Sprinkle some const. 2000-07-14 07:21:50 +00:00
thorpej 195bf5c09f - Fix the likely cause of the "ps(1) hangs machine" problem. Always
vslock the user pages for the data being copied out to userspace,
  so that we won't sleep while holding a lock in case we need to
  fault the pages in.
- Sprinkle some const and ANSI'ify some things while here.
2000-07-14 07:21:21 +00:00
thorpej 8fd9032b90 ANSI'ify. 2000-07-14 07:14:33 +00:00
thorpej 424346ba85 Const'ify string constants. 2000-07-14 07:14:03 +00:00
thorpej ba40fcada3 Sprinkle in some const. 2000-07-14 07:12:47 +00:00
tsubai 500013914e Make timebase frequency value adjustable. 2000-07-14 05:53:31 +00:00
itohy 9bdf22f648 Correct ctype(3) usage, just in case.... 2000-07-14 05:26:04 +00:00
matt 584a2f53ee Clean up & prepare for ELF. Don't define isnan since it's in libc. Add a
powf (really a wrapper for pow).
2000-07-14 04:50:58 +00:00
fair 77c2009ea0 Correct description of /etc/sliphome/; add a little more introductory
text describing the purpose of the manual page, all per PR 8980.
2000-07-14 02:51:25 +00:00
mycroft 9496d82675 Add a missing newline in one message.
(The fact that I got this message using softdep should probably disturb
someone...)
2000-07-14 02:43:44 +00:00
tv 69e557a91c Add _XOPEN_SOURCE protections. The need for these is questionable, advised
by kleink about the E* predefined namespace; we'll look into that.

Also add ENOTSUP from SUSv2 as an alias for EOPNOTSUPP.  It's used by the
SUSv2 pthreads interface, has the same meaning, and pthreads does not use
EOPNOTSUPP.
2000-07-14 00:52:02 +00:00
pk c32ffb8447 Make `physmem' an `unsigned int', so it can properly represent large memory
configurations.
2000-07-14 00:02:35 +00:00
eeh 3cf5c2adbf Added support for the SPARC v9 ABI. 2000-07-13 23:14:17 +00:00
jdolecek 5942ac860b switch to sys/conf/newvers_stand.sh for generating vers.c 2000-07-13 22:25:14 +00:00
jdolecek 9c15bcabda switch to sys/conf/newvers_stand.sh for generating vers.c
sync comments in */version with i386
2000-07-13 22:18:12 +00:00
jdolecek f6330c6500 switch to sys/conf/newvers_stand.sh for generating vers.c
sync comments in */version with i386
add a hack to ${PROG} target so that symlinks machine, pmax, mips are
  created properly even when building on NetBSD/pmax 1.4.1
2000-07-13 22:18:08 +00:00
jdolecek 432831b01b add couple of flags which can be used to avoid generating some of the
information.
Put standard TNF copyright in, since this file no longer uses the old code.
2000-07-13 22:04:44 +00:00
gmcgarry 5f6dba69a0 uvn_attach.9 -> uvm_attach.9 2000-07-13 21:58:39 +00:00
msaitoh 1fa850b0ef config file for Dreamcast 2000-07-13 18:11:53 +00:00
soren e527d66d55 Fix mem_no. Pointed out by cgd. 2000-07-13 18:10:38 +00:00
msaitoh e633c4ca18 don't initialize BSC when BSC is already initialized (e.g. Dreamcast) 2000-07-13 18:02:10 +00:00
cgd ca051b5fb3 fix some obvious paste errors in 'uk' cdev inits 2000-07-13 17:40:34 +00:00
thorpej 75159452f1 Sync w/ kern_time.c and sys_generic.c 2000-07-13 17:39:03 +00:00
thorpej f9ba0345f1 XXX Use of hzto() return value needs to be double-checked here. 2000-07-13 17:35:03 +00:00
thorpej c55e09bd44 Add a comment about the hzto() return value. 2000-07-13 17:32:06 +00:00
thorpej c0c8481a2a New hzto() function from FreeBSD and Artur Grabowski <art@stacken.kth.se>.
Stops sleeps from returning early (by up to a clock tick), and return 0
ticks for timeouts that should happen now or in the past.

Returning 0 is different from the legacy hzto() interface, and callers
need to check for it.
2000-07-13 17:06:15 +00:00
pk 9da8631e2b printf() format for 64-bit integers `tf_pc' and `tf_npc'. 2000-07-13 16:44:03 +00:00
mycroft 29073387f0 Link dty.4 to tty.4. 2000-07-13 15:56:18 +00:00
lukem 0b284e70ff add usr/share/examples/syslogd/* 2000-07-13 14:31:13 +00:00
simonb 34d4c12031 Use KERN_CONSDEV for determining the console device instead of CPU_CONSDEV
which is not available on all ports.
2000-07-13 14:28:07 +00:00
lukem 481fca6e59 example syslogd(8) config files (to be installed as /etc/syslog.conf):
all.debug - each facility gets logged to its own file
2000-07-13 14:27:04 +00:00
simonb b10a1b69be Add a KERN_CONSDEV sysctl that returns cn_tab->cn_dev (if cn_tab is not
NULL).
2000-07-13 14:26:43 +00:00
lukem bafa86ff31 add usr/share/examples/syslogd 2000-07-13 14:24:13 +00:00
ad 5bf219a1a3 - Use _PATH_VARRUN.
- Address PR 10577 from mjl: recognise '.' as user/group seperator.
2000-07-13 11:28:50 +00:00
ad 7101b4c03f Back out previous two - didn't follow the code properly. 2000-07-13 11:24:40 +00:00
ad 08d4945681 Fix previous. From Micheal Eriksson <eramore@era-t.ericsson.se>. 2000-07-13 11:19:54 +00:00
itojun 710d2cd983 remove pulldown statistics 2000-07-13 11:07:34 +00:00
msaitoh c832841f5e s/ ar / are / 2000-07-13 10:33:52 +00:00
itojun 20964b0c23 fatal bug fix from kame (rtentry refcnt goes negative if we play with IPv6
address/routing table too much).

in6_ifloop_request()
  not to request rtrequest to return an rtentry except for the ADD
  operation, in order to avoid misdecreasing the refcnt (which might
  cause leak of rtentry)
2000-07-13 09:56:20 +00:00
mjacob c9f691d778 Correct omissions inadvertantly introduced when the non-debug
version (macro) was updated in exec.h.
2000-07-13 09:34:23 +00:00
assar b4c7f0f535 fix the krb5 su to ordinary user case, from Mark Davies
<mark@MCS.VUW.AC.NZ>
2000-07-13 08:37:10 +00:00
jeffs ef9531850e Add comment that overriding the sysctl defines in machine/cpu.h
breaks userland binary compatiabiltiy between mips ports.  Move
check down so common values are always defined here.
2000-07-13 07:37:11 +00:00
tron 7cae32ff49 Invoke "nroff" with "-S" (safer mode) option because "makewhatis" is
usually invoked by "root".
2000-07-13 06:45:22 +00:00
mrg c0f74e1bda remove memreg.h. 2000-07-13 06:30:16 +00:00
tron 714c921491 Kill "nroff" process and wait for its terminiation if we can't setup
the "libz" file handle.
2000-07-13 06:29:43 +00:00
mrg 22820972ac remove vaddrs.h 2000-07-13 06:25:55 +00:00
mrg 81ec8bef47 remove old (bogus) comment. 2000-07-13 06:23:07 +00:00
tron b238c131ce Optimize invokation of "nroff":
- Redirect standard error to "/dev/null" because "nroff" error messages
  for temporary files aren't really useful.
- Don't let "nroff" open temporary file. Use its file descriptor as
  standard input.
2000-07-13 06:15:03 +00:00
thorpej 3eedcb3009 Whitespace police. 2000-07-13 05:47:39 +00:00
mrg d5a1bec37e bump some system values. 2000-07-13 05:40:51 +00:00