Commit Graph

133519 Commits

Author SHA1 Message Date
xtraeme
844f4c525d Kill __P(), ANSIfy, remove main() prototype; WARNS=2 2005-01-19 20:37:52 +00:00
xtraeme
d4a0de51f8 Kill __P(), ANSIfy, remove main() prototype; WARNS=2 2005-01-19 20:19:04 +00:00
xtraeme
65e67723b5 Kill __P(), ANSIfy, remove main() prototype. 2005-01-19 20:00:45 +00:00
xtraeme
0f821b7962 ANSIfy, WARNS=2 2005-01-19 19:41:59 +00:00
xtraeme
ccde05f070 Kill __P(), ANSIfy, remove main() prototype; WARNS=2 2005-01-19 19:31:28 +00:00
christos
a31e08fdfc - test for too long username (from Greg Woods)
- centralize id and time_t parsing, providing better error checking of
  numeric values; previously the code would accept 12foo as an expiration
  or change time.
- fix issue with dereferencing null flags in compat code.
- ansify, KNF
2005-01-19 19:13:38 +00:00
xtraeme
665b6c1237 Add 'P' (progress meter flag) to getopt()'s optstring, remove
main() prototype.
2005-01-19 17:48:15 +00:00
xtraeme
52781d1897 Kill __P(), ANSIfy and WARNS=2 2005-01-19 17:33:58 +00:00
wiz
442b6cb908 Add -P to usage. 2005-01-19 16:42:14 +00:00
wiz
b15d62ff8b Sort options. Bump date for -P. Remove superfluous -. 2005-01-19 16:41:04 +00:00
wiz
0826288907 Sync usage with reality. 2005-01-19 16:38:28 +00:00
yamt
fc08656a20 implement inaccurate mtime/ctime detection.
namely, if mtime or ctime are same between pre_op_attr and post_op_attr
when we expected them to be changed, don't trust the server.
2005-01-19 16:22:19 +00:00
wiz
9817d5f00a Sort options. 2005-01-19 16:13:57 +00:00
martin
5e83f0d7e8 Remove deleted interfaces from the instance list (inspired by an OpenBSD
change). While there, fix a comment.
2005-01-19 15:05:55 +00:00
cube
5c44c50b34 Default to using (well, assuming) bpf. 2005-01-19 14:59:08 +00:00
chs
40345beaa3 ibm4xx/pte.h is no more. 2005-01-19 14:46:26 +00:00
kleink
5146404da8 Rename wprintf() to w_printf() to prevent a clash with the 9899/AMD1
function of the same name; suggested by J.T. Conklin on tech-userlevel.
2005-01-19 14:13:21 +00:00
tsutsui
5ba33512a0 Add ${X11FLAGS.OS_DEFINES} and ${X11FLAGS.EXTENSION} to CPPFLAGS
since xsrc/xfree/xc/programs/Xserver/hw/sun/Imakefile has
$(OS_DEFINES) and $(EXT_DEFINES) in its DEFINES. (untested)
2005-01-19 13:13:43 +00:00
skrll
3c62992580 Re-run mknative for hppa binutils update. 2005-01-19 12:57:36 +00:00
skrll
a57de08708 hppaelf_create_output_section_statements is valid for the NetBSD hppa
vector.

ld(1) no longer core dumps on valid shared libraries.
2005-01-19 12:49:30 +00:00
chs
cbbe63f8de make this build again without sun4/4c. 2005-01-19 12:01:52 +00:00
simonb
d22ebd9247 White space nit. 2005-01-19 11:41:07 +00:00
cube
daeec6c990 ethfoo(4) is no more. You'll find everything under sys/net/if_tap.[ch]
and sys/lkm/net/tap/if_tap_lkm.c.
2005-01-19 11:12:11 +00:00
cube
fead024e60 LKM version of if_tap, derived from ethfoo code. 2005-01-19 11:09:05 +00:00
cube
755855a1f9 Make this LKM-friendly by using _KERNEL_OPT and having a prototype for the
sysctl setup function.
2005-01-19 10:18:40 +00:00
cube
6971b4d382 if_tap.c needs NBPFILTER flag. 2005-01-19 10:17:00 +00:00
dyoung
a10b4b5f6b Keep a count of free transmit/command descriptors, sc->txfree.
Make the transmit section reserve one descriptor for issuing a
command at all times.  If either transmit descriptors run out, or
header/buffer software descriptors run out, set IFF_OACTIVE and
get out of ipw_start, rather than re-using a descriptor or trying
to use a NULL descriptor that comes off the front of an empty
descriptor tailqueue.

This ought to fix port-i386/27439 and kern/28683.
2005-01-19 06:00:22 +00:00
dyoung
7f9c7dad5a For a proper IBSS merge, we have to discard the old beacon packet,
create and queue a new one that carries the new BSSID.  I mined
net80211 in FreeBSD for the solution, which is to make an
IEEE80211_S_RUN->IEEE80211_S_RUN state transition---ath_newstate
discards the old beacon packet creates a new one by calling
ath_beacon_alloc.

I tested the merge as follows.  Starting at my desk on the second
floor of the building where I work:

