Commit Graph

160722 Commits

Author SHA1 Message Date
pooka b2a631b1fe * add missing credential handle to fsync args
* and now with more cosmetic attack
2007-07-25 09:10:26 +00:00
tron 10d31a27d1 Note import of BIND 9.4.1-P1. 2007-07-25 09:07:27 +00:00
pooka 9825955cc2 pure cosmetics: minor facelift 2007-07-25 08:31:19 +00:00
dogcow 1ad9ad78c6 fix compilation on 64-bit platforms by avoiding spurious EXTRACT_32BITS 2007-07-25 06:31:32 +00:00
christos 5b94024b59 Import bind 9.4.1-P1
2206.   [security]      "allow-query-cache" and "allow-recursion" now
                        cross inherit from each other.

                        If allow-query-cache is not set in named.conf then
                        allow-recursion is used if set, otherwise allow-query
                        is used if set, otherwise the default (localnets;
                        localhost;) is used.

                        If allow-recursion is not set in named.conf then
                        allow-query-cache is used if set, otherwise allow-query
                        is used if set, otherwise the default (localnets;
                        localhost;) is used.

                        [RT #16987]

2203.   [security]      Query id generation was cryptographically weak.
                        [RT # 16915]

2202.   [security]      The default acls for allow-query-cache and
                        allow-recursion were not being applied. [RT #16960]

2193.   [port]          win32: BINDInstall.exe is now linked statically.
                        [RT #16906]

2192.   [port]          win32: use vcredist_x86.exe to install Visual
                        Studio's redistributable dlls if building with
                        Visual Stdio 2005 or later.
2007-07-24 23:52:54 +00:00
christos 92b1ea3abe Import bind 9.4.1-P1 2007-07-24 23:32:11 +00:00
macallan fbbad8fbc0 add support for ioctl(WSDISPLAYIO_LINEBYTES) so XFree86/wsfb should work now.
Doh.
2007-07-24 20:09:57 +00:00
ad 615eff98fc In order to pacify assertions, make uao_list_lock + uvm_swap_data_lock
spinlocks for the time being.
2007-07-24 19:59:35 +00:00
hannken 40135c9d50 Handle IST_LEVEL interrupts better. Disable interrupt while it is
processed and enable afterwards.  Up to now IST_LEVEL interrupts always
fired again during processing leaving unnecessary pending interrupts.

Tested on EXPLORA451.

Ok: Simon Burge <simonb@netbsd.org>
2007-07-24 15:22:18 +00:00
hannken 6409dfa660 Use PR_NOWAIT in in pmap_enter_pv() and take care of PMAP_CANFAIL. Built
after powerpc/oea/pmap.c.  Now a LOCKDEBUG kernel runs on EXPLORA451.

Ok: Simon Burge <simonb@netbsd.org>
2007-07-24 15:19:09 +00:00
pooka ac9042f5ce remove TNF advertising clause from file copyrighted to me 2007-07-24 14:41:29 +00:00
xtraeme f21134e9ed Move my entry after the ones sorted in alphabetical order. 2007-07-24 14:36:28 +00:00
xtraeme 10e373c0be Add myself. 2007-07-24 14:06:20 +00:00
drochner 2e9d41b4db merge in NetBSD changes 2007-07-24 12:41:07 +00:00
drochner 8ab348328c tcpdump updated to 3.9.7 2007-07-24 12:02:28 +00:00
drochner baf5b50880 adjust for tcpdump-3.9.7 2007-07-24 12:01:00 +00:00
drochner 7ef8b6e9b2 avoid a pointer signedness warning 2007-07-24 11:55:13 +00:00
drochner d8f5b90097 merged tcpdump-3.9.7 2007-07-24 11:53:36 +00:00
drochner 57e6a30fe7 import tcpdump-3.9.7 (after running the tcpdump2netbsd script and
defusing NetBSD id strings used as reference)
2007-07-24 11:42:50 +00:00
jmmv 9b435895e8 Fix duplicate year in copyright notice. 2007-07-24 11:29:16 +00:00
pavel de89ac5321 Add a comment reminding to update the release notes if the list of
kernels change.
2007-07-24 10:49:23 +00:00
pavel 8a0862e62b Add a comment reminding to update the release notes if the list of
kernels change.
2007-07-24 10:28:05 +00:00
pavel f01c28c8f9 Sync the list of kernels with reality. We don't have GENERIC_TINY,
GENERIC_PS2TINY, INSTALL_TINY, INSTALL_SMALL, INSTALL_PS2 anymore.
2007-07-24 10:22:02 +00:00
pavel 7108de26ef Add a comment reminding to update the release documentation when the
list of released kernel images change.
2007-07-24 10:20:15 +00:00
pavel f7645d338a regen the list of changes. 2007-07-24 10:04:58 +00:00
jmmv 0e18937ef2 Fix my email address in a comment; the old one does not exist any more. 2007-07-24 09:19:52 +00:00
jmmv 344ebed286 Fix the URL to the send-pr form as it now lives in another address. Not
critical since the server has redirections to make the old URL work, but
these may disappear.
2007-07-24 09:05:53 +00:00
dyoung bfa27930cb In sockaddr_snprintf(sbuf, len, fmt, sa), do not write the terminating
null character outside of the byte region [sbuf, sbuf + len).

1) If the length of the buffer is 0, do not write a null character
   at all.  Previously, sockaddr_snprintf() may have been able to
   overwrite sbuf[-1] if len was 0.

2) If the length of the buffer, len, is greater than 0, then write
   the null at sbuf[len - 1].  Previously, sockaddr_snprintf()
   wrote the null at buf[len - 1], where `buf' was a "cursor" that
   did not necessarily equal `sbuf', the start of the buffer.  Now,
   sockaddr_snprintf() always writes the null at sbuf[len - 1].
2007-07-24 08:45:45 +00:00
mgrooms 8628a88239 Update NEWS file with additional 0.7 improvements. 2007-07-24 04:29:23 +00:00
wiz 1345e35089 gcc-4.2.1 is out. 2007-07-23 23:47:22 +00:00
he a4d164aaef Same change as -r1.133 of src/sys/arch/amiga/amiga/pmap.c:
As per hint from ad@, change uvm.kernel_object to uvm_kernel_object,
  to adapt to the recent uvm changes.
2007-07-23 23:13:04 +00:00
he 03d59d870c After move to 64-bit paddr_t, cast via vaddr_t before casting to void*.
OK'ed by macallan@.
2007-07-23 22:28:23 +00:00
pavel 7888db603a Regenerate the "Changes ..." section from
htdocs/releases/formal-4/NetBSD-4.0.xml#major-changes, using the
changes2relnotes.xsl XSLT script.
2007-07-23 22:22:13 +00:00
dogcow 0dfe89a6a7 Same change as -r1.133 of src/sys/arch/amiga/amiga/pmap.c :
As per hint from ad@, change uvm.kernel_object to uvm_kernel_object,
  to adapt to the recent uvm changes.
2007-07-23 19:21:03 +00:00
plunky cd917419d2 add detail (in comments) about S-Record format for firmware file 2007-07-23 18:08:20 +00:00
plunky 2134bb0314 add requirement for bthcid since devices may need to authenticate 2007-07-23 18:06:56 +00:00
tsutsui c896224c88 Include <sys/proc.h> explicitly. 2007-07-23 17:55:39 +00:00
xtraeme ac5a2b6161 - ENVSYS_SETDICTIONARY: use sysmon_envsys_release() if there's an error.
- sme_events_worker: use sme_list_mtx when accessing to the sysmon_envsys
  linked list.
- Improve the comments in sysmon_envsysvar.h about the mutexes and condvar.
2007-07-23 17:51:16 +00:00
he 960a35be0a As per hint from ad@, change uvm.kernel_object to uvm_kernel_object,
to adapt to the recent uvm changes.
2007-07-23 17:32:25 +00:00
jmmv 7180494a8d Multiple fixes for tmpfs' rename operation:
- Raise an error if renaming a file to a directory.
- Raise an error if renaming a directory to a file.
- Raise an error if renaming a directory to a non-empty directory.
- Properly allow renaming a directory to an empty directory.
  The system could previously crash if the kernel had DIAGNOSTIC enabled,
  as this triggered a bogus assertion.

Problem found by Geoff Wing.
2007-07-23 15:41:01 +00:00
jmmv 12f24779d1 Add some more tests to ensure that renaming a file to a directory and a
directory to a file fails with the appropriate error codes.  tmpfs still
fails these tests, but the fix is almost ready to go in.
2007-07-23 15:05:43 +00:00
pooka 2189caca89 comment police: DIRBLKSIZE would be too chatty and therefore the
macro is known as DIRBLKSIZ
2007-07-23 14:58:04 +00:00
jmmv e92cf7fb11 Add test cases to ensure that:
1) Renaming a directory to an empty directory works by replacing the target
   directory.
2) Renaming a directory to a non-empty directory fails.
This is all by calling rename(2) directly, not mv(1).

