Commit Graph

7838 Commits

Author SHA1 Message Date
macallan
8c774caf8c Add gimpy's OF device tree dumping tool.
Tested on macppc and sparc64
2006-09-29 19:03:11 +00:00
plunky
ebb327f7cd back off previous changes since the 'memory leak' fix - we dont need any of
that, just use the _nocopy version of the function.
2006-09-29 18:48:17 +00:00
christos
e02941da8f Coverity CID 2714: Fix reversed test (from Arnaud Lacombe) 2006-09-29 18:40:57 +00:00
manu
3c09e24ba2 Add the dependendy on libutil 2006-09-29 05:06:34 +00:00
he
06658349aa Back out previous, <stdlib.h> was the right include. 2006-09-28 09:13:56 +00:00
he
e189b3cc42 Now that we use free(), we also need <malloc.h>. 2006-09-28 09:11:04 +00:00
dbj
6e35df57f8 include stdlib.h for free()
i've also cleared the -kk flag and reset it to -kkv
2006-09-28 07:44:24 +00:00
christos
39feec939d Coverity CID 4177: fix memory leak. 2006-09-27 22:07:20 +00:00
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