Commit Graph

180090 Commits

Author SHA1 Message Date
tteras
f273c7c2bb Orignally from Bin Li: Fix possible memory corruption in binsanitize(). 2009-04-20 13:23:54 +00:00
tteras
a2f9e36ab3 From Stephen Bevan: Fix a x509 signature verification memory leak. 2009-04-20 13:22:41 +00:00
tteras
b1fd61f62f Originally from Bin Li: Fix a crash with racoonctl logout user. 2009-04-20 13:22:00 +00:00
tteras
8759a6c72c Fix a memory leak in nat-t keepalive code. 2009-04-20 13:17:35 +00:00
tteras
8c22b469e0 From Paul Moore: Phase2 message id's should be unique wrt phase1, not
globally.
2009-04-20 13:16:52 +00:00
tsutsui
bd6f58e511 Set STRIPFLAG= after ${MAKECONF} is included by <bsd.own.mk> via <bsd.prog.mk>.
Fixes PR install/40492.
2009-04-20 13:15:12 +00:00
pgoyette
e59bbd6c14 Missed this file in previous commit. This finished updates required
to enable support of i2c quick_{read,write} operations.
2009-04-20 12:58:33 +00:00
pgoyette
be22fa2534 One more i2c quick_{read,write} update. 2009-04-20 12:55:02 +00:00
pgoyette
9929afbc35 One more implementation of the quick_{read,write} I2C protocol. Note
that this is currently used only by the I2C_SCAN code (disabled by
default).

XXX Not tested due to lack of hardware.  Reviewed by simon@ and shige@.
2009-04-20 12:11:50 +00:00
mschuett
0d53a16d76 Add queue macros SLIST_FOREACH_SAFE, STAILQ_FOREACH_SAFE, STAILQ_LAST,
SIMPLEQ_CONCAT, and SIMPLEQ_LAST.

Remove seperate definitions outside of queue.h.
2009-04-20 09:56:07 +00:00
wiz
51004b901f Remove duplicate 'the' found by Jukka Salmi. 2009-04-20 08:37:22 +00:00
mrg
b17615a1f1 also obsolete Xp lint files for xorg. 2009-04-20 05:12:21 +00:00
mrg
0702cd1b2d don't need to build mkg3states without lbx. 2009-04-20 05:11:19 +00:00
mrg
e23cb6b0a7 remote dead xorg info 2009-04-20 04:11:26 +00:00
mrg
a89c8d6ca6 delete lbxutil and lbxproxy. 2009-04-20 04:03:49 +00:00
mrg
9a0a6d5470 don't need X11R7 Xprint* directories anymore. 2009-04-20 03:56:59 +00:00
mrg
5e9e14ff6e part two of excising Xprint support from native xorg:
- delete libXp, libXprintAppUtil and libXprinUtil
- delete printproto
- delete xphelloworld, xplsprinters, xprehashprinterlist,
  xpsimplehelloworld and xpxthelloworld


i'll be removing the sources shortly.
2009-04-20 03:07:13 +00:00
christos
0852251407 PR/41250: David H. Gutteridge: librefuse fuse_opt.h header doesn't accommodate
C++ compilation
2009-04-19 22:25:29 +00:00
rmind
419f4aa241 - Remove a bunch of unused declarations in proc.h header.
- Move yield() and suspendsched() to sched.h, where they should belong.
2009-04-19 22:15:39 +00:00
mrg
68b1f14092 oops. these files should never have made it in here. 2009-04-19 21:43:44 +00:00
mrg
3d49c6ee6e in preparation for removing Xprint:
- retire libXaw8
- remote Xprint support from xmore
- bump libXaw7 to major 10 so that "libXaw.so" gets a new SONAME, and
  make it the "libXaw" used.


XXX: this probably should be pulled up to netbsd-5, which is why i have
XXX: separated it out from the general Xprint removal
2009-04-19 21:36:46 +00:00
tsutsui
12de89c17b Fix harmless merge botch. 2009-04-19 18:08:56 +00:00
ad
4d8f47ae2f cpuctl:
- Add interrupt shielding (direct hardware interrupts away from the
  specified CPUs). Not documented just yet but will be soon.

- Redo /dev/cpu time_t compat so no kernel changes are needed.

x86:

- Make intr_establish, intr_disestablish safe to use when !cold.

- Distribute hardware interrupts among the CPUs, instead of directing
  everything to the boot CPU.

- Add MD code for interrupt sheilding. This works in most cases but there is
  a bug where delivery is not accepted by an LAPIC after redistribution. It
  also needs re-balancing to make things fair after interrupts are turned
  back on for a CPU.
