Commit Graph

7713 Commits

Author SHA1 Message Date
martin
1e34bd3ea3 struct ieee80211_node_sysctl does not align ns_tstamp properly to directly
access it as a 64bit int - memcpy to stack and use the aligned copy
instead.
2006-06-30 21:30:19 +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
drochner
a2362baffb if a data read from the interface fails, print the "wreq" type
before erroring out
2006-06-28 15:05:54 +00:00
hubertf
611d442807 Update usage() to match the manpage - most important, add missing options 2006-06-27 23:33:21 +00:00
christos
5efc77fb1e use realloc instead of free+calloc 2006-06-27 12:39:23 +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
wiz
4659bd50a3 Sort options in usage(). 2006-06-24 21:04:48 +00:00
wiz
4b8efa57bb Sort options. 2006-06-24 21:03:57 +00:00
christos
ab547228f5 Add a -g switch to retrieve the current vt. 2006-06-24 19:57:32 +00:00
christos
876fcff6e8 warns=4 2006-06-24 19:57:17 +00:00
mrg
9bf1d4a9b8 work around some GCC4 internal problems on m68000 platform.
document the hack, and update another GCC4 list.
2006-06-24 05:21:11 +00:00
mrg
2ed89a9707 add support for MKISCSI=no. 2006-06-24 05:14:01 +00:00
drochner
d02011e188 set NTP_KEYSDIR to "/etc/ntp" so that the crypto/autokey/leapseconds stuff
works as before
2006-06-23 16:58:58 +00:00
jdc
f00029f865 Don't include <dev/raidframe/raidframevar.h> but define RF_PROTECTED_SECTORS
directly.

Including raidframevar.h needs several definitions adding to the compat
framework for the tools builds, which aren't needed here.

XXX It's probably sensible to split off the few defines from raidframevar.h
    into a separate header file.
2006-06-20 14:04:22 +00:00
jdc
373c752392 Add support for finding files on RAID partitions. This allows us to
add the block list of the 2nd stage boot loader to the 1st stage boot
loader when the partition is a RAID partition.  Tested on sparc.

Reviewed by gdt.
2006-06-20 05:37:24 +00:00
gdamore
a5c89047c0 Initial import of bluetooth stack on behalf of Iain Hibbert. (plunky@,
NetBSD Foundation Membership still pending.)  This stack was written by
Iain under sponsorship from Itronix Inc.

The stack includes support for rfcomm networking (networking via your
bluetooth enabled cell phone), hid devices (keyboards/mice), and headsets.

Drivers for both PCMCIA and USB bluetooth controllers are included.
2006-06-19 15:44:33 +00:00
reed
5fe28dc7e5 Fix typo or mispelling. 2006-06-17 04:58:14 +00:00
reed
ad5640a8e8 Fix mispelling. 2006-06-17 02:22:02 +00:00
elad
51d6ae51f1 mark strcpy as safe 2006-06-17 00:16:13 +00:00
christos
8852dbf5f6 This has not worked since 2003. (Hello Itojun!) 2006-06-15 19:32:55 +00:00
he
255c2c88af We don't have the <ieeefp.h> header if we're compiling for vax, so
add an ifdef around HAVE_IEEEFP_H.
2006-06-14 20:30:56 +00:00
ginsbach
d59a581d86 Adapt rpcbind(8) to new return value from socket(2) for unsupported
address families.
2006-06-14 16:25:17 +00:00
kardel
8704ff927b import and integrate NTP 4.2.2 2006-06-11 19:34:07 +00:00
martin
6da7ec83d0 Cast yytext values to unsigned char when testing with isspace() to avoid
sign extension effects for non-ASCII characters.
2006-06-11 19:25:19 +00:00
martin
b9a75d90c7 Some windows .INF files are UNICODE - extend the scanner to deal with this. 2006-06-11 17:02:07 +00:00
tron
3421be369d Remove "/var/spool/clientmqueue" and "/var/spool/mqueue" from the list
of obsolete directories and handle them via the "sendmail" item in
postinstall(8), too. These directories are of course necessary on
systems using the "sendmail" package.

