Commit Graph

155586 Commits

Author SHA1 Message Date
christos
7315c1563a import files from bind-9-4-0-rc2 2007-01-27 19:49:27 +00:00
perry
a3b6213467 As pointed out by James Wetterau, we wish to complement, as in the
logical operation, rather than compliment, as in praise, the magic
number of the disk.

There are probably other instances of this in the tree. We should fix
them.
2007-01-27 19:20:28 +00:00
cbiere
0f2ebef2a8 * timedc is no longer setuid-root and is only usable by root due to the
use of a raw socket for ICMP; thus there is also no need to differ
   between privileged and unprivileged commands.
 * Switch to user "nobody" after allocating the raw socket.
 * Close all file descriptors above 2 (just in case).
2007-01-27 17:57:45 +00:00
hubertf
78b99d6807 _find_processes(): in addition to the existing "interpreter: /path/to/daemon"
also recognize "interpreter: daemon" in ps(1) output.

That case statement should be rewritten with expr(1) if more flexibility is
needed.

Fixes PR 35366 by Dominik Joe Pantucek, debugged with much assistance
by him on IRC.
2007-01-27 14:30:26 +00:00
agc
9715dfff81 If we can't set the attributes when making the directory, use rmdir to
remove the directory, not unlink.
2007-01-27 11:49:44 +00:00
apb
3038ebf248 Try to clarify the description of build.sh -m mach.
Document new evbarm-eb and evbarm-el aliases.
2007-01-27 11:47:36 +00:00
apb
90b76996ba Add aliases evbarm-eb and evbarm-el, for consistency with several
existing *-e[bl] aliases.  build.sh -m MACHINE_ALIAS is (almost)
equivalent to build.sh -m MACHINE -a MACHINE_ARCH.
2007-01-27 11:27:33 +00:00
kardel
24e8b498bd track NTP bug 768: opening of bcast if, misleading error message 2007-01-27 09:02:38 +00:00
cbiere
140287a3de Replaced int_encode() with be32enc(). 2007-01-27 08:29:14 +00:00
cbiere
f753f71dbe * Don't use the term "anonymous"; this is confusing.
* Mention "reserved", that's what it's stands for after all.
 * Mention getsockname() to determine the assigned port in any case.
2007-01-27 07:58:47 +00:00
isaki
2b29641346 Regen. 2007-01-27 07:38:48 +00:00
isaki
83c786178e Fix typo. s/Seria ATA/Serial ATA/ 2007-01-27 07:37:31 +00:00
cbiere
5bc2b7285f Don't define UNALIGNED_ACCESS, it's not used anymore. 2007-01-27 07:21:32 +00:00
cbiere
b70ba117e6 * Added missing cast in isonum_712().
* Added const-qualifiers.
 * Removed unnecessary duplicate prototypes.
 * Use the endian conversion functions from <sys/endian.h>.
2007-01-27 07:20:31 +00:00
cbiere
0108d79ceb Use the endian conversion functions from sys/endian.h. 2007-01-27 07:18:10 +00:00
cbiere
bcfa6c3c08 Use be16dec() and be32dec() instead of reimplementing them. 2007-01-27 07:16:01 +00:00
cbiere
6b77c2af74 Use a plain memcpy() instead of alignment- and endian-specific hacks. 2007-01-27 07:12:16 +00:00
apb
686a052354 Let do-${tar} depend on sanitise_METALOG. 2007-01-27 06:46:43 +00:00
cbiere
572101c6f3 More efficient endian conversion functions when compiling with GCC as
suggested by Krister Walfridsson at tech-misc.
2007-01-27 03:57:44 +00:00
christos
d68432cc82 We don't need to include kern_exit43.c to the list of files that we cannot
use SSP on now that zero sized arrays are treated properly in gcc.
2007-01-27 01:37:57 +00:00
christos
bb1029ffc1 Don't mark 0 length arrays as being too small for stack protection. 2007-01-27 01:27:29 +00:00
elad
d7cf9c93bb Start the security model sooner.
As with previous commit, we want to allow the secmodel code to control
the credential inheritance, etc., so we need it started earlier (also
before proc0_init()).
2007-01-27 01:13:10 +00:00
cbiere
0a2098a6e9 bind() in priv_resources() is now unnecessary as pointed out by christos. 2007-01-27 00:37:56 +00:00
cbiere
2ca958bb2f * Fixed a 64-bit issue in daydiff().
* Check the packet size and sender address in daydiff().
 * priv_resources(): Use bind() instead of bindresvport() because an
   reserved port is not required. This also resolves the interoperability
   issue reported in PR bin/35479.
