Commit Graph

155600 Commits

Author SHA1 Message Date
christos fd07b4b277 handle resolv_mt.h 2007-01-27 23:02:37 +00:00
christos 91eccc4aa8 Fix minor compilation issues. 2007-01-27 23:02:12 +00:00
elad 87352b7746 Add a comment to indicate the reason for kauth_init() and secmodel_start()
being where they are. Suggested by and okay christos@.
2007-01-27 22:54:58 +00:00
christos 95177770c6 add resolv_mt.h 2007-01-27 22:43:57 +00:00
christos 9567c94af3 Fix merge botch 2007-01-27 22:33:03 +00:00
christos d7aeceb511 deal with base64.c 2007-01-27 22:28:22 +00:00
christos efba316dcc Appropriate versions are not supplied by bind anymore. 2007-01-27 22:27:35 +00:00
christos d73eb73dc8 merge in resolver portion of bind-9.4.0-rc2 2007-01-27 22:26:43 +00:00
christos 8e42b6c984 import resolver portion of bind-9.4.0-rc2 2007-01-27 21:45:34 +00:00
christos 16317a9d71 Changes for bind-9.4.0-rc2 2007-01-27 21:36:13 +00:00
christos 4455b59ff4 Use __inline consistently so that we avoid unused warnings. 2007-01-27 21:30:22 +00:00
christos 0d808c59ee Merge back all our changes. 2007-01-27 21:25:23 +00:00
christos 4674124bb1 resolve conflicts 2007-01-27 21:24:09 +00:00
christos c1a4ad93e3 Import bind-9.4.0-rc2 from ftp.isc.org 2007-01-27 21:02:43 +00:00
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