Commit Graph

105047 Commits

Author SHA1 Message Date
itojun 66578bbe09 use strlcpy. correct mis(non-)use of buflen argument. 2002-11-17 01:50:01 +00:00
wiz e991211bf2 Drop trailing space. 2002-11-17 01:28:18 +00:00
wiz c59faa6fa4 Bump date. Sort options. New sentence, new line. Other minor fixes. 2002-11-17 01:26:30 +00:00
manu c6cc98345b Correctly report the CPU type in Mach host_info(BASIC_INFO) 2002-11-17 01:24:03 +00:00
lukem 1be07ae391 In ssh check, ensure that ${DESTDIR}/etc/moduli is up to date.
Supports either ${SRCDIR}/crypto/dist/ssh (if using -s on a src tree)
or ${SRCDIR}/etc (if using -s on an extracted etc.tgz set) for the
"source" location of moduli.
2002-11-17 01:04:46 +00:00
manu 93df539f73 As we use one FreeBSD file for COMPAT_DARWIN, we must include file.freebsd 2002-11-17 00:59:13 +00:00
lukem 4befe83846 todo item: check etc/moduli (if possible) 2002-11-17 00:49:54 +00:00
wiz a6e74f9b81 Remove trailing space. 2002-11-16 23:54:16 +00:00
itojun d8cb639e16 use strlcpy to ensure string termination 2002-11-16 23:34:30 +00:00
itojun 5d1183fefb use strlcpy/cat 2002-11-16 23:30:32 +00:00
dyoung d910717d01 Correct content. Style nits. 2002-11-16 23:09:44 +00:00
itojun 9937085dea isc dhcp 3.0.1rc10 is out 2002-11-16 23:02:44 +00:00
dyoung 8804a2c4e6 Removed deprecated flags from wiconfig(8) manual page. 2002-11-16 22:56:06 +00:00
oster 01b2347533 Catch up on some documentation stuff:
- add a note about adding 'swapoff=YES' to /etc/rc.conf
- add a note about not using raid0[cd] for a filesystem.
- filesystems -> file systems
2002-11-16 22:49:48 +00:00
dyoung 3e30600b49 Add flag -g, set fragmentation threshold. Also, query RSSI->dBm
conversion constant.

Remove flags

  -c Create IBSS: use ifconfig wi0 mediaopt adhoc, which turns on the
                  802.11-compliant behavior
  -e enable WEP: use ifconfig wi0 nwkey ...
  -f set channel: use ifconfig wi0 chan ch
  -k set WEP keys: use ifconfig wi0 nwkey ...
  -n set desired SSID to join in IBSS mode: use ifconfig wi0 nwid id
  -p set the desired port type: use ifconfig wi0 mediaopt ...
  -q set SSID to create: use ifconfig wi0 nwid ...
  -t set TX rate: ifconfig wi0 media ...
  -A set authentication type: ifconfig wi0 nwkey ...
  -S set maximum sleep interval: ifconfig wi0 powersavesleep ...
  -P enable power management: ifconfig wi0 powersave
  -T select WEP key for transmitted packets: ifconfig wi0 nwkey n:k1,k2,k3,k4
  -Z unimplemented

which duplicate ifconfig functions. This leaves flags

  -a access point density
  -o print out statistics counters
  -s set station name for Lucent WaveMANAGER software
  -M enable/disable "microwave oven robustness"
  -R enable/disable roaming function

which affect wi(4)-specific parameters, and flags

  -D scan once for access points
  -d maximum data length
  -m set MAC address
  -r set RTS/CTS threshold

