Brian Feldman
a693939e67
Disable memory locking that could keep watchdogd from deadlocking itself
...
if the swap subsystem failed.
Requested by: phk
2004-07-28 22:13:04 +00:00
Stefan Farfeleder
14cc87e479
Use the length modifier 'll' instead of 'q' to print long longs.
2004-07-28 16:03:13 +00:00
Alexander Kabaev
1bb0b6dee7
Avoid casts as lvalues.
2004-07-28 07:20:04 +00:00
Alexander Kabaev
617e8b416d
Downgrade WARNS level to more tolerable value. Attempt to fix
...
casts as lvalue usage whenever possible.
2004-07-28 07:19:15 +00:00
Alexander Kabaev
8568d3e3f4
Move __iniline function definition before its first usage in the file.
2004-07-28 07:17:00 +00:00
Alexander Kabaev
64349aaa88
Temporarily disable kernbb utility. It has to learn about new gcov data
...
format first.
2004-07-28 07:13:55 +00:00
Maksim Yevmenkin
1985a3a39d
Add workaround for brain damaged cell phones
...
PR: bin/67906
2004-07-27 22:40:42 +00:00
Ollivier Robert
e47c4441d3
mlockall(2) was introduced during the 5.0-CURRENT lifetime.
2004-07-25 22:02:30 +00:00
Brian Feldman
5e60838b5d
Now that mlockall(2) is unbroken, use it to keep watchdogd(8) permanently
...
out of swap.
2004-07-23 15:24:57 +00:00
Ollivier Robert
0883223a5f
Include support for NOCRYPT & NO_OPENSSL world.
...
It does survive « make release ».
Uses an upcoming patch from the vendor branch (ntp-stable) of ntp-keygen.
Submitted by: Marius Strobl <marius@alchemy.franken.de>
2004-07-22 09:10:52 +00:00
Ollivier Robert
5c1361654f
Correct another cut/paste mistake. Sorry folks.
...
Pointy hat to: me
Submitted by: Marius Strobl <marius@alchemy.franken.de>
2004-07-22 08:38:14 +00:00
Ollivier Robert
065c74d54b
Remove arlib (libares.a) from the build. It is not IPv6 compatible, not
...
really tested and probably not 64 bits-safe.
Discussed with: Harlann Stenn <www.ntp.org>
2004-07-22 08:35:41 +00:00
Ollivier Robert
4384c42d17
Correct a cut/paste error.
2004-07-22 08:32:17 +00:00
Ollivier Robert
d060ebf7b2
Allow ntpd to be compiled w/o readline when NO_GNU is defined. Part of a
...
larger patchset to get a GNU-free world.
Patch rewritten to cope with the 4.2.0 changes.
Submitted by: des
2004-07-22 08:14:37 +00:00
Warner Losh
9906740e39
Add support for ignoring locking failures. This is only enabled when
...
you've specified a directory. It is intended to be used in building
custom releases over NFS where locking may be unreliable at best and
there is no contention that the locking is designed to arbitrate.
Other uses of this flag are discouraged. Document same in usage and
man page (including the warning about unwise).
Sponsored by: Timing Solutions
2004-07-21 17:38:04 +00:00
Warner Losh
24412bd1af
Two style related changes:
...
(1) use strlcpy instead of strncpy since the use here of the latter
was incorrect.
(2) Move 'N' case into proper sorted order (sorted the same way that
ls sorts its args).
2004-07-21 17:02:36 +00:00
Poul-Henning Kamp
2d084f1168
Remove reference to fla driver.
2004-07-20 16:25:20 +00:00
Ollivier Robert
c98323078d
Add missing Makefile from previous commit.
2004-07-20 15:45:04 +00:00
Ollivier Robert
6cb84f0c29
Update our ntpd to the long awaited 4.2.0 version.
...
This bring us several things:
- updated drivers
- IPv6 support at last
- ntp-genkeys is replaced by ntp-keygen
- ntptrace is now a script (courtesy of John Hay)
- lots of renamed files from .htm to .html (while I prefer .html, I
find the change a bit gratuitous)
- still no manpages :(
Please test and report.
Commit very much helped by: GNU arch (http://gnuarch.org/ )
2004-07-20 15:44:32 +00:00
Brian Somers
b00fb49742
Report the number of bytes not written when complaining about failed writes
2004-07-20 01:42:30 +00:00
David E. O'Brien
0eba89e375
Priner control devices are now lpt*.ctl.
2004-07-18 02:22:47 +00:00
Brian Somers
e715b13bca
Support a ``set rad_alive N'' command to enable periodic RADIUS accounting
...
information being sent to the RADIUS server.
Logging of RADIUS accounting information moves to a ``set log [+-]radius''
level, along with the RADIUS alive info, and the version number is bumped
to 3.2 to reflect this.
Mostly submitted by: alx@sm.ukrtel.net (back in January)
MFC after: 3 weeks
2004-07-17 01:07:53 +00:00
Michael Reifenberger
3d81d1ad2e
After talking to Colin,
...
apply the patch of bin/61718 (which should include/elimatate kern/61122 also).
It seems to fix a few annoying bugs.
PR: bin/61718, kern/61122
Submitted by: bg@sics.se ohartman@mail.physik.uni-mainz.de
2004-07-16 12:50:10 +00:00
Giorgos Keramidas
ac1ed13853
Refer to the sysutils/cdrtools port now that the sysutils/mkisofs port
...
has been merged into the former.
PR: docs/69087
Submitted by: Janos Mohacsi <janos.mohacsi@bsd.hu>
MFC after: 3 days
2004-07-16 08:53:25 +00:00
Martin Blapp
386ecc28e7
Reenable nullfs for local links. The change from 'struct vfsconf'
...
to 'struct xvfsconf' broke auto configuration. Patches have been
submitted to the vendor.
2004-07-15 13:24:44 +00:00
Brian Somers
6489fd2148
Fix ``set ifaddr''. The code was actually using an uninitialised variable,
...
but conveniently, because ncpaddr.ncpaddr_family != AF_INET, the call to
ncpaddr_getip4addr() became a no-op leaving the local address as it was
(defaulting to whatever my hostname resolves to).
PR: 62050
Submitted by: Peter Jeremy <peter.jeremy@alcatel.com.au>
MFC after: 3 days
2004-07-15 09:42:16 +00:00
Peter Pentchev
19344055db
Fix 'camcontrol rescan' syntax and use the proper indentation for
...
the FILES list.
PR: 66827
Submitted by: Michel Lavondes <fox@vader.aacc.cc.md.us>
MFC after: 2 weeks
2004-07-15 07:34:14 +00:00
Brian Somers
7cbe26069c
Remove a stray backslash
2004-07-14 13:31:17 +00:00
Stefan Farfeleder
70c3c978b9
Fix a few cases that relied on 'implicit int' (constraint violation in C99).
2004-07-11 17:37:33 +00:00
Ruslan Ermilov
15bb4187f9
Markup nit picking.
...
Reviewed by: joerg
2004-07-09 06:16:43 +00:00
Maksim Yevmenkin
23d1e148af
Make bluetooth compile on all platforms
...
Reviewed by: imp, ru
2004-07-07 22:48:30 +00:00
Poul-Henning Kamp
8a1f37f227
PC98 got it right here: sectors can be non-512 byte sized.
2004-07-07 20:28:31 +00:00
Ruslan Ermilov
2410103c1d
mdoc(7) fixes.
2004-07-07 19:57:16 +00:00
Martin Blapp
fe7e28be1a
Generate fresh aux_conf.h.
2004-07-06 14:06:58 +00:00
Martin Blapp
cef9241945
Check if dirmask' is a member of
pcfs_args_t'.
...
A diff to the autoconf aux-files has been submitted to
the amd people.
PR: 57401
Submitted by: Andre Albsmeier <andre.albsmeier@siemens.com>
2004-07-06 13:44:14 +00:00
Martin Blapp
3e0fc2ab4a
Unbreak pcfs support
...
PR: 68679
2004-07-06 13:37:18 +00:00
Martin Blapp
c6797a4942
Update OS-dependent variables.
2004-07-06 13:24:59 +00:00
Ruslan Ermilov
1c85060a13
Sort SEE ALSO references (in dictionary order, ignoring case).
2004-07-04 20:55:50 +00:00
Colin Percival
decbf84ef3
Fix dofsync() declaration.
...
Pointed out by: dwmalone
2004-07-04 19:52:48 +00:00
Colin Percival
e1906bda7b
Where syslogd would have fsync()ed a file in the past, instead set a flag
...
FFLAG_NEEDSYNC and fsync the file when select() next returns zero. This
dramatically speeds up the process of logging large amounts of data, while
leaving the essential semantics (that data can be expected to be on disk
if we crash) unchanged.
In my tests, this speeds up the rc phase of booting by 18-20%. [1]
YES PLEASE! by: phk [1]
2004-07-04 19:13:58 +00:00
Maxim Sobolev
ea6902220d
Nothing says that /var/log can't be not a directory but a symbolic link
...
to a directory. Therefore, use stat(2) instead of lstat(2) to check if
/var/log exists.
MFC after: 7 days
2004-07-04 17:24:12 +00:00
Ruslan Ermilov
455fb174df
Eliminated double whitespace.
2004-07-03 18:35:53 +00:00
Stefan Farfeleder
358f61ce32
Use C99 conforming designated initialisers rather than the obsolete GCC syntax.
2004-07-03 16:52:57 +00:00
Ruslan Ermilov
1a0a934547
Mechanically kill hard sentence breaks.
2004-07-02 23:52:20 +00:00
Ruslan Ermilov
07bfccd71e
Mechanically kill hard sentence breaks.
2004-07-02 23:13:00 +00:00
Ruslan Ermilov
160ad8f136
Fixed SEE ALSO references.
2004-07-02 22:50:25 +00:00
Ruslan Ermilov
d37ea99837
Removed trailing whitespace.
2004-07-02 19:07:33 +00:00
Ruslan Ermilov
4b6c8c6498
Fixed spelling of the document date.
2004-07-02 18:00:03 +00:00
Brooks Davis
e32e9a42a6
Static device counts will not be supported in 6.x so place the generated
...
macros (N<driver>) under BURN_BRIDGES.
Discussed with: peter, imp, scottl, ...
2004-06-30 21:00:47 +00:00
Warner Losh
6084486fd6
Fix to not use 255, but instead use APM_UNKNOWN.
...
Compare things correctly against -1 or 0
Don't print any capabilities if unknown is returned from the kernel.
Reviewed/Submitted by: njl, Liam Foy
2004-06-30 21:00:07 +00:00