soekris% ifconfig ath0 mediaopt adhoc ssid zzz chan 11 down

powerbook% ifconfig rtw0 mediaopt adhoc ssid zzz chan 11 up

soekris% sleep 25; ifconfig ath0 up

I raced to the elevator with my Powerbook, pressed the "Down"
button, got in, and pressed "Floor 1."  At the first floor:

powerbook% ifconfig rtw0 | grep bssid
        bssid 02:p:p:p:p:p chan 11

I waited 25 seconds.  I pressed "Floor 2."  At Floor 2, I returned to my desk.
I checked to make sure that the Soekris console read:

soekris% ath0: creating bss 02:s:s:s:s:s
ath0: bss merge 02:s:s:s:s:s -> 02:p:p:p:p:p

0:s:s:s:s:s is the Soekris' WLAN MAC.  0:p:p:p:p:p is the Powerbook's
WLAN MAC.  Each created an ad hoc-mode BSSID from its WLAN MAC by
OR'ing 0x2 with the first octet.

My Powerbook created a network while the Soekris radio was off.
The Soekris radio turned on while I was in the 802.11-impervious
elevator with my Powerbook.  When I returned to the second floor,
the Soekris "heard" beacons from my Powerbook as the elevator door
opened.  Since the Powerbook's network was approximately 25 seconds
older than the Soekris', and since it had the same SSID (zzz) as
the Soekris', the Soekris merged with the Powerbook's network (by
setting its BSSID) as it should.
2005-01-19 04:56:42 +00:00
chs
7cd6a571a5 when determining the rom address, use only the IODC model and revision info,
not the unit number (from jkunz).  add two more revisions that use the
pagezero info (one from openbsd, one from me).
2005-01-19 03:30:21 +00:00
uwe
a1b87c0ac3 Shuffle persona_hpw200ec_keytrans[] to match recent change to
pfckbd_callout_hitachi().

Fix KEY_SPECIAL_OFF for both Persona machines.

From KIYOHARA Takashi.
2005-01-19 03:23:50 +00:00
chs
ea145b7bd7 use a flag in the softc to indicate if an instance has been configured,
rather than a bit in 32-bit global variable indexed by unit number.
2005-01-19 02:13:02 +00:00
chs
b9e81e5420 amiga no longer abuses cf_unit. 2005-01-19 02:08:55 +00:00
chs
8f2820b4a6 use a flag in the softc to indicate if an instance has been configured,
rather than a bit in 32-bit global variable indexed by unit number.
2005-01-19 02:08:40 +00:00
chs
d42decb9db mac68k no longer abuses cf_unit. 2005-01-19 02:05:04 +00:00
chs
e576d75b00 only one of the obio locators was actually used, so get rid of the others
and collapse the two variations of obio into one.  use the remaining locator
("addr") to differentiate the two possible esp and sbc devices (instead of
using the unit number).
2005-01-19 02:04:49 +00:00
chs
a73e314137 de-__P, remove register, ansify. 2005-01-19 01:58:21 +00:00
mycroft
ebfdf0c012 If TIOCPTMGET fails, close /dev/ptm. 2005-01-19 01:54:09 +00:00
mycroft
debe1484b9 Set FD_CLOEXEC on the recovery mail file. 2005-01-19 01:20:24 +00:00
lukem
8fa2b6b361 Use
${MAKE} ${CRUNCHENV} ...
instead of
	${CRUNCHENV} ${MAKE} ...
so that CRUNCHENV overrides any user-provided command-line make(1) variables.

This fixes /rescue build problems for people who pass settings such
as MKKERBEROS=yes in via the make(1) command-line.
2005-01-19 01:18:59 +00:00
mycroft
c860ec870a Use FD_CLOEXEC (for -exec). 2005-01-19 01:03:16 +00:00
mycroft
e638979d5c Use FD_CLOEXEC. 2005-01-19 00:59:48 +00:00
mycroft
ffa0d5e7ac Also set FD_CLOEXEC in the union re-open case. 2005-01-19 00:53:33 +00:00
mycroft
ffcb3c5a45 Use FD_CLOEXEC. 2005-01-19 00:52:37 +00:00
simonb
a8164658f1 A more accurate microtime() implementation. Avoids precision
errors when the clock frequency doesn't divide nicely in to 10^9.
2005-01-19 00:26:54 +00:00
mycroft
b7e6351cc4 hash already uses FD_CLOEXEC -- pay attention to the return value and make it
a hard failure.

Also make btree and recno uses FD_CLOEXEC.
2005-01-19 00:23:44 +00:00
lukem
ac1f1eff7d reorder lines so bsd.own.mk will be included before USE_INET6 is tested 2005-01-19 00:16:17 +00:00
he
c05b6145f4 Remove extraneous parenthesis, so that this compiles again. 2005-01-18 23:04:40 +00:00
manu
0d884d9738 Remove unneeded \ at the end of line, style 2005-01-18 21:39:11 +00:00
peter
3833bb8f30 Minor cleanup and tweaks, be consistent with the other system admin scripts. 2005-01-18 18:12:55 +00:00
peter
3fafe1c29d Support -current with binary packages installation. 2005-01-18 18:08:30 +00:00