christos
0bc3d9d62f
Coverity CID 3792: Avoid double free; while I am here avoid NULL deref.
2006-09-27 21:39:15 +00:00
christos
fcf84daa48
Coverity CID 3789: Add assertion before NULL deref.
2006-09-27 21:33:07 +00:00
christos
34fd379e33
Coverity CID 4160: Remove dead code.
2006-09-27 21:22:52 +00:00
plunky
0b73a6ec91
expose the bthcid API details so that external PIN clients do not
...
need the NetBSD source in order to compile
2006-09-26 19:18:19 +00:00
wiz
1192b414ab
Mark up a path with .Pa.
2006-09-24 13:39:36 +00:00
martin
f1dbb9068a
Add a note to explain 'c' (or 'd') partition usage in the common example.
2006-09-24 13:28:50 +00:00
elad
06a208eecf
Move socket calls way up and drop root privileges sooner.
2006-09-24 11:34:35 +00:00
uwe
d2af0aadf3
Handle -b/-u after default display device is added, otherwise
...
change_state() is called while ds_list is still empty (unless a
display device was specificed with -f).
This makes -b/-u actually work.
2006-09-24 01:57:03 +00:00
dyoung
c565b00740
Replace the arp -n -a / arp -n -d rigamarole for cleaning the ARP
...
table with 'route -n flush -inet -llinfo -host', which is not only
more concise, but it doesn't require /usr/ to be mounted. This
lets us close bin/11079.
2006-09-23 22:54:43 +00:00
elad
f5b68de4eb
PR/34593: Arnaud LACOMBE: apm(8) prints meaningless default unknow value
...
for minutes_left
Patch applied, thanks for the report!
2006-09-23 22:06:42 +00:00
dyoung
8adc537db8
Extract common code from set() and delete() into subroutine
...
is_llinfo().
2006-09-23 21:11:14 +00:00
wiz
8651a9dfe6
Sync usage with manpage.
2006-09-23 20:26:25 +00:00
wiz
411b866d61
Sort options. Use more macros.
...
Add a separate line for {-b|-u}
2006-09-23 20:23:14 +00:00
elad
741d9f3bf8
PR/34305: screenblank could be more useful
...
Slightly different patch applied (1.4T is not the same as -current :)
Thanks!
2006-09-23 20:12:15 +00:00
wiz
4257327293
New sentence, new line. Add -c to SYNOPSIS.
...
Create EXIT STATUS section. Bump date for previous.
2006-09-23 20:09:41 +00:00
elad
b35a67141f
Add /lib, /libexec, and /usr/libexec to -D. Update man page.
2006-09-23 19:08:48 +00:00
sketch
e72d64c28d
Resolve the second part of PR/19387 from Greg Woods: print error correctly.
2006-09-23 17:38:42 +00:00
sketch
4fea323db6
Add a -c flag to specify the size of cache to use. For very large databases,
...
increasing this value accordingly gives massive speed improvements.
Prompted by Greg Woods in PR/19387, although mostly taken from FreeBSD.
2006-09-23 17:17:04 +00:00
jmmv
15adcce63e
Add a check to aid in the migration of motd contents between development
...
releases. Suggested by tron@ and approved by silence in tech-userlevel@.
2006-09-23 08:27:52 +00:00
bad
4f0a5e9849
Apply changes to ffs_find_disk_blocks_ufs1() from revision 1.19
...
to ffs_find_disk_blocks_ufs2() too. Except for data types the
code in the two functions is the same.
From the original commit message:
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.
Briefly tested under 3.x/i386.
2006-09-20 21:49:12 +00:00
elad
d2a7cc99dc
Oops, fix test. Pointed out by Matt Fleming, thanks!
2006-09-19 20:37:08 +00:00
elad
c94625dc78
Oops, -S is supposed to be optional. Pointed out by Matt Fleming, thanks!
2006-09-18 20:53:48 +00:00
elad
f8c54c15cf
Add the -S flag, for setting the signatures file immutable after creating
...
it.
2006-09-18 17:47:25 +00:00
wiz
31eaae697a
Improve CAVEATS section. Based on mail by yamt@. Bump date.
2006-09-18 16:03:36 +00:00
elad
47f2f39c75
Oops, forgot to remove -g.
2006-09-18 10:09:31 +00:00
wiz
5e52501584
Sort sections.
2006-09-17 10:27:54 +00:00
elad
ac00894537
Clarify some more, tiny markup fixes. Veriexecgen can be just invoked as:
...
# veriexecgen
after a clean install.
2006-09-17 10:14:36 +00:00
elad
55e6bda6fa
Fix some confusions; pointed out by wiz@, thanks!
2006-09-17 05:04:05 +00:00
wiz
86f767cf74
Drop trailing whitespace. Fix a typo.
2006-09-17 01:02:30 +00:00
elad
8fd10e3884
Add an EXAMPLES section.
2006-09-16 21:41:59 +00:00
elad
c1ea404a01
crypto/sha1.h -> sha1.h
2006-09-16 21:26:02 +00:00
elad
ade08c91dc
Add a C version of Veriexec's fingerprint generator, written by Matt
...
Fleming.
This one has some nice options -- for example, an admin can run right
after installing a system:
fpgen -D
and it will fingerprint a set of "common" system directories to the
default loaction. See the man-page for more stuff.
Performance-wise, here are results for both fpgen.sh (old) and this
new tool:
474.599u 574.335s 13:53.05 125.9% 0+0k 0+307io 0pf+0w
0.424u 0.131s 0:00.56 98.2% 0+0k 0+2io 0pf+0w
...guess which is which? (that's ~1500 times *faster*)
2006-09-16 20:54:42 +00:00
christos
6ec268c772
PR/30879: Jukka Salmi: syslogd(8) doesn't parse `@' hostname specification
...
correctly
2006-09-16 17:05:32 +00:00
christos
6051bcc73f
PR/28753: Martin J. Laubach: syslogd disables remote logging on non-fatal errors
2006-09-16 16:57:27 +00:00
wiz
8d3165ac32
Sync usage with man page (-b).
2006-09-16 06:34:55 +00:00
manu
d542f7adc2
Fix build
2006-09-16 06:19:50 +00:00
christos
ca09b578d0
PR/14563: Brian A. Seklecki: syslogd binds udp sockets on all interfaces
...
Add -b option to pass a bind address.
2006-09-15 20:32:59 +00:00
pavel
580077ee81
add a period after a sentence.
2006-09-12 20:48:47 +00:00
pavel
b1328dedeb
describe how to suppress printing of "type" keyword when -k is used.
...
bump date.
2006-09-12 20:22:49 +00:00
dbj
5671786b47
fix problem with file_exists_exact where it was returning false
...
for dangling symlinks because it was checking them with test -e
2006-09-12 01:15:16 +00:00
dbj
ad69f7c05a
fixes for building into case preserving, but case insensitive $DESTDIR
...
- have checkflist do a second possibly case insensitive check for
files which are missing from DESTDIR
- have postinstall require exact case matches for obsolete files
2006-09-11 22:16:10 +00:00
plunky
ed4d8d47a0
also include service name in dictionary being sent to kernel.
...
(this is not used just yet, but it might be in the future and it will
be easier if we dont have to provide code to handle its absence)
2006-09-11 18:30:27 +00:00
wiz
6d434b9d71
Drop trailing space.
2006-09-10 22:21:58 +00:00
wiz
97c200c877
Sort options.
2006-09-10 21:09:48 +00:00
wiz
59dbad538e
Sort sections. Sort options. Fix Xref section.
2006-09-10 21:08:56 +00:00
he
d4831ce469
Print explicit 64-bit types using the format macros from int_fmtio.h.
...
Unbreaks the build for our LP64 ports, where "long long" typically is
not 64 bits.
2006-09-10 19:13:54 +00:00
plunky
4f1cbddc12
update to bluetooth device attachment:
...
remove pseudo-device btdev(4) and inherent limitations
add bthub(4) which autoconfigures at bluetooth controllers as they
are enabled. bluetooth devices now attach here.
btdevctl(8) and its cache is updated to handle new semantics
etc/rc.d/btdevctl is updated to configure devices from a list
in /etc/bluetooth/btdevctl.conf
2006-09-10 15:45:55 +00:00
manu
ba5b97f363
Fix ipsec-tools build after recent import
2006-09-09 17:52:01 +00:00
yamt
ac9e01c324
- discourage nfs re-exporting.
...
- bump date.
2006-09-08 21:32:05 +00:00
ad
c2ed6959c7
Add a very brief EXAMPLES section.
2006-09-07 14:52:38 +00:00
ad
d8323c46d4
Fix a typo.
2006-09-07 14:44:05 +00:00
ad
96d4a987b2
Fix an #include.
2006-09-07 01:23:59 +00:00
ad
297f461929
Add the lockstat command: displays a summary of kernel locking events
...
recorded over the lifetime of a called program.
2006-09-07 00:50:45 +00:00
itohy
8e29f0f218
Use "stty size" to acquire screen width reliably.
...
The fields of the first line of "stty -a" is not fixed.
Fix PR bin/32343.
2006-09-03 09:19:07 +00:00
wiz
e41d3cdc7d
Bump date for previous.
2006-09-03 00:24:05 +00:00
uwe
85f8b5b279
Mention landisk as supported.
2006-09-02 16:18:02 +00:00
yamt
932de434ea
deal with variable-sized filehandles.
2006-09-02 11:10:24 +00:00
uwe
973bc97b66
NetBSD/landisk support.
2006-09-01 21:47:21 +00:00
perseant
16c0dce8d4
Update dumplfs to reflect new segment flags and "orphaned" file status.
2006-09-01 19:57:41 +00:00
gson
d9fde78727
In -i mode, flush standard output after each line. This is needed to
...
make the output appear in a timely fashion when redirected to a file
or pipe.
2006-08-31 10:25:04 +00:00
jdc
80ab849735
Disable threaded support for sparc and sparc64.
...
OK martin@.
2006-08-28 15:37:05 +00:00
plunky
c980b109dd
BluetootH SCO Audio update.
...
Provide an ioctl to set the SCO mtu value in the controller and
place limits in the SCO code such that only packets of this size
may be sent.
Move the mtu option from btsco(4) and btdevctl(8), to the
btconfig(8) program.
Remove temporary BLUETOOTH_SCO kernel option, and enable SCO
socket access.
Fix incoming connection handling for btsco(4) and SCO sockets.
Fix documentation to reflect the new world order.
2006-08-27 11:41:58 +00:00
christos
1b75c508c8
Programs that had their own efuns, use libutil's now.
2006-08-26 18:15:37 +00:00
matt
b7052c7cc1
Removed as part of XNS purge.
2006-08-26 18:10:40 +00:00
matt
13f8672f00
Don't descend into trsp anymore.
2006-08-26 17:26:00 +00:00
hubertf
a357c40934
In two TCP error cases, say that it's TCP, not UDP.
...
Pointed out by pee- on IRCnet #NetBSD.
2006-08-25 11:59:30 +00:00
bsh
2abd1dd123
avoid very long loop when you run pcictl on a PCI bus which has no devices on it.
2006-08-24 07:30:16 +00:00
hubertf
f83266c2e3
Explain that etcupdate(8) may do the job that postinstall(8) can't
...
do. (Example: fix master.passwd to include _rwhod and whatnot)
OK'd by lukem@
2006-08-18 12:02:55 +00:00
hubertf
c200fdcc45
give a hint on how to fix the 'NOT FIXED' checks -> fix manually
...
OK'd by lukem@
2006-08-18 12:01:53 +00:00
uwe
2799149345
Option -B does not have an argument. Sync getopt string with reality.
2006-08-17 23:42:37 +00:00
plunky
3445aa6e08
Print the error string on failure
2006-08-17 20:18:23 +00:00
plunky
3762d2c843
always create dictionary entry for local-bdaddr as it is wanted by btdev(4)
2006-08-17 20:16:54 +00:00
plunky
a097328fe5
Add service discovery support for the Handsfree profile
2006-08-17 20:13:31 +00:00
plunky
47a52241bf
Replace static 'FreeBSD' string with operating system name gleaned
...
from uname(3)
2006-08-17 19:46:57 +00:00
macallan
4c36dff3e4
include openfirmio.h when needed
2006-08-17 03:50:21 +00:00
macallan
ad53a0a585
Add OpenFirmware support to eeprom(8) and build it on macppc.
...
Tested on macppc and sparc
2006-08-16 03:24:57 +00:00
christos
b01ee2f8e2
Add Auto-Submitted header per RFC 3834 from OpenBSD
2006-08-15 16:18:52 +00:00
plunky
885b13c515
rename btcontrol(8) as btdevctl(8) to make it fit with the NetBSD naming
...
scheme for control programs. This fixes pr 34051.
2006-08-13 09:03:21 +00:00
dyoung
595db2454b
While I am here, KNF err(3) and errx(3) usage. Compare a pointer
...
with NULL instead of 0.
2006-08-13 00:20:25 +00:00
dyoung
4329d94fb4
Check for fwrite(3) error returns, and exit with an error message,
...
instead of silently failing.
2006-08-13 00:19:30 +00:00
hubertf
ac583aa32a
Xref etcupdate from postinstall, and vice versa.
2006-08-11 20:28:22 +00:00
martin
e06a3327c9
Typo
2006-08-09 14:12:47 +00:00
skrll
f20caddaed
Correct the usage message.
2006-08-09 11:57:51 +00:00
skrll
6458f6d488
Adapt iwi(4) to use firmload(9) and remove firmware loading from
...
iwictl(8).
2006-08-09 11:35:59 +00:00
yamt
a52757bf4c
deal with variable sized file handles.
2006-08-08 13:10:05 +00:00
skrll
f1c3aa8a63
Remove the SIOCSKILLFW define. It's not used anymore.
2006-08-06 07:31:32 +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
tron
dc71fd7600
Make sure the buffer used to retrieve routing message from the kernel
...
is properly aligned. This should fix PR bin/34124.
2006-08-02 13:44:53 +00:00
martin
b4cb63a646
Make filehandles opaque to userland
2006-07-31 16:34:42 +00:00
plunky
3cee521531
prop_objects should be released when we no longer need them, the
...
prop_dictionary_set will have retained them.
2006-07-30 19:36:39 +00:00
wiz
66be93d7db
Sort sections. Punctuation nits.
2006-07-30 00:24:40 +00:00
wiz
d8488cf5fd
Bump date for previous. New sentence, new line. Sort sections.
2006-07-30 00:09:09 +00:00
wiz
876cc6f561
Bump date for previous. New sentence, new line. Use Dv.
2006-07-29 23:55:28 +00:00
wiz
7169170d51
Bump date for previous.
...
Sort SEE ALSO.
Add some dots at end of sentences.
New sentence, new line.
2006-07-29 23:51:09 +00:00
kardel
e4dbee883d
remove HAVE_GCC4 specialties with the merge of 4.2.2p2
2006-07-29 08:18:36 +00:00
kardel
0f50a38490
merge 4.2.2p2
2006-07-29 08:17:02 +00:00
christos
b00752709e
more cleanups.
2006-07-28 16:34:28 +00:00
christos
ee343feee7
use indirect lookup to save space.
2006-07-28 15:15:16 +00:00
christos
82916ef1ea
add services_mkdb back.
2006-07-27 22:15:07 +00:00