Commit Graph

145835 Commits

Author SHA1 Message Date
jmmv efbda7406a Convert to ANSI prototypes. 2006-04-12 20:06:16 +00:00
dsl c0b0ba1f18 If parameter don't have values, then 'continue' after setting the flag bit.
Fixes coverty CID 776 and removes the need for a 'val = NULL' added to
appease gcc's undefined variable tests.
This parsing code sucks though, it doesn't correctly check for the '='
between a parameter and its value, whitespace can be used instead.
2006-04-12 19:49:59 +00:00
jmmv 38d8c6bf5c Document that the ioctl and mmap accessops now take an extra parameter that
points to the screen on which these were called.
2006-04-12 19:45:17 +00:00
jmmv 7a51d4dddc Add an extra cookie to the ioctl and mmap wsdisplay accessops that points
to the screen on which they are being called.  The driver cannot guess
this by itself but it is needed to implement, at least, the getwschar and
putwschar functions in the correct place.  There are no functional changes
yet.

Tested on i386 (vga, vga_raster, machfb, vesafb), macppc and sparc64.
Suggested and reviewed by macallan@.
2006-04-12 19:38:22 +00:00
drochner 76264cfc6a first step to retire the useless i386_set_ioperm/i386_get_ioperm
calls: remove their manpages
2006-04-12 18:35:42 +00:00
rpaulo fca96e7bd5 Mention wpa_supplicant 0.4.8 and hostapd. 2006-04-12 17:33:47 +00:00
rpaulo 010596a9f2 hostapd 0.4.8 and wpa_supplicant 0.4.8 2006-04-12 17:30:16 +00:00
rpaulo 0d55f26306 Add hostapd man pages. 2006-04-12 16:12:23 +00:00
tsutsui ad492b4bfe Add MI installboot(8). 2006-04-12 15:53:38 +00:00
rpaulo eeb16045e8 Add /usr/sbin/hostapd{,cli} 2006-04-12 15:46:39 +00:00
rpaulo 3bffa8df53 Include opensslv.h. 2006-04-12 15:40:03 +00:00
rpaulo a20cc430b3 Include stdio.h and stdlib.h. 2006-04-12 15:39:39 +00:00
rpaulo 5d6fb58006 Descend into hostapd{,_cli}. 2006-04-12 15:37:48 +00:00
rpaulo dc8d4a9fd1 Build framework for hostapd. Based on FreeBSD.
hostapd.conf.5 man page still incomplete.
2006-04-12 15:37:07 +00:00
rpaulo f8258633d6 NetBSD driver for hostapd based on FreeBSD driver. 2006-04-12 15:36:26 +00:00
rpaulo 33dfcd8fe4 Build framework for hostapd_cli. 2006-04-12 15:35:59 +00:00
rpaulo 927a27fefc Pull ../Makefile.inc and override PATH.c.
Adapt to WPA supplicant 0.4.8.
Change the logic behind ENABLE_WPA_SUPPLICANT_EAPOL: it's now enabled by
default (EAP code has been reviewed by FreeBSD folks according to Sam Leffer).
2006-04-12 15:35:34 +00:00
rpaulo 6d70fc8f1b Pull ../Makefile.inc and define PATH.c. 2006-04-12 15:32:45 +00:00
rpaulo af039b42a3 Don't define .PATH here as it'll be overridden by subdir Makefiles.
Add HOSTAPD_DISTDIR.
2006-04-12 15:31:51 +00:00
rpaulo 179fb23056 New functions/changes required by wpa_supplicant and hostapd 0.4.8. 2006-04-12 15:29:14 +00:00
rpaulo 21617491ff information about upgrades 2006-04-12 15:22:56 +00:00
rpaulo d70157382a Import of hostapd 0.4.8 2006-04-12 15:19:32 +00:00
rpaulo 0865712a46 resolve conflicts 2006-04-12 15:15:34 +00:00
rpaulo 6951c2edba Import of WPA supplicant 0.4.8 2006-04-12 15:07:34 +00:00
cube d84fe1a4d1 The manual for open(2) says that -1 indicate a failure, not 0. And I
really don't think testing the behaviour of open(2) is the subject of that
regression test.  Maybe it was a developer regression test?  Do I get a
cookie?
2006-04-12 14:01:52 +00:00
jmmv 9ebb7ae9e0 Convert the code that fetches bootinfo information and stores it into the
kernel from assembler to C and add several comments to make things clearer.
I've been running with these changes for a couple of months without problems.
2006-04-12 13:48:52 +00:00
simonb 5124fb547a Whitespace nit. 2006-04-12 12:42:27 +00:00
simonb 02119658ff Add a NetBSD RCS id. 2006-04-12 12:30:50 +00:00
martti c114fab687 Added ciss(4). Tested by Joseph Dacuma on HP DL-380 G3 with Smart Array 5i. 2006-04-12 03:41:51 +00:00
christos ddceccd3fb Coverity CID 609: Kill dead code! BANG! 2006-04-12 01:17:41 +00:00
christos e445d1fecf Coverity CID 992: Avoid NULL deref. 2006-04-12 01:16:02 +00:00
christos 468df87a27 Coverity CID 2852: Avoid NULL deref. 2006-04-12 01:12:30 +00:00
christos 9ae6310d36 Coverity CID 2851: Check for NULL before freeing. 2006-04-12 01:09:43 +00:00
christos 08172fe2d0 COVERITY CID 1113: Don't use NULL for VOP_READDIR 2006-04-12 01:05:14 +00:00
christos c904bed6a0 Coverity CID 2319: Plug memory leak. 2006-04-12 00:59:56 +00:00
uwe 03ee8a12f3 Fix typo in comment in previous. 2006-04-11 23:45:13 +00:00
scw 41f5e2c5dd Add "goto done;" in the usbd_open_pipe(IN) failure case.
Coverity CID 2854, via Martin Husemann.
2006-04-11 23:08:08 +00:00
scw 6bf84bea06 Apply the correct fix for Coverity CID 2862. 2006-04-11 23:07:22 +00:00
bouyer 2ed85162e6 Centralize all xenbus /kern entries in xenbus_dev.c, and call
xenbus_kernfs_init() for domain0. Now /kern/xen/xenbus is also present
on domain0.
2006-04-11 22:09:09 +00:00
perseant 575f22cf94 Another MP locking fix. 2006-04-11 22:08:00 +00:00
rpaulo 68699904bd Add two new sysctls protected under IPSEC_DEBUG:
net.inet.ipsec.test_replay - When set to 1, IPsec will send packets with
          the same sequence number. This allows to verify if the other side
          has proper replay attacks detection.

  net.inet.ipsec.test_integrity - When set 1, IPsec will send packets with
          corrupted HMAC. This allows to verify if the other side properly
          detects modified packets.