2009-04-19 14:11:36 +00:00
ad
d857e7b19e call rw_obj_init() 2009-04-19 14:04:51 +00:00
ad
e2c5e0a204 In this case "XXX free other data structures XXX" includes stopping and
destroying the callout.
2009-04-19 12:32:52 +00:00
msaitoh
3322726436 regen. 2009-04-19 11:18:07 +00:00
msaitoh
2449d3efc1 Oooops. Back out some of previous my commit. 2009-04-19 11:17:46 +00:00
msaitoh
4d9e9f6912 Some fixes and enhancements:
Both if_bge* and brgphy.[ch]:
    Check the parent's MAC and use the quirk code for the bug like OpenBSD and
    FreeBSD. Some bugs can't identify the PHY ID. For example, 5704 Ax has the
    ADC bug, but 5704 A3 and 5704 B0 have the same PHY ID and revision. Add
    BGE_PHY_CRC_BUG, BGE_PHY_ADC_BUG, BGE_PHY_5704_A0_BUG, BGE_PHY_JITTER_BUG,
    BGE_PHY_ADJUST_TRIM and BGE_PHY_BER_BUG for this flag. Some of the DSP
    patches are newly taken from OpenBSD and FreeBSD.

  if_bge*:
    Remove duplicated BGE_CHIPID_BCM5714_A0 entry in the known CHIPID table.
    Fix obsolete comments.

  brgphy.[ch]:
    Add some PHY IDs.

TODO:
  Add more three quirk code into bge and brgphy (the brgphy side's are
  currently #if0'ed).
  Add support for bnx into brgphy (currently #if0'ed)
2009-04-19 11:10:36 +00:00
msaitoh
559b0165b6 Add mii_mpd_rev to keep MII PHY revision. 2009-04-19 10:47:48 +00:00
msaitoh
ed6e698500 regen 2009-04-19 10:25:48 +00:00
msaitoh
a57ebfe2e5 Add some boradcom's PHYs.
Sort.
2009-04-19 10:25:25 +00:00
mrg
8cf404da0f add a NetBSD_DISABLED_* target for config.h.in. 2009-04-19 10:22:10 +00:00
mrg
fc2793ab5b add some code to cope with dev.db's that have 32 bit time_t's in them.
shouldn't be relevant very much as dev.db should be re-created at boot,
but it helped me at least twice so far...
2009-04-19 10:19:26 +00:00
lukem
193dbe5711 fix -Wshadow 2009-04-19 08:53:37 +00:00
ad
8625673e64 Add SPCF_NOINTR to indicate that the CPU has been shielded from hardware
interrupts (as SPCF_OFFLINE is to unbound LWPs).
2009-04-19 08:45:09 +00:00
lukem
9a5b6d41c6 fix -Wshadow 2009-04-19 08:40:48 +00:00
ad
a8bd3c39aa Add rw_obj_*() functions to mirror the existing mutex functions.
Proposed on tech-kern quite some time ago.
2009-04-19 08:36:04 +00:00
lukem
0350114585 Fix WARNS=4 issues (-Wshadow -Wsign-compare) 2009-04-19 07:54:08 +00:00
lukem
96bb91fe3c Fix WARNS=4 issues (-Wextra -Wshadow) 2009-04-19 07:49:07 +00:00
lukem
6bc6e73b91 Fix -Wsign-compare issues 2009-04-19 06:09:42 +00:00
lukem
d3d3aa621a Fix WARNS=4 issues (-Wshadow -Wcast-qual -Wsign-compare) 2009-04-19 06:06:39 +00:00
lukem
9797780352 Fix -Wsign-compare issue 2009-04-19 04:01:06 +00:00
tsutsui
0ec9ab77d8 Remove number parameters from pseudo-device loop and ipfilter. 2009-04-19 03:06:22 +00:00
tnozaki
41a9bd5969 fix reliability issue.
if wcwidth(3) return -1, nvi may crash by memory fault.
2009-04-19 02:28:19 +00:00
lukem
c7dd380491 Fix -Wsign-compare issues 2009-04-19 02:25:48 +00:00
lukem
228475234f Fix WARNS=4 issues (-Wextra -Wsign-compare) 2009-04-19 01:53:17 +00:00
lukem
6363aba79d Fix WARNS=4 (-Wcast-qual -Wextra) 2009-04-19 01:52:09 +00:00
lukem
975b87b4f5 Fix -Wcast-qual and -Wshadow issues 2009-04-19 00:56:32 +00:00
lukem
802fa86c68 Fix -Wcast-qual issue 2009-04-19 00:44:49 +00:00
lukem
dfb301f79f Fix WARNS=4 issues (-Wshadow -Wcast-qual) 2009-04-19 00:26:18 +00:00