Commit Graph

40 Commits

Author SHA1 Message Date
he
3661e4f558 We also need -ltermcap when we use -ledit.
Fixes build problem for sun2.
2007-06-13 07:33:00 +00:00
christos
1b15aa2347 put back readline. I think I fixed the libedit issue. If I did not, then
we should fix libedit further to be compatible with readline.
2007-06-09 17:33:26 +00:00
tls
4147a3c54a Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the
FORTIFY_SOURCE feature of libssp, thus checking the size of arguments to
various string and memory copy and set functions (as well as a few system
calls and other miscellany) where known at function entry.  RedHat has
evidently built all "core system packages" with this option for some time.

This option should be used at the top of Makefiles (or Makefile.inc where
this is used for subdirectories) but after any setting of LIB.

This is only useful for userland code, and cannot be used in libc or in
any code which includes the libc internals, because it overrides certain
libc functions with macros.  Some effort has been made to make USE_FORT=yes
work correctly for a full-system build by having the bsd.sys.mk logic
disable the feature where it should not be used (libc, libssp iteself,
the kernel) but no attempt has been made to build the entire system with
USE_FORT and doing so will doubtless expose numerous bugs and misfeatures.

Adjust the system build so that all programs and libraries that are setuid,
directly handle network data (including serial comm data), perform
authentication, or appear likely to have (or have a history of having)
data-driven bugs (e.g. file(1)) are built with USE_FORT=yes by default,
with the exception of libc, which cannot use USE_FORT and thus uses
only USE_SSP by default.  Tested on i386 with no ill results; USE_FORT=no
per-directory or in a system build will disable if desired.
2007-05-28 12:06:17 +00:00
tls
7d2d02742e Revert previous: the readline support here does unspeakable things with
the history buffer that require knowledge of the readline internals to
make safe (it "knows" that GNU readline mallocs certain returned data,
and thus, with libedit, happily calls free on static variables).
2007-05-28 03:28:58 +00:00
christos
1b3a5dad50 turn on command line editing. 2007-05-27 19:46:31 +00:00
christos
e3277e1c36 don't look at the wrong structure to bring the interface down. Also keep
track of state, and bring the interface back up. This should be pulled to
4.0.
2007-05-27 03:15:34 +00:00
christos
1681ee0f39 unregister the read socket when we deinit, otherwise the stale socket stays
in the select mask, select fails with EBADFD and wpa_supplicant exits. This
should be pulled to 4.0.
2007-05-27 03:14:32 +00:00
seanb
0c835d6548 - Receive sequence counter is little endian on the wire.
Convert to host order before passing to net80211.
- Code inspection: sam
2007-04-26 16:25:56 +00:00
wiz
1763dd287c New sentence, new line. Punctuation fixes. 2006-08-04 20:38:52 +00:00
rpaulo
073f7a97f3 Add missing information. Reviewed by Sam Leffer. 2006-08-04 20:32:47 +00:00
wiz
12df45a0e6 Sort SEE ALSO.
XXX: this file has no license.
2006-06-28 21:10:08 +00:00
drochner
70de924429 there is no ural(4) on NetBSD, this is all ral(4) 2006-06-28 15:06:59 +00:00
mrg
d1e7efd01a commit the correct version of the previous. 2006-06-25 03:03:41 +00:00
mrg
5609a371c9 make MKCRYPTO=no work again. 2006-06-25 03:02:19 +00:00
christos
cc17521d3c Coverity CID 2959: Check before deref dammit. 2006-05-25 03:03:39 +00:00
christos
785022eb47 Coverity CID 2984: Static array overrun. 2006-05-25 03:02:25 +00:00
christos
b956bc8c52 Add a man page derived from the one in the distribution. 2006-05-15 02:17:43 +00:00
christos
588239e93e We don't have a man page yet. 2006-05-15 00:58:46 +00:00
dyoung
bfd03b170f Build and install wpa_passphrase, the utility for making a WPA
pre-shared key (PSK) from an SSID (802.11 "network name") and a
secret passphrase.
2006-05-14 19:51:15 +00:00
dyoung
c0ef0302c7 If ioctl(SIOCS80211) fails, tell which operation was attempted,
and the ioctl length.
2006-05-14 19:49:22 +00:00
mrg
757868b20a include <string.h> 2006-05-11 08:44:07 +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
dan
1c8b9fae53 CIDs 2649, 2650: buf used after free 2006-03-18 12:35:19 +00:00
dyoung
de42319b47 Makefile nit: put -Ddefinitions into CPPFLAGS instead of CFLAGS,
since we need the -Ddefinitions not just for cc(1), but for cpp(1),
lint(1), etc.
2006-03-02 04:49:25 +00:00
wiz
086e1cafc6 Comment out paragraphs/half sentences referring to wlan(4)
and devd(8), which we do not have.
2005-12-12 22:23:22 +00:00
skrll
7044aacdd9 Don't reference stuff we don't have. 2005-12-07 12:20:49 +00:00
rpaulo
b3bf341016 If ENABLE_WPA_SUPPLICANT_EAPOL is defined, add libdes to ${DPADD} and
${LDADD} so that it builds fine.
While there, add libssl to ${DPADD}.
2005-11-17 13:55:29 +00:00
wiz
6e001439cc Remove superfluous quotes. Sort option descriptions.
Add word for easier readability.
2005-10-12 09:19:34 +00:00
wiz
8535679520 Fix typos. Comment out Xr to non-existing make.conf(5). 2005-10-12 09:19:02 +00:00
wiz
c5f11b986b > -> \*[Gt]. Make text more readable. Remove superfluous quotes. 2005-10-12 09:07:34 +00:00
christos
4ee0069616 wpa_supplicant is dual-licensed, so it can stay in /usr/src/dist. 2005-10-01 21:34:01 +00:00
christos
ae7cb086a0 make this build again after the source move to gnu/dist. 2005-10-01 20:46:43 +00:00
scw
d39dbceb8d Add wpa_cli and wpa_supplicant, based on Sam Leffler's work for FreeBSD.
NetBSD can now access a WPA-encrypted wireless LAN.
2005-10-01 18:50:12 +00:00