2007-01-27 00:15:50 +00:00
pooka
71a61647db puffs_suspend.{0,3} 2007-01-26 23:55:58 +00:00
pooka
f4e2aba8ce document puffs_fs_suspend() 2007-01-26 23:55:27 +00:00
elad
3238d589b2 No need to include acct.h, sysctl.h, and time.h. 2007-01-26 23:50:36 +00:00
pooka
0eaa3c5c67 We don't handle fsync in checkop anymore, so direct the fifoop fsync
also to a place less panicy, namely fifo_fsync (because currently the
metadata information is update when the node is changed.  This will
probably change soon, though).
2007-01-26 23:25:56 +00:00
pooka
f235a8d60c Add very uncorrect "suspend fs if server gets SIGUSR1" test for fs
suspension (hey, it's a test file system after all .... )
2007-01-26 23:02:05 +00:00
pooka
d83ed90176 add interfaces for suspending the file system 2007-01-26 23:00:33 +00:00
pooka
d2595d03c5 Initial attempt at suspend/snapshot support for userspace file
servers.  This is still pretty much on the level "if it breaks ...".
It should work for single-threaded servers which handle one operation
from start to finish in one go.  Also, it does not yet totally
correctly synchronize metadata and data in some cases.  So needless
to say, it needs improvement, but it is possible that will have to
wait for some lock revampage.
2007-01-26 22:59:49 +00:00
elad
4ee02bdcac Initialize kauth(9) sooner.
Since we'll soon want to be able to control the inheritance of credentials,
kauth(9) needs to be ready for use much sooner -- at least before the call
to proc0_init().
2007-01-26 21:57:47 +00:00
dyoung
854c48804d KNF: bzero -> memset. 2007-01-26 19:49:18 +00:00
dyoung
2496a279f8 Define some more registers on the AMD Elan SC520, according to the
datasheet.
2007-01-26 19:42:56 +00:00
cbiere
1aaa06c687 Avoid a warning about an unused variable if compiling with -DNDEBUG.
Reported by Andreas Wiese in PR lib/35489.
2007-01-26 19:34:30 +00:00
dyoung
2115f7da2f Fix the check for a routing loop. 2007-01-26 19:32:32 +00:00
dyoung
2539c85ea4 bzero -> memset 2007-01-26 19:20:15 +00:00
dyoung
d8316ce94e KNF: bzero -> memset, change (struct in_ifaddr *)0 to NULL. 2007-01-26 19:15:26 +00:00
dyoung
3cd4307b24 bzero -> memset 2007-01-26 19:12:21 +00:00
dyoung
d77571df22 bzero -> memset 2007-01-26 19:02:02 +00:00
dyoung
befcb437f9 Change a couple of bzeros to memsets. 2007-01-26 19:01:26 +00:00
sborrill
4cdde1a3df Add srtconfig and its man pages 2007-01-26 16:36:20 +00:00
sborrill
625376d814 Add missing bus_space_(read,write)_stream macros.
Approved by martin@
2007-01-26 16:28:18 +00:00
christos
07807b36a7 - centralize sendto tsp
- cleanup some casts
2007-01-26 16:12:41 +00:00
rpaulo
f8716dbbb5 Don't panic with "lazy bum". I have a machine that can boot multiuser
and run on SMP with this panic commented out.
No replies on tech-kern about this.
2007-01-26 12:44:50 +00:00
elad
4f9ade2efc Add missing specificdata_key_delete() in fileassoc_deregister(). 2007-01-26 12:36:46 +00:00
mouse
fa0144b381 Add srtconfig. It builds OK, at least in my tests, so it shouldn't
break anything having it there, and it's pretty much necessary for
anyone who wants to actually use srt.
2007-01-26 07:01:03 +00:00
dyoung
832c31b2c6 Mark some shared variables as volatile. 2007-01-26 03:01:32 +00:00
dyoung
d5268f7ddd Fix grammar in comment. From Patrick Welche. 2007-01-26 02:27:29 +00:00
dyoung
6a0ae17676 Name magic numbers PCI_PMCSR_PME_EN and PCI_PMCSR. 2007-01-26 02:04:44 +00:00