which affect 802.11-standard parameters and activities (so may not
belong in wiconfig, in the long-term). The new flag, -g, also
affects an 802.11 parameter.
2002-11-16 22:39:57 +00:00
gson 96f1cc8289 Fixed race condition that would cause make -j to pause for five
seconds if a SIGCHLD arrived while make was not blocked in poll(),
by making the SIGCHLD handler write to a pipe included in the poll.
Avoided the need to implement a duplicate fix for the USE_SELECT case
by emulating poll() in terms of select() when USE_SELECT is defined.
Fixes bin/18895.
2002-11-16 22:22:23 +00:00
manu a26a564e59 Implment map_fd mach trap
Fix host_info(BASIC_INFO) which was broken wrt to the number of field
returned.
2002-11-16 20:00:29 +00:00
manu 745fc5c9a0 Change a syscal name 2002-11-16 19:59:19 +00:00
rearnsha 6576c49b48 Add an assembler version of strcmp, based on example code from the ARM
ARM.  As an example of the performance difference that this provides
a Dhrystone score on my Shark goes from 213k to 261k.
2002-11-16 18:27:40 +00:00
oster c1058540a3 Cleanup and update usage(). 2002-11-16 17:22:36 +00:00
oster 0cfd5a5b13 Cleanup more printfs. 2002-11-16 16:59:58 +00:00
oster c00752f98a Clean up error reporting, and nuke some printf verbosity. 2002-11-16 16:49:46 +00:00
itojun ff4dc2f86d set sa_len right 2002-11-16 16:39:55 +00:00
itojun 75af200131 die if strdup fails 2002-11-16 16:02:03 +00:00
itojun 5f2d0b666f error handling on strdup failure 2002-11-16 15:59:26 +00:00
itojun 07780ab297 die if strdup failure 2002-11-16 15:43:52 +00:00
itojun 35ddf151dc die if strdup fails 2002-11-16 15:41:17 +00:00
itojun 967caa5cd2 cleanup makefile - use correct CLEANFILES, LDSTATIC and stuff
XXX why -g by default?
2002-11-16 14:25:10 +00:00
itojun 94ccb14a99 use strlcpy. use sizeof() instead of xxLEN to avoid de-synchronization 2002-11-16 14:15:35 +00:00
itojun 949bb0438c use strlcpy. initialize sa_len correctly. 2002-11-16 14:09:16 +00:00
itojun 4606602797 use strlcpy. sync w/kame 2002-11-16 14:06:56 +00:00
itojun d118467d1c use strlcpy 2002-11-16 13:45:10 +00:00
itojun 6bf8c47b32 we can't do {} while (0) for TEST() macro since it has "break" which
goes out of the switch statement.  from shin-ichi kaneta.
2002-11-16 13:42:36 +00:00
wiz b40029428b Sort some arch lists, grammar and whitespace fixes.
Bump date for COMPAT_DARWIN/COMPAT_MACHO additions.
2002-11-16 12:28:04 +00:00
grant fc7122989c minor mdoc and whitespace cleanup. 2002-11-16 11:42:33 +00:00
manu 7c8e5410cd Added COMPAT_MACH, COMPAT_DARWIN, and EXEC_MACHO. Updated LINUX supported
archs.
2002-11-16 11:35:47 +00:00
tsutsui 435b887237 Regen: Add SMC 9232DST Ether 10/100 Fast Ethernet EISA Adapter. 2002-11-16 10:04:19 +00:00
tsutsui 396a6a2863 Add SMC 9232DST Ether 10/100 Fast Ethernet EISA Adapter. 2002-11-16 10:03:32 +00:00
wdk 16364da176 Target address for jump was out of range for the assembler instruction. 2002-11-16 08:55:05 +00:00
wdk e1445fed24 #include <lib/libkern/libkern.h> 2002-11-16 08:51:27 +00:00
wdk c6eb5c7171 Catch up with the recent toolchain changes:
add -mno-abicalls to AFLAGS
 add -msoft-float  to CFLAGS
2002-11-16 08:48:13 +00:00
mrg 3090c3d834 note vnd(4) LKM 2002-11-16 08:23:47 +00:00
mrg 20998b4001 vnd.c
- allow vnddetach() to return EBUSY if any vnd's are currently initialised.
lkm:
- add new 'dev' directory, initially with just a 'vnd' LKM.  for now, the
vnd lkm driver requests 4 devices....

XXX: vnd should be converted to a psuedo-device that creates & deletes
instances of itself (vnd0, vnd1, etc) when vnconfig -c/-u are called,
then the vnd lkm driver can not be limited to '4' by default.
2002-11-16 08:10:48 +00:00
uebayasi c041971257 Fix compilation errors introduced by recent trace_enter()/ktrsyscall() changes.
Provided by FUKAUMI Naoki <naoki at fukaumi dot org> in kern/19070.
2002-11-16 07:40:38 +00:00
dyoung 3a04dc2907 In wi_get_cfg, factor the code for getting the tx rate with the
IEEE 802.11 subsystem.

In wi_write_txrate, document the clever code for computing
WI_RID_TX_RATE from a bit rate.
2002-11-16 06:25:05 +00:00
dyoung 1cfe0913f5 Fix typo: IEEE80211_FC0_SUBTYPE_CF_ACK_CF_ACK becomes
IEEE80211_FC0_SUBTYPE_CF_ACK_CF_POLL. This is the name the IEEE
802.11 specification indicates.
2002-11-16 06:08:31 +00:00
dyoung f675f5f8b5 Support two new RIDs.
WI_RID_DBM_ADJUST: In preparation for capturing Prism packets
  containing received signal strength indications (RSSI), read the
  constant for conversion from RSSI to dBm (decibels relative to
  a milliwatt).

  WI_RID_FRAG_THRESH: Get/set the packet fragmentation threshold
  on Lucent/Prism.
2002-11-16 06:02:53 +00:00
itojun 0cf92ab036 use strlcpy 2002-11-16 05:24:44 +00:00
itohy 4ceec823fb Regen (add maple devices) 2002-11-16 04:55:06 +00:00
itohy d071615e40 Add maple devices to comment. 2002-11-16 04:53:55 +00:00