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
Yaroslav Tykhiy
321be3fd53
An average consumer of fts(3) that avoids keeping pointers to old
...
FTSENTs and uses only what fts_read() has just returned can rely
on fts_path being NUL-terminated. Under these conditions, a plain
vanilla "%s" format can be safely used to printf an fts_path.
OK'ed by: rwatson
2008-01-29 17:50:29 +00:00
Mike Makonnen
43cb08ceb6
Add the -M command-line option, which will set home directory permissions.
...
Works both in interactive or batch mode. This is a heavily modified version
of the patch submitted in the PR.
PR: bin/105060
MFC after: 1 week
2008-01-27 10:15:36 +00:00
John Birrell
91d55a13ee
fts_pathlen is now a size_t rather than an int so a cast is needed.
...
I'm not sure why warn() and err() string formatted variables need
to be right-justified.
2008-01-27 01:19:47 +00:00
Mike Makonnen
40ab104eaa
Clarify in what formats the grouplist for the '-G' switch may be accepted.
...
Submitted by: Eygene Ryabinkin <rea-fbsd@codelabs.ru>
2008-01-25 15:54:14 +00:00
Marcus Alves Grando
b28161c34c
- Add new NTP servers provided by NIC.br ( http://www.ntp.br )
...
- Remove nonfunctional servers
PR: 119884
Approved by: simon
MFC after: 3 days
2008-01-22 18:58:48 +00:00
Giorgos Keramidas
53fbcd3a78
Repeat iostat header after rows-3 instead of a hardcoded 20.
...
Use ioctl() to get the window size in iostat(8), and force a new
header to be prepended to the output every time the current
window size changes. Change the number of lines before each
header to `rows - 3' when the terminal is resized, so that the
full terminal length can be used for output lines.
PR: bin/119705
Submitted by: keramida
Approved by: maxim
MFC after: 2 weeks
2008-01-22 11:18:51 +00:00
Maxim Konovalov
30e95be8ce
o inetd(8) requires wait/nowait column in inetd.conf for
...
ONC services as well.
PR: bin/119203
Submitted by: Peter Jeremy
MFC atfer: 1 week
2008-01-12 21:09:48 +00:00
Maxim Konovalov
e08b1089a6
o Fix a typo. errx() -> err().
...
Submitted by: das
2008-01-12 20:57:19 +00:00
Maxim Konovalov
38992545b7
o Plug a memory leak: do not forget to free asprintf(3) allocated
...
memory.
PR: bin/119608
Submitted by: peter.schuller
MFC after: 1 week
2008-01-12 20:37:06 +00:00
Jung-uk Kim
bcba261a2c
Fix non-SMP kernel regression introduced in the previous commit.
...
Reviewed by: jkoshy
2008-01-10 16:31:14 +00:00
Sam Leffler
0c80179c55
quiet compiler complaint about comparing &v against NULL
2008-01-10 04:26:44 +00:00