(a message will be printed indicating when these sysctls changed)

By Pawel Jakub Dawidek <pjd@FreeBSD.org>.
Discussed with Christos Zoulas and Jonathan Stone.
2006-04-11 20:21:28 +00:00
uwe 1860560960 Cosmetic. Same object code generated. 2006-04-11 19:07:54 +00:00
tnozaki 68099f2838 1. make fullwidth space as printble(also blank).
suggested by yamt-san.
2. JISX0201 2/1 - 2/5 is not phonogram, change it as punct.
2006-04-11 18:45:03 +00:00
uwe c73fd1d833 Shave off few instructions by replacing mov src, dst; swap.w dst, dst;
with swap.w src, dst in REDUCE.
2006-04-11 18:42:09 +00:00
uwe 412106574d Shave off few instructions by replacing mov #imm, reg; sub reg, dst
with add #-imm, dst
2006-04-11 18:34:39 +00:00
tsutsui 0761a7c180 Free resources if attach fails. 2006-04-11 18:10:27 +00:00
garbled 0bc64c184c set options PCKBCNOTEST so we attach the keyboard controller. 2006-04-11 17:16:24 +00:00
garbled 1de17f11a8 Add an option PCKBCNOTEST and defopt it. On the prep 7043 and 7248
machines, the keyboard controller will not pass this test, but if you
attach anyway, it works fine.  Note that this test is specifically
disabled in ic/pckbc.c, but given that it seems to work fine on other
machines, leave it defaulted to on.
2006-04-11 17:14:44 +00:00
drochner 839b9aa1ab now that assym.h contains everything and its dog we
don't need param.h anymore, it did just cause
"redefined symbol" warnings
2006-04-11 17:14:07 +00:00
xtraeme 0998485b9d make this build again (initiliaze ntmp). 2006-04-11 16:57:47 +00:00