Problem pointed out by Hisashi T Fujinaka on "current-users" mailing list.
2006-06-09 21:19:40 +00:00
tron
c5ddcac518 Remove the "sendmail" configuration files and startup scripts from the
list of obsolete files. Resurrect the "sendmail" item which now flags
these files as obsolete unless the "sendmail" package is installed.
2006-06-09 12:18:30 +00:00
simonb
b93b04bf77 Sort the obsolete rc.conf(5) variables to check, and only check
sysctl once(!).
2006-06-08 20:58:38 +00:00
kardel
d3390a5a9b merge timecounter branch 2006-06-07 20:59:28 +00:00
reed
4cfce7b21f Check return value for setgid(), initgroups(), and setuid().
Log error and exit if failure.
2006-06-05 16:41:34 +00:00
christos
b3c28e1d64 kill explicit size printing in warning. 2006-06-03 21:55:28 +00:00
christos
98917af5f7 Increase the size of the array by two, so that we fit. 2006-06-03 17:29:56 +00:00
christos
842c42957f check the return value of setsid. 2006-06-03 16:02:30 +00:00
jnemeth
b7899a65bc try again with the Coverity annotation 2006-06-02 21:44:37 +00:00
hubertf
924dbbdb7d Fix fix for Coverity CID 2751:
Move an error check to the right place, and instead of blindly insisting on
an argument for all of "no-emul-boot", "no-boot", "hard-disk-boot" and
"boot-load-segment", only require it for the last one, which is the only
one that requires/uses it.

OK'd by Christos
2006-06-01 21:06:37 +00:00
rpaulo
134b1ef326 Add missing coma. 2006-05-31 20:23:52 +00:00
rpaulo
fc5eb63af6 It doesn't make sense to print the MPLS ttl here.
While here, make the output look like Cisco IOS. Suggested by Mihai CHELARU.
2006-05-31 20:22:52 +00:00
tron
300dbf11e5 Check whether user and group "postfix" exist. 2006-05-30 19:31:13 +00:00
tron
73575a68a2 After removal of "sendmail":
- Remove the code dealing with "sendmail" updates.
- Don't check for the existence of user and group "smmsp" any more.
- Remove "/etc/rc.d/smmsp" and "/etc/rc.d/sendmail" because there defaults
  have been removed from "/etc/defaults/rc.conf".
2006-05-30 05:53:24 +00:00
drochner
46e4eb1dd0 NetBSD has now "struct timespec" in ntptimeval 2006-05-29 10:04:13 +00:00
hubertf
5fdc69efae Xref a few more manpages: user(8), group(8), ... 2006-05-29 01:38:33 +00:00
jnemeth
4c99f4ecf2 unlink temp file in error case 2006-05-28 11:33:56 +00:00
martin
ad53adb7c1 Make "entries" optional - so that echo system > /etc/isdn/isdnd.rc; isdnd
works.
2006-05-27 20:11:14 +00:00
jnemeth
d9a7dcfba5 Coverity annotation -- although memsave free()s its first argument, it
will allocate memory and assign it to its first argument, so it is neutral
Coverity CID 3229:  memory leak -- failed to fclose() master in moduser()
Coverity CID 3228:  memory leak -- failed to free() newname in groupmod()
2006-05-27 03:41:48 +00:00
jnemeth
62381dbddf Coverity CID 3785: calling fclose() twice on same file pointer
Coverity CID 3780: dereference of NULL pointer
Approved by: christos@
2006-05-26 13:21:47 +00:00
jnemeth
305a7bfee2 In bincvt() use fdopen() on the fdesc returned by mkstemp(), instead
of fopen().
2006-05-26 11:45:31 +00:00
jnemeth
693e9aec19 Coverity CID 2977: failed to check for error return from ftell() 2006-05-26 11:13:20 +00:00
jnemeth
e10c71d2be Coverity CID 3685: memory leak
While here, check for failure to create temp file in bincvt() and close
unused file descriptor.

XXX bincvt() should be rewritten to use fork()/exec() instead of system().
2006-05-26 10:59:58 +00:00