Poul-Henning Kamp
103c0e21dd
Fix two bugs introduced in conversion to FreeBSD source tree:
...
Off by one error in length calcuation of string records.
Don't attempt to free stack variable.
2008-03-19 10:56:51 +00:00
Maksim Yevmenkin
07f8cd18c6
Add mandatory "security description" SDP parameter to the PANU profile
...
Pointed-out by: Iain Hibbert < plunky at rya-online dot net >
MFC after: 3 days
2008-03-19 00:06:30 +00:00
Sam Leffler
e653f1f0f4
add reject+blackhole keywords to install entries with RTF_BLACKHOLE
...
and RTF_REJECT, respectively
PR: bin/79228
Submitted by: Dan Lukes <dan@obluda.cz>
MFC after: 2 weeks
2008-03-18 21:45:27 +00:00
Maksim Yevmenkin
13040bc96b
Add PSM and Load Factor SDP parameters to the BNEP based profiles
...
(NAP, GN and PANU). No reason to not to support them.
Separate SDP parameters data structures for the BNEP based profiles.
Generalize Service Availability SDP parameter creation.
Requested by: Iain Hibbert < plunky at rya-online dot net >
MFC after: 3 days
2008-03-18 18:21:39 +00:00
Poul-Henning Kamp
9371f06305
Remove trailing ';' on macros.
...
Spotted by: antoine
2008-03-16 23:00:43 +00:00
Christian Brueffer
eb95fd3362
In the description of the password field, -w was meant, not the
...
nonexistant -p flag.
PR: 120122
Submitted by: Andy Kosela <andy.kosela@gmail.com>
MFC after: 3 days
2008-03-16 21:36:05 +00:00
Jung-uk Kim
f48a417b24
mixer(8) is WARNS=6 clean since 1.25.
...
Tested with: 'make universe'
2008-03-16 08:06:36 +00:00
Jung-uk Kim
57067fb903
Fix a typo.
2008-03-15 01:36:20 +00:00
Jung-uk Kim
e68adf0bb6
Clean up code and fix style(9) nits.
2008-03-15 01:20:05 +00:00
Jung-uk Kim
c60bd3d3a5
Update list of possible mixer devices. These devices were added to
...
soundcard.h more than ten years ago.
2008-03-15 01:15:15 +00:00
Jung-uk Kim
35ebab0a33
- Check device masks and bypass printing headers if capable device does
...
not exist. /etc/rc.d/mixer tried to restore non-existent recording
source because /var/var/db/mixer*-state contains '=rec' for example.
- Remove hardcoded mixer2 and mixer3 and do the right thing.
- Replace getopt(3) with hand-rolled option parser. It was not able
to handle 'mixer -rec mic' although it is a valid command.
- Make '-s' and '-S' mutualy exclusive as mixer(8) says.
- Do not re-read recording source unless it has been modified.
2008-03-15 01:09:47 +00:00
Maksim Yevmenkin
a09e09654c
Update usage() - add new -D option. While I'm here, update copyright
...
information and license formatting
MFC after: 1 day
2008-03-14 16:29:25 +00:00
Paolo Pisati
a5625ae749
Update to the "new" libalias API (and thus fix world breakage).
2008-03-12 14:34:34 +00:00
Maksim Yevmenkin
f2505d7088
Add support for the NAP, GN and PANU profiles to the sdpd(8).
...
It should be mentioned that a somewhat similar patch was
submitted by Rako < rako29 at gmail dot com >
MFC after: 1 week
2008-03-11 16:51:07 +00:00
Poul-Henning Kamp
7825a6bdbc
Hook fifolog tools up to the build.
...
To the extent make universe works, it hasn't found any fault with this.
2008-03-10 12:53:41 +00:00
Poul-Henning Kamp
662cb04c25
Add the fifolog tools to FreeBSD.
...
Quoth the man-page:
Fifologs provide a compact round-robin circular storage for recording
text and binary information to permanent storage in a bounded and pre-
dictable fashion, time and space wise.
Not yet connected to the build, but feel free to test & review.
2008-03-09 19:14:36 +00:00
Jung-uk Kim
f25596163e
Use intmax_t instead of long when casting time_t.
...
Suggested by: mlaier
Tested with: make universe
2008-03-07 00:01:24 +00:00
Warner Losh
de37e39122
The breakage from increased warns has been fixed, back out my back out
2008-03-06 04:09:06 +00:00
Jung-uk Kim
d7aa5242c5
Cast time_t to long to mute tinderbox build failure.
2008-03-06 02:14:45 +00:00
Warner Losh
ba04440c93
This breaks the arm build, back it out until that's fixed
2008-03-06 02:13:52 +00:00
Maksim Yevmenkin
b1fae13507
Add an option to register DUN (Dial-Up Networking) service on the same
...
RFCOMM channel if needed. There is really no good reason to not to support
this. AT-command exchange can be faked with chat script in ppp.conf.
MFC after: 1 week
2008-03-06 00:37:29 +00:00
Jung-uk Kim
15cc4a8205
Mark moused(8) WARNS=6 clean.
2008-03-06 00:25:16 +00:00
Jung-uk Kim
2657f6e9ed
Fix compiler warnings and style(9) bugs.
2008-03-06 00:24:11 +00:00
Jung-uk Kim
13f1c59b29
Prefer clock_gettime(2) over gettimeofday(2) and use CLOCK_MONOTONIC_FAST.
...
It is only used to track elapsed time and it does not have to be precise.
2008-03-06 00:22:17 +00:00
Craig Rodrigues
55dd132740
Remove hacks which filter out MNT_ROOTFS.
...
They are no longer needed now that we filter out MNT_ROOTFS
inside the nmount() call in revision 1.267 of vfs_mount.c.
Reviewed by: rink
2008-03-05 07:55:07 +00:00
Hidetoshi Shimokawa
302176c71f
- add '-f' option to force root node.
...
- fix byte order in read_write_quad()
- show hostnames in the list
- fix typo in manpage
MFC after: 1 week
2008-03-05 01:30:48 +00:00
Ken Smith
ecdaaa7050
Sync list of directories to look for packages in to current releases
...
available.
MFC after: 3 days
2008-02-26 14:35:01 +00:00
Sean Farley
bc991a6d5f
Add the groupmod '-d' option to pw to allow the deletion of existing users
...
from a group without the need to perform the same operation by replacing
the existing list via the '-M' option. The '-M' option requires someone
to fetch the existing members with pw, deleting the undesired members from
the list and sending the altered list back to pw.
Approved by: wes (mentor)
MFC after: 5 days
2008-02-23 01:25:22 +00:00
Sean Farley
72d1b828b3
style(9) (verified no object changes)
...
Approved by: wes (mentor)
MFC after: 5 days
2008-02-23 01:17:42 +00:00
Joseph Koshy
3c7b2ed7f9
Fix 'make checkdpadd'.
2008-02-22 06:25:49 +00:00
Christian Brueffer
4bf10a52b0
Add some missing Xrefs to drivers.
...
MFC after: 3 days
2008-02-21 20:44:25 +00:00
Greg Lehey
1dc2c6a592
Ensure that the -s flag truncates the accounting data.
...
This problem has only been reported on the amd64 platform.
PR: bin/120293
Tested by: Callum Gibson
MFC after: 2 weeks
2008-02-21 07:12:56 +00:00
Rui Paulo
8ea0d8cff1
Add AS lookup functionality. On each hop we query a whois server to
...
find the corresponding AS for that IP (-a switch).
We can also choose a different whois server with the -A switch. The
default is whois.radb.net.
Obtained from: NetBSD
Reviewed by: bms, njl (mentor)
Approved by: njl (mentor)
2008-02-20 23:29:53 +00:00
David Malone
6f540420dd
Two no-op fixes to improve corretness of syslogd code:
...
1) Use [AP]F_LOCAL rather than [AP]F_UNIX.
2) When copying a pipe's name, use f->f_un.f_pipe.f_pname, not f->f_un.f_fname.
PR: 20889
Submitted by: Damieon Stark
PR: 116642
Submitted by: Jim Pirzyk
Reviewed by: md5
2008-02-20 21:54:41 +00:00
Ruslan Ermilov
b7498df286
getopt(3) returns -1, not EOF.
2008-02-19 07:09:19 +00:00
Kevin Lo
8f9872ccb3
getopt(3) returns -1, not EOF.
2008-02-18 03:19:25 +00:00
Yaroslav Tykhiy
870db2da6d
No network addresses in the system isn't a good excuse
...
for rpcbind(8) to crash.
The crash was due to a boolean variable initialized
improperly. Besides fixing the initialization, pick
a better name for the variable so that its meaning is
clear and no more coding errors appear around it.
2008-02-14 20:12:23 +00:00
Colin Percival
e81875ba53
Improve conformance to the HTTP specification by using case-insensitive
...
comparisons for header keywords. Apparently some proxies use creative
capitalization.
Weird proxy found by: brooks
MFC after: 3 days
2008-02-13 20:46:23 +00:00
Remko Lodder
f7769a0c07
Typo fix.
...
Spotted by: brueffer
2008-02-11 08:12:58 +00:00
David Malone
d7b63faf0c
Give traceroute6 the ability to traceroute with packets with no
...
upper layer header (IP PROTO = 59). Useful for testing firewalls.
MFC after: 2 months
2008-02-10 21:06:38 +00:00
Ruslan Ermilov
60bcf1bfb9
Introduce -i to SYNOPSIS, forgotten by krion@.
2008-02-08 14:00:01 +00:00
Matteo Riondato
3868f70efe
Add -P <port> option to allow binding to a specific port.
...
PR: bin/109494
Submitted by: mtm
MFC after: 1 week
2008-02-03 17:39:37 +00:00
Jung-uk Kim
3a48ea9c49
Fix an indentation.
2008-01-31 16:58:07 +00:00
Jung-uk Kim
4a994e8a93
Do not sanitize disk geometry if it is set by scripts in non-interactive mode.
...
MFC after: 3 days
2008-01-31 16:54:02 +00:00
Ruslan Ermilov
748f8a5016
De-sparc64-ify (now that it's also installed on PowerPC).
2008-01-31 14:58:55 +00:00
Peter Grehan
104954fe06
Enable ofwdump on powerpc (finally). Tested on G3 & G4 machines.
...
Submitted by: Dan Stekloff <dsteklof at c i s c o dot com>
Discussed with: marcel
2008-01-31 01:57:33 +00:00
Xin LI
874f1f4efe
Fix two typos.
2008-01-30 22:11:59 +00:00
Rink Springer
868f9ca26a
Allow watch(8) to use more than 10 snp* devices. This limitation was purely
...
due to the way watch(8) looks for available snoop devices.
PR: bin/118286
Submitted by: Mykola Zubach <zuborg@advancedhosters.com>
Reviewed by: rwatson, csjp, imp (all a long time ago)
Approved by: imp (mentor) (long time ago)
MFC after: 1 week
2008-01-30 13:55:32 +00:00
Rink Springer
3640040a14
Fix bootparamd on 64 bit platforms - at least amd64 was broken due to the
...
code believing long == 64 bits and using it to store/compare IPv4 addresses.
PR: bin/112163
Submitted by: Tyler Spivey <tspivey@pcdesk.net>
Reviewed by: imp
Approved by: imp (mentor)
MFC after: 1 week
2008-01-30 13:48:37 +00:00
Tom Rhodes
c01d5f7d0f
Some clarifications to make keyboard configuration under syscons.
...
PR: 89325
Submitted by: Oliver Fromme <olli@secnetix.de>
Reviewed by: emax
2008-01-29 18:28:50 +00:00