tmpfs currently fails those tests, raising an assertion if DIAGNOSTIC is
enabled.  A fix will hopefully follow soon.

Found by pooka@.
2007-07-23 12:51:35 +00:00
blymn f8e74d7a72 Redraw an item when the value is changed as the mark/unmark status (if
applicable) may have changed.
2007-07-23 12:12:19 +00:00
pooka 606670f3e8 Initialize size and/or writesize when creating a vnode. 2007-07-23 11:27:45 +00:00
pooka 9f125ab035 Also set writesize when creating node.
noticed by Markus W Kilbinger
2007-07-23 11:05:47 +00:00
lukem f21ab048da Rename cred_t to ftpd_cred_t; the former causes a nameclash on Solaris. 2007-07-23 10:41:05 +00:00
ad f92f123709 Workaround the ufs_haslock/ufs_ihash_lock deadlock. From a patch
posted by Blair Sadewitz.
2007-07-23 09:05:02 +00:00
pooka 11c7e45cc2 Rearrange previous to make it work by other than chance.
noticed by xtraeme's gcc flags
2007-07-23 08:52:47 +00:00
xtraeme 079deb4a40 - sysmon_envsys_createplist: do not return the error of sme->sme_gtredata
in all cases to the caller, just continue and show a debug printf if it
  fails, because it's not a critical error.

- Improve some debugging printfs.

Fixes another part of yamt@'s PR kern/36673, that I forgot to commit
yesterday.
2007-07-23 08:45:51 +00:00