128386 Commits

Author SHA1 Message Date
skrll
aeb58ad6a0 Add a cerror.S and re-work various syscalls and SYS.h to use __cerror.
With help from the OpenBSD version of SYS.h.
2004-07-01 06:50:04 +00:00
petrov
ef4d3a19c3 iommu_dvma_load_raw: reserve extra dvma page. Fixes PR #13654. 2004-07-01 06:40:36 +00:00
junyoung
844c9270d0 Add missing MKCVS, MKKERBEROS4, MKPOSTFIX, MKSENDMAIL, and MKUUCP.
Note that some variables are still missing, since i'm not sure how
to describe them...
Bump date.
2004-07-01 06:09:57 +00:00
jmc
71a252d58b Add some checks for gcc around a few function declarations and note the
unused variables. Also fix a few other warnings that PR#22118 shows when
trying to compile bmake on non-NetBSD hosts
2004-07-01 04:39:30 +00:00
kleink
25662013ee Add the kernel to the includes search path; ipf.c depends on it. 2004-07-01 01:41:16 +00:00
pk
b7d8cee837 The sc_range and sc_nrange fields are no longer used. 2004-06-30 21:41:36 +00:00
pk
9d70d77aae sbus_attach: use bus_space_tag_allocate();
sbus_bus_map: use bus_space_translate_generic();
sbus_bus_addr: use BUS_ADDR().
2004-06-30 21:37:49 +00:00
pk
889aa9f444 Introduce bus_space_tag_alloc() for the common parts of bus tag allocation. 2004-06-30 21:16:38 +00:00
drochner
d45473e8a3 fic the <close-to-1>^<huge number> fix as in e_pow.c 2004-06-30 18:45:25 +00:00
drochner
a6d8e4cf79 -fix a long-standing bug which affects the <close-to-1>^<huge number> case
(fixed in fdlibm-5.3)
-being here, sync with -5.3 as far as possible (There is another bugfix -
 sign in overflow/underflow cases -; this doesn't change anything for us
 because the wrapper (w_pow.c) fixes this up. Keep things in sync anyway
 to ease further maintainance.)
2004-06-30 18:43:15 +00:00
hannken
8b477ad955 When we expunge an unreferenced file from a snapshot its size may be zero. 2004-06-30 18:42:17 +00:00
drochner
b6fcfe5309 shut up lint's "long long" warnings 2004-06-30 17:51:09 +00:00
hannken
7ca8e916c9 Do LAYERFS_REMOVED for vop_rmdir.
Reviewed by: Bill Studenmund <wrstuden@netbsd.org>
2004-06-30 17:42:55 +00:00
christos
75c2e1e75a Introduce a zerror() function that can be conditionally compiled out to
save space. share all error strings in a single array.
2004-06-30 15:44:55 +00:00
christos
45879fd71c - full ansi prototypes
- turn WARNS=3 on
2004-06-30 15:43:57 +00:00
drochner
737ab05bf9 Add (l)lrint(f).
Being here, move some C99 function declarations into the appropriate
section (as discussed with kleink).
2004-06-30 15:11:05 +00:00
drochner
d76992e490 Implement (l)lrint(f).
(Could get some optimization for LP64; this would need a change to
the float access macros in math_private.h.)
2004-06-30 15:08:30 +00:00
kochi
d23b9803c9 fix a duplicate member in designated initializers, which was a bug
introduced in rev 1.5.
pointed out by Andreas Gustafsson.
2004-06-30 14:46:07 +00:00
christos
9c5b11e7e9 cast help. 2004-06-30 14:00:02 +00:00
christos
b508e54615 constification fixes. 2004-06-30 13:59:22 +00:00
christos
84a3bc854d - multiple inclusion protection.
- constify some prototypes.
2004-06-30 13:59:05 +00:00
christos
049fd5eb10 help with casts, and lint hints. 2004-06-30 13:58:16 +00:00
christos
c7f7436fef add __DECONST() 2004-06-30 13:57:32 +00:00
christos
3e36df0496 avoid string const cast-aways. 2004-06-30 13:45:54 +00:00
christos
db25564166 remove useless typedef and casts 2004-06-30 13:45:21 +00:00
darrenr
b8785aabcf Modify ftp-proxy to support both ipfilter and pf. It now requires at least
one command line option to specify which firewall it is meant to interact
with.  The implementation here puts the firewall specific code into separate
files with markers for future changes that could enable a fully transparent
mode for non-private network proxying.
2004-06-30 13:29:43 +00:00
tron
3112a70615 Check for "pf" and "pflogd". 2004-06-30 11:25:22 +00:00
itojun
fbbd2967d1 forgot to "cvs add". noted by Havard 2004-06-30 09:51:43 +00:00
mycroft
1ccdf5daeb Make "set -e" once again provide the behavior documented in the man page,
which was unnecessarily changed in revision 1.50 while fixing other bugs.
That is, exit the shell if the last command in a || or && compound statement
is not short-circuited, and exits with a false status.  I.e., the following
will cause the shell to exit:

  set -e
  false || false

While this is not the prescribed behavior in SUSv3, it is what our man page
documents, and it is what all of the following implementations do:

  NetBSD /bin/ksh (pdksh)
  bash
  zsh
  Solaris 9 /bin/sh
  Solaris 9 /usr/xpg4/bin/sh
  Solaris 9 /usr/bin/ksh
  Tru64 /bin/sh
  HP/UX 11 /bin/sh

The "standard" seems to be wrong in this instance.
2004-06-30 09:32:38 +00:00
tron
313b9c84ab Install "pf" and "pflogd". 2004-06-30 09:22:41 +00:00
tron
0e42006ea8 Build pf(4) lkm. 2004-06-30 09:21:26 +00:00
mycroft
d5be908514 This should be done in the HAL, but until then...
Hack the match function to accept an alternate Atheros vendor ID by munging it
to look like the expected one.  This is needed for DWL-G520 cards (which
otherwise "just work").
2004-06-30 05:58:17 +00:00
mycroft
2d24a9bd14 When starting a bulk-only transfer, punt early if the device is going away. 2004-06-30 05:53:46 +00:00
christos
aa30b4a3db cleanup casts in get/set u short/long so that we don't have const castaways. 2004-06-30 03:43:14 +00:00
jmc
21e37cc72a Add missing NetBSD ID tags 2004-06-30 03:37:35 +00:00
jmc
f648d12d47 Add missing NetBSD ID tags 2004-06-30 03:26:26 +00:00
jmc
3b3bf466dc Don't build the pf lkm. It's missing entire files at the moment. Re-enable
once it compiles
2004-06-30 03:21:10 +00:00
mycroft
9f98e14be5 Fix an endianness problem (EHCI_NULL was being double-swapped). 2004-06-30 03:11:56 +00:00
jmc
7e941f7f6b Add a missing NetBSD tag 2004-06-30 02:55:15 +00:00
christos
01a2047486 PR/25999: Jeff Rizzo: ipf: ipnat is corrupting "bimap" translations in 2.0_BETA and -current 2004-06-29 22:44:59 +00:00
christos
aa17268ea7 PR/25993: Grant Beattie: Ipf parser accepts invalid flags in rules 2004-06-29 22:33:25 +00:00
kleink
eb97ad7f0b Remove redundant tga_getconf() and tga_identify() prototypes. 2004-06-29 21:32:42 +00:00
snj
d4652fb7f7 Add TNF. 2004-06-29 18:12:13 +00:00
oster
4880044636 Remove a (redundant) check that was already performed in raidstart(). 2004-06-29 17:09:01 +00:00
kleink
6075ea53ef In the delay loop, mark the scratch register as earlyclobber. 2004-06-29 16:26:05 +00:00
kleink
bac8f8978b Repair operand constraints in delay(). 2004-06-29 16:21:16 +00:00
martin
6d08c6a728 Translate language selection string. 2004-06-29 16:02:59 +00:00
kleink
1cb7e9cdb5 In the delay loop, mark the scratch register as earlyclobber. 2004-06-29 12:01:11 +00:00
mycroft
1fd9249360 Attempt to fix sbp2_free() so that it doesn't core dump. As noted in PR 21099,
but fixed differently.
2004-06-29 11:10:29 +00:00
simonb
fcd5c633c6 We don't need to announce to the world when setstatclockrate() is called... 2004-06-29 08:12:20 +00:00