swh:1:snp:2ca5d6eff8f04a671c0d5b13646cede522c64b7d

sort by:
Revision Author Date Message Commit Date
69113f3 Fix a race condition exists in the OpenSSL TLS server extension code and a double free in the SSL client ECDH handling code. Approved by: so (simon) Security: CVE-2010-2939, CVE-2010-3864 Security: FreeBSD-SA-10:10.openssl 29 November 2010, 20:43:06 UTC
bb7559b Fix an integer overflow in RLE length parsing when decompressing corrupt bzip2 data. Approved by: so (cperciva) Security: FreeBSD-SA-10:08.bzip2 20 September 2010, 14:58:08 UTC
346fdd2 Correctly copy the M_RDONLY flag when duplicating a reference to an mbuf external buffer. Approved by: so (cperciva) Approved by: re (kensmith) Security: FreeBSD-SA-10:07.mbuf 13 July 2010, 02:45:17 UTC
baaf912 Change the current working directory to be inside the jail created by the jail(8) command. [10:04] Fix a one-NUL-byte buffer overflow in libopie. [10:05] Correctly sanity-check a buffer length in nfs mount. [10:06] Approved by: so (cperciva) Approved by: re (kensmith) Security: FreeBSD-SA-10:04.jail Security: FreeBSD-SA-10:05.opie Security: FreeBSD-SA-10:06.nfsclient 27 May 2010, 03:15:04 UTC
26f9b3e Fix BIND named(8) cache poisoning with DNSSEC validation. [SA-10:01] Fix ntpd mode 7 denial of service. [SA-10:02] Fix ZFS ZIL playback with insecure permissions. [SA-10:03] Various FreeBSD 8.0-RELEASE improvements. [EN-10:01] Security: FreeBSD-SA-10:01.bind Security: FreeBSD-SA-10:02.ntpd Security: FreeBSD-SA-10:03.zfs Errata: FreeBSD-EN-10:01.freebsd Approved by: so (simon) 06 January 2010, 21:45:30 UTC
c091f1d Bump the patch level in the kernel version number, which was accidentally left out of main commit for SA-09:15, SA-09:15, and SA-09:17 in r200054. Approved by: so (simon) 03 December 2009, 12:59:39 UTC
4a31637 Disable SSL renegotiation in order to protect against a serious protocol flaw. [09:15] Correctly handle failures from unsetenv resulting from a corrupt environment in rtld-elf. [09:16] Fix permissions in freebsd-update in order to prevent leakage of sensitive files. [09:17] Approved by: so (cperciva) Security: FreeBSD-SA-09:15.ssl Security: FreeBSD-SA-09:16.rtld Security: FreeBSD-SA-09:17.freebsd-udpate 03 December 2009, 09:18:40 UTC
1809d0b Predict when 8.0-RELEASE will be announced. Approved by: re (implicit) 20 November 2009, 16:00:40 UTC
a3d0e51 Prepare for 8.0-RELEASE builds. Approved by: re (implicit) 20 November 2009, 15:55:23 UTC
03c8274 Make a few adjustments to say this is 8.0-RELEASE. Add a warning that the actual release notes were not available at the time of the release builds, they are still being assembled. Remove the existing entries which are not accurate for 8.0-RELEASE. Approved by: re (implicit) 20 November 2009, 15:53:59 UTC
aa03daf Remove the warning that all users should subscribe to -current, it only applies to head. Approved by: re (implicit) 20 November 2009, 15:51:07 UTC
2a740b5 Adjust to reflect 8.0-RELEASE. Approved by: re (implicit) 20 November 2009, 15:48:58 UTC
d2669c6 On a 32 bit kernel the igb driver may cause a page fault panic due to a failed bounce page allocation during RX mbuf setup. The large demand on bounce pages is due to the alignment requirement in the tag, the ixgbe driver has demonstrated this to be unnecessary and so it is being removed here to fix this problem. Note that ultimately there needs to be a more elegant handling of the failure case here. Approved by: re 16 November 2009, 18:46:33 UTC
a3b6e8f MFC r199241 This patch addresses an overflow in the the zfs boot code and allows users to boot from zfs raidz volumes. This has been tested by a number of users and does not impact those which are not booting from zfs raidz volumes. Submitted by: Matt Reimer <mattjreimer@gmail.com> Approved by: re (kib) 14 November 2009, 18:42:09 UTC
46510bf Ready for 8.0-RC3 builds. Approved by: re (implicit) 10 November 2009, 00:55:00 UTC
098a14c MFC r198846 (MF8 r199121): Set umask to 0x077 instead of the default. This prevents non-root user from reading crashinfo output, which could contain some sensitive information. Approved by: re (kensmith) 10 November 2009, 00:52:22 UTC
6d83d9b MFC revision 199069 (MF8 199120): Initialize the whole message unit's DMA buffer to zero, this fixes a panic during boot when ARC1200 is being used with certain motherboard models. This commit brings the driver to the same state of vendor's 1.20.00.16 release. Many thanks to Areca for their continued support to FreeBSD. Reported by: Jirka Mikulas <jiri mikulas com> Submitted by: Erich Chen (Areca) Approved by: re (kensmith) 10 November 2009, 00:46:08 UTC
1d24c38 Adjust branch tag. Approved by: re (implicit) 09 November 2009, 23:57:40 UTC
8a18d07 Adjust the branch tag used for 'make update'. Approved by: re (implicit) 09 November 2009, 23:55:49 UTC
95ccec4 MFC r199112: > Comment out the sbp(4) entry for GENERIC config files that contain it. > There are known issues with this driver that are beyond what can be > fixed for 8.0-RELEASE and the bugs can cause boot failure on some systems. > It's not clear if it impacts all systems and there is interest in getting > the problem fixed so for now just comment it out instead of remove it. Reviewed by: Primary misc. architecture maintainers (marcel, marius) Approved by: re (kib) 09 November 2009, 23:48:01 UTC
d727401 Insta-MFC of r199084,199108: Increase the size of the OFW translations buffer to handle G5 systems that use many translation regions in firmware, and add bounds checking to prevent buffer overflows in case even the new value is exceeded. Short MFC requested by re since the problem this fixes broken CD boot on most G5 systems, making them uninstallable. Reported by: Jacob Lambert Approved by: re (kib) Reviewed by: grehan, marcel Requested by: re 09 November 2009, 21:54:34 UTC
d6cf7f7 MFC r198719 (head) r199095 (stable/8): > While certain supported Symbios/LSI SCSI chips (532c896, 53c1000, 53c1010) > do support 64bit addresses, the current SCRIPTS code supports only 32bit > addresses causing data corruption for buffer addresses >4GB. This problem > affects 64bit machines with more than 4GB RAM or amd64 with 4GB and > memory hole remapping. > Work-around this problem with a bus_dma tag that requests bounce-buffers > for addresses >4GB. This causes some overhead, but given the maximum SCSI > bus speed of 160MB/s compared, the effect should hardly be noticeable. > The problem was reported by Mike Watters (mike at mwatters net) who also > verified that this fix cures the problem. > > Since this change is a NOOP on systems with less than 4GB RAM and fixes > data corruption (in RAM and on disk) on systems with more than 4GB, I hope > that this change is accepted for 8.0. Requested by: Stefan Esser (se at freebsd dot org)[1] Reviewed by: jhb, scottl [1] Stefan requested this be part of 8.0 but has been unavailable to do the MFC since submitting the request. We want to get 8.0-RC3 started so I'm doing the merges with re@ hat on. Approved by: re (bz) 09 November 2009, 21:28:07 UTC
4ab37a8 MFC r198948 from HEAD: Revert the spelling of Taiwan to be politically neutral in accordance with the policy published at http://www.freebsd.org/internal/i18n.html. Requested by: core (murray) Approved by: re (kib) 08 November 2009, 16:01:48 UTC
fef5cd3 MFC r197070: Consolidate CPUID to CPU family/model macros for amd64 and i386 to reduce unnecessary #ifdef's for shared code between them. This MFC should unbreak the kernel build breakage introduced by r198978. Reported by: kib Pointy hat to: me Approved by: re (kib) 06 November 2009, 17:09:04 UTC
676e69a MFC r197789: Fix ACL support on sparc64. Turns out that fuword(9) fetches 64 bits instead of sizeof(int), and on sparc64 that resulted in fetching wrong value for acl_maxcnt, which in turn caused __acl_get_link(2) to fail with EINVAL. PR: sparc64/139304 Submitted by: Dmitry Afanasiev <KOT at MATPOCKuH.Ru> Approved by: re (kib) 06 November 2009, 11:29:10 UTC
90ebd14 MFC r198868, r198950: Opteron rev E family of processor expose a bug where acq memory barriers can be broken, resulting in random breakages. Printout a warning message if affected family and model are found. Approved by: re (kib) 06 November 2009, 10:17:08 UTC
3bbac56 Unbreak SBus cards which have been broken (apparently) for a while. Most of the pieces came from Marius- correct settings for channels and resource management. The one piece missing was that you cannot for SBus cards replace 32 bit operations with A64 operations- not supported. MFC of 198822. Approved by: re (ks) 05 November 2009, 19:55:42 UTC
2556476 MFC 198554: Fix some problems with effective mmap() offsets > 32 bits. This was partially fixed on amd64 earlier. Rather than forcing linux_mmap_common() to use a 32-bit offset, have it accept a 64-bit file offset. This offset is then passed to the real mmap() call. Rather than inventing a structure to hold the normal linux_mmap args that has a 64-bit offset, just pass each of the arguments individually to linux_mmap_common() since that more closes matches the existing style of various kern_foo() functions. Approved by: re (kib) 05 November 2009, 16:16:56 UTC
8c2f528 MFC r198775 Fix a corner case where usbd_transfer_drain() can return too early if the callback has dropped the mutex, leading to a panic. Submitted by: HPS Approved by: re (kib) 04 November 2009, 21:28:50 UTC
e048687 MFC r197999: Fix the 106/109 USB Japanese keyboard "underscore" issue. Sun Type 6 USB keyboard support (added in rev 1.46) conflicted with some scan codes used in Japanese keyboards because the scan code conversion routine was ambiguous for the overlapped codes. PR: ports/134005 Submitted by: YAMASHIRO Jun Approved by: re (kib) 02 November 2009, 06:36:54 UTC
ea1e2d6 MFC r198490 Pull upstream patch to fix ee(1) crash when received SIGWINCH: modify _nc_wgetch() to check for a -1 in the fifo, e.g., after a SIGWINCH, and discard that value, to avoid confusing application (patch by Eygene Ryabinkin, FreeBSD bin/136223). PR: 136223 Submitted by: Eygene Ryabinkin Obtained from: ncurses-5.7-20091024 snapshot Approved by: re (kib@) 31 October 2009, 12:58:13 UTC
b0a1e11 MFC rev. 198480, 198483: Document new modularised ATA kernel modules and options. PR: kern/133162, amd64/139859 Approved by: re (kib) 29 October 2009, 15:42:50 UTC
9da0dba MFC rev. 198479: Fix SATA on nVidia MCP55 chipset. It needs some short time to allow BAR(5) memory access. PR: amd64/128686, amd64/132372, amd64/139156 Approved by: re (kib) 29 October 2009, 11:52:26 UTC
567d855 MFC r198353 Verify "smp_started" is true before calling sched_bind() and sched_unbind(). Reviewed by: kmacy Approved by: re 28 October 2009, 22:00:49 UTC
c112132 MFC of r197597, r198270, r198515. MFC of tzdata2009n: - Pakistan will go out DST on 1 October. - Headsup for changes in Argentina. MFC of tzdata2009o: - Somoa has not moved to DST this year (comment only) - Bangladesh stays on DST for now. - Pakistan went back to standard time in 1 October 2009 MFC of tzdata2009p: - Argentina does not go to DST this year. Approved by: re (Ken Smith) 28 October 2009, 21:12:34 UTC
6998a3a MFC: Remove spurious README and an old version of the manpage. Approved by: re (kib) 28 October 2009, 21:11:13 UTC
d0ad8d5 Prepare for 8.0-RC2 builds. Approved by: re (implicit) 25 October 2009, 00:28:01 UTC
b77f449 MFC r198295: Random number generator initialization cleanup: - Introduce new SI_SUB_RANDOM point in boot sequence to make it clear from where one may start using random(9). It should be as early as possible, so place it just after SI_SUB_CPU where we have some randomness on most platforms via get_cyclecount(). - Move stack protector initialization to be after SI_SUB_RANDOM as before this point we have no randomness at all. This fixes stack protector to actually protect stack with some random guard value instead of a well-known one. Note that this patch doesn't try to address arc4random(9) issues. With current code, it will be implicitly seeded by stack protector and hence will get the same entropy as random(9). It will be securely reseeded once /dev/random is feeded by some entropy from userland. Submitted by: Maxim Dounin <mdounin@mdounin.ru> Approved by: re (kib) 24 October 2009, 04:55:14 UTC
4a75ce1 MFC 198174: Close a race with caching of -ve name lookups in the NFS client. Specifically, clients only trust -ve cache entries while the directory remains unchanged and discard any -ve cache entries for a directory when they notice that the modification time of a directory entry changes. The race involves two concurrent lookups as follows: - Thread A does a lookup for file 'foo' which sends a lookup RPC to the server. The lookup fails and the server replies. - The 'foo' file is created (either by the same client or a different client) updating the modification time on the parent directory of 'foo'. - Thread B does a lookup for a different file 'bar' which updates the cached attributes of the parent directory of 'foo' to reflect the new modification time after 'foo' was created. - Thread A finally resumes execution to parse the reply from the NFS server. It adds a -ve cache entry and sets the cached value of the directory's modification time that is used for invalidating -ve cached lookups to the new modification time set by thread B. At this point, future lookups of 'foo' will honor the -ve cached entry until the cached entry is pushed out of the name cache's LRU or the modification time of the parent directory is changed again by some other change. The fix is to read the directory's modification time before sending the lookup RPC and use that cached modification time when setting the directory's cached modification time. Also, we do not add a -ve cache entry if another thread has added -ve cache entry that set the directory's cached modification time to a newer value than the value we read before sending the lookup RPC. Approved by: re (kib) 23 October 2009, 19:52:29 UTC
7d69672 MFC r198352 Make dhclient use bootpc (68) as the source port for unicast DHCPREQUEST packets instead of allowing the protocol stack to pick a random source port. This fixes the behaviour where dhclient would never transition from RENEWING to BOUND without going through REBINDING in networks which are paranoid about DHCP spoofing, such as most mainstream cable-broadband ISP networks. Obtained from: OpenBSD Reviewed by: brooks Approved by: re (kib) 23 October 2009, 14:43:17 UTC
084f2cb MFC r198376 Prevent wraparound of the timeout variable. Submitted by: HPS Approved by: re (kib) 23 October 2009, 12:02:01 UTC
1b9f41a MFC 198306 The flow-table function flowtable_route_flush() may be called during system initialization time. Since the flow-table is designed to maintain per CPU flow cache, the existing code did not check whether "smp_started" is true before calling sched_bind() and sched_unbind(), which triggers a page fault. Reviewed by: jeff Approved by: re 22 October 2009, 18:48:25 UTC
60e42cf MFC r196863: Improve wording. MFC r196941: Prevent the line from wrapping. Approved by: re (kib) 22 October 2009, 16:26:38 UTC
cfcaf24 MFC: r198232 Powercrypt and NetSec seem to be defunct (webpages point to link farms and a google search yields no alternative). Remove the links but keep the entries around for reference. Approved by: re (kib) 22 October 2009, 08:34:20 UTC
b81aa01 MFC r198307 Change from CAM_TID_INVALID to CAM_SEL_TIMEOUT error code when the usb device has been yanked, this works around a cam recounting bug when CAM_DEV_UNCONFIGURED is set late in the detach. In certain conditions the reference to the XPT device would not be released which would cause the usb explore thread to sleep forever on "simfree", preventing any new usb devices to be found/ejected on the bus. Approved by: re (kib) 21 October 2009, 19:48:27 UTC
f0ad15a MFC r198287: Update package list for 8.0-REL. Reviewed by: re@, portmgr@ Approved by: re (implicit) 21 October 2009, 17:18:48 UTC
0ed0ca1 MFC r198201: Remove spurious call to priv_check(PRIV_VM_SWAP_NOQUOTA). Call priv_check(PRIV_VM_SWAP_NORLIMIT) only when per-uid limit is actually exceed. Approved by: re (kensmith) 21 October 2009, 15:07:34 UTC
e9e1e67 Merge r198233 from head to stable/8: Clean up comments, white space, and style in pfil.c (VNET changes not MFC'd) Approved by: re (kib) 21 October 2009, 14:05:51 UTC
acc1064 Merge r198198 from head to stable/8: Line-wrap pfil.c so that it prints more nicely. Approved by: re (kensmith) 21 October 2009, 13:11:38 UTC
af305b9 Merge r198219 from head to stable/8: Remove unused pfil_flags field in packet_filter_hook. Approved by: re (kib) 21 October 2009, 09:53:55 UTC
ada5611 - Note that ASF is now disabled by default in 8.0. Approved by: re (kib) 20 October 2009, 22:11:17 UTC
e9691ee MFC 198301 In the ARP callout timer expiration function, the current time_second is compared against the entry expiration time value (that was set based on time_second) to check if the current time is larger than the set expiration time. Due to the +/- timer granularity value, the comparison returns false, causing the alternative code to be executed. The alternative code path freed the memory without removing that entry from the table list, causing a use-after-free bug. Reviewed by: discussed with kmacy Approved by: re Verified by: rnoland, yongari 20 October 2009, 21:36:56 UTC
85063d7 MFC Revision 197277: Make libc.a provide __stack_chk_fail_local weak alias. This is needed to satisfy static libraries that are compiled with -fpic and linked into static binary afterwards. Several libraries in gcc are examples of such static libs. Approved by: re (kib) 20 October 2009, 19:05:43 UTC
25a956a Merge r198218 from head to stable/8: Sort function prototypes in pfil.h, clean up white space, and better align fields for printing. Approved by: re (kensmith) 20 October 2009, 18:54:51 UTC
e9b62e2 MFC r198098: fixes a TX hang bug that it could happen when if_start callback didn't be restarted by full of the output queue. Tested by: bsduser <bsd at acd.homelinux.org> MFC r198099: fixes a TX hang that could be possible to happen when the trasfers are in the high speed that some drivers don't call if_start callback after marking ~IFF_DRV_OACTIVE. Approved by: re (kib) 20 October 2009, 17:50:36 UTC
9fbc03d MFC r198111 This patch fixes the following issues in the ARP operation: 1. There is a regression issue in the ARP code. The incomplete ARP entry was timing out too quickly (1 second timeout), as such, a new entry is created each time arpresolve() is called. Therefore the maximum attempts made is always 1. Consequently the error code returned to the application is always 0. 2. Set the expiration of each incomplete entry to a 20-second lifetime. 3. Return "incomplete" entries to the application. 4. The return error code was incorrect. Reviewed by: kmacy Approved by: re 20 October 2009, 17:44:50 UTC
c9819c7 - Disable ASF by default in STABLE_8. This causes a lot of problems on non-DELL branded machines with IPMI support. The proposed fix was committed to HEAD but has not received much test coverage yet. Discussed with: bz Approved by: re (kensmith) 20 October 2009, 16:41:23 UTC
de5f4e4 Merge r198196 from head to stable/8: Rewrap ip_input() comment so that it prints more nicely. Approved by: re (kib) 20 October 2009, 16:22:31 UTC
73889e9 MFC r197934: Map PIE binaries at non-zero base address. MFC r198202: Honour non-zero mapbase for PIE binaries. Inform interpreter-less PIE binary about its relocbase. Approved by: re (kensmith) 20 October 2009, 13:34:41 UTC
4f2ca12 MFC r197933: Define architectural load bases for PIE binaries. MFC r198203 (by marius): Change load base for sparc to match default gcc memory layout model. Approved by: re (kensmith) 20 October 2009, 13:32:28 UTC
eea5201 MFC r197313: Build a separate livefs CD for sparc64. Approved by: re (kib) 20 October 2009, 13:32:18 UTC
7941c0c MFC r197932: Do not map elf segments of zero length. Approved by: re (kensmith) 20 October 2009, 13:30:06 UTC
b719e92 MFC r197931: Apply relocations for PIE binary ELF data structures pointers in rtld. Approved by: re (kensmith) 20 October 2009, 13:26:58 UTC
d1bbb94 MFC r198189: Check error of dlfunc(3). Approved by: re (kib) 20 October 2009, 11:52:39 UTC
fca6b87 MFC 198126: Fix a sign bug in the handling of nice priorities when computing the interactive score for a thread. Approved by: re (kib) 19 October 2009, 19:40:05 UTC
3cfbf90 MFC 198079: Use zfs_read() instead of xfsread() to read /boot.config. xfsread() fails short read requests, so the result was that a /boot.config smaller than 512 bytes was ignored. boot2 uses fsread() instead of xfsread() to read /boot.config already, so this makes zfsboot more like boot2. Approved by: re (kib) 19 October 2009, 18:31:39 UTC
ce82839 MFC: r198125 Use our standard section 4 SYNOPSIS. Approved by: re (hrs) 19 October 2009, 08:43:11 UTC
973c954 Merge r198118 from head to stable/8: Print routing statistics as unsigned short rather than unsigned int, otherwise sign extension leads to unlikely values when in the negative range of the signed short structure fields that hold the statistics. The type used to hold routing statistics is arguably also incorrect. Approved by: re (bz) 18 October 2009, 15:58:57 UTC
fbe3c0f MFC 197975, 197977, 197980, 198027: Update for latest 802.11s changes in meshconf format. Approved by: re (kib) 17 October 2009, 13:42:23 UTC
3a28905 MFC r197995, 198020: Link GSS mechanics modules against libgssapi so they will not fail due unresolved symbol errors when in turn libgssapi was loaded with RTLD_LOCAL flag set (which is the default). Approved by: re (kib) 16 October 2009, 09:29:06 UTC
97392ff MFC r197947: In regards to the "Starting foo:" type messages at boot time, create and employ a more generic solution, and use it in the individual rc.d scripts that also have an $rc_quiet test: 1. Add check_startmsgs() to rc.subr. 2. In the rc.d scripts that use rc_quiet (and rc.subr) substitute variations of [ -z "$rc_quiet" ] with check_startmsgs 3. In savecore add a trailing '.' to the end of the message to make it more consistent with other scripts. 4. In newsyslog remove a : before the terminal '.' since we do not expect there to be anything printed out in between to make it more consistent. 5. In the following scripts change "quotes" to 'quotes' where no variables exist in the message: savecore pf newsyslog 6. [Does not apply in RELENG_8] 7. In the following scripts separate the "Starting foo:" from the terminal '.' to make them more consistent: moused hostname pf 8. In nfsclient move the message to its own line to avoid a style bug 9. In pf rc_quiet does not apply to the _stop method, so remove the test there. 10. In motd add 'quotes' around the terminal '.' for consistency Approved by: re (kib) 16 October 2009, 00:17:09 UTC
b251077 MFC r197298: Change the default transport protocol for use by the Mount protocol and the NFS Null RPC done by mount_nfs from UDP to TCP, so that it is consistent with the kernel, which already uses NFS over TCP by default. Without this change, doing an NFS mount against a server that only supports UDP results in an unusable mount point if a transport protocol option wasn't specified for the mount. Approved by: re (kib) 15 October 2009, 19:50:00 UTC
4f9440f Add a MODULE_DEPEND() on the NFS client from dtnfsclient so that dtnfsclient can access NFS client symbols. Discussed with: kib Reported by: markm Approved by: re (kib) 15 October 2009, 14:39:59 UTC
25e51b8 MFC r197868. Use correct arguments when calling SCTP_RTALLOC(). Approved by: re, rrs (mentor) 14 October 2009, 17:26:05 UTC
016f3f1 Fix typo which has survived amazingly long! Reviewed by: mlaier(mentor) Approved by: re(kib) 14 October 2009, 15:32:46 UTC
3c38b28 MFC r197958: In nanosleep(2), note that the calling thread is put to sleep, not the whole process. Also explicitely name the parameter that specifies sleep interval. Approved by: re (kensmith) 14 October 2009, 14:26:19 UTC
39f84b8 MFC r196439: Fix the typo mentioned in the PR, and one additional. Fix caps while I'm here. PR: conf/138087 Submitted by: Chris Petrik <c.petrik.sosa@gmail.com> Approved by: re (kib) 14 October 2009, 03:31:37 UTC
6e16def MFC r197476: In function do_rw_wrlock, when a writer got an error and before returning, check if there are readers blocked by us via URWLOCK_WRITE_WAITERS flag, and resume the readers. The error must be EAGAIN, otherwise there must have memory problem, and nobody can rescue the buggy application. Approved by: re (kib), davidxu 13 October 2009, 13:03:31 UTC
440d29f MFC r197942: Refine r195509, instead of checking that vnode type is VBAD, that is set quite late in the revocation path, properly verify that vnode is not doomed before calling VOP. Approved by: re (bz) 13 October 2009, 09:24:51 UTC
8a3c7c2 MFC r197142: Document accept_rev_ethip_ver and send_rev_ethip_ver flags of EtherIP (gif(4) + if_bridge(4)). Approved by: re (kib) 12 October 2009, 21:08:38 UTC
e968359 MFC r197898: If provider is open for writing when we taste it, skip it for classes that depend on on-disk metadata. This was we won't attach to providers that are used by other classes. For example we don't want to configure partitions on da0 if it is part of gmirror, what we really want is partitions on mirror/foo. During regular work it works like this: if provider is open for writing a class receives the spoiled event from GEOM and detaches, once provider is closed the taste event is send again and class can rediscover its metadata if it is still there. This doesn't work that way when new class arrives, because GEOM gives all existing providers for it to taste, also those open for writing. Classes have to decided on their own if they want to deal with such providers (eg. geom_dev) or not (classes modified by this commit). Reported by: des, Oliver Lehmann <lehmann@ans-netz.de> Tested by: des, Oliver Lehmann <lehmann@ans-netz.de> Discussed with: phk, marcel Reviewed by: marcel Approved by: re (kib) 12 October 2009, 21:08:06 UTC
e484204 MFC r197896: Export disk serial numbers for adaX disks. Reviewed by: mav Approved by: re (kib) 12 October 2009, 21:03:07 UTC
2365c3b MFC r197831,r197842,r197843,r197860,r197861: r197831: Fix situation where Mac OS X NFS client creates a file and when it tries to set ownership and mode in the same setattr operation, the mode was overwritten by secpolicy_vnode_setattr(). PR: kern/118320 Submitted by: Mark Thompson <info-gentoo@mark.thompson.bz> r197842: Fix white-spaces. r197843: On FreeBSD it is enough to report provider removal when orphan event is received, we don't have to do it on every ENXIO error in I/O path. Solaris has no GEOM so they have to handle it in a less clean way. r197860: File system owner is when uid matches and jail matches. r197861: Allow file system owner to modify system flags if securelevel permits. Approved by: re (kib) 12 October 2009, 20:36:55 UTC
cd3cf30 MFC r197803, r197824, r197910: Per their definition, atomic instructions used in conjuction with memory barriers should also ensure that the compiler doesn't reorder paths where they are used. GCC, however, does that aggressively, even in presence of volatile operands. The most reliable way GCC offers for avoid instructions reordering is clobbering "memory". Not all our memory barriers, right now, clobber memory for GCC-like compilers. Fix these cases. Approved by: re (kib) 12 October 2009, 16:05:31 UTC
5abe23e MFC r197812: Fix tcsh losing history when tcsh terminates because the pty beneath it is closed. Diagnosed by Ted Anderson: New signal queuing logic was introduced in 6.15 and allows the signal handlers to be run explicitly by calling handle_pending_signals, instead of immediately when the signal is delivered. This function is called at various places, typically when receiving a EINTR from a slow system call such as read or write. In the pty exit case, it was called from xwrite, called from flush, while printing the "exit" message after receiving EOF when reading from the pty (note that the read did not return EINTR but zero bytes, indicating EOF). The SIGHUP handler, phup(), called rechist, which opened the history file and began writing the merged history to it. This process invoked flush recursively to actually write the data. In this case, however, the flush noticed it was being called recursively and decided fail by calling stderror. My conclusion was that the signal was being handled at a bad time. But whether to fix flush not to care about the recursive call, or to handle the signal some other time and when to handle it, was unclear to me. However, by adding an extra call to handle_pending_signals, just after process() returns to main(), I was able to avoid the truncated history after network outages and similar failures. I verified this fix in version 6.17. Approved by: re (kib) 12 October 2009, 15:46:17 UTC
2afdf80 MFC r197643, r197735: When releasing a read/shared lock we need to use a write memory barrier in order to avoid, on architectures which doesn't have strong ordered writes, CPU instructions reordering. Approved by: re (kib) 12 October 2009, 15:32:00 UTC
49f1f51 MFC r196700: Manual page for mfiutil(8) is in section 8 now. Approved by: re (kib) 11 October 2009, 18:14:18 UTC
b1734f7 MFC r197835: - Document that 'Dell PowerEdge R710' has bce(4) supported NIC. - Bump document date. Approved by: re (kib) 11 October 2009, 16:52:24 UTC
b2b1306 MFC r196483,r196634: sh: Fix crash when undefining or redefining a currently executing function Add a reference count to function definitions. Memory may leak if a SIGINT arrives in interactive mode at exactly the wrong time, this will be fixed later by changing SIGINT handling. PR: bin/137640 Approved by: re (kib) 11 October 2009, 16:35:12 UTC
163f9f6 MFC change 197721: Fix RTS/CTS flow control, broken by the TTY overhaul. The new TTY interface is fairly simple WRT dealing with flow control, but needed 2 new RX buffer functions with "get-char-from-buf" separated from "advance-buf-pointer" so that the pointer could be advanced only when ttydisc_rint() succeeded. Approved by: re (kib) 10 October 2009, 18:24:54 UTC
e374ef8 MFC: r197312 Fix setfib(1) section number. Approved by: re (kib) 09 October 2009, 13:52:49 UTC
5c1e160 MFC: r197310 Fix mdoc, typos, contractions. Approved by: re (kib) 09 October 2009, 13:46:55 UTC
e14cfbf MFC: r197300 Various mdoc, spelling etc fixes. Approved by: re (kib) 09 October 2009, 13:41:53 UTC
56407d5 MFC: r197276 Correct a sysctl name. Approved by: re (kib) 09 October 2009, 13:36:14 UTC
9ce2115 MFC: r197275 Fix an xref. Approved by: re (kib) 09 October 2009, 13:31:36 UTC
35326ee MFC: r197274 Fix the example, -w is the right switch for write failure probability. Approved by: re (kib) 09 October 2009, 13:25:45 UTC
80eddaa Merge r197814 from head to stable/8: Remove tcp_input lock statistics; these are intended for debugging only and are not intended to ship in 8.0 as they dirty additional cache lines in a performance-critical per-packet path. Approved by: re (kib, bz) 09 October 2009, 09:18:22 UTC
463dcac MFC r197727: Put #ifdef INET around parts of the FLOWTABLE code, to unbreak nooptions INET kernel builds. Approved by: re (kib) 08 October 2009, 20:58:09 UTC
00113b1 MFC r197662: Do not dereference vp->v_mount without holding vnode lock and checking that the vnode is not reclaimed. Approved by: re (bz) 08 October 2009, 11:28:32 UTC
c259735 Merge r197795 from head to stable/8: In tcp_input(), we acquire a global write lock at first only if a segment is likely to trigger a TCP state change (i.e., FIN/RST/SYN). If we later have to upgrade the lock, we acquire an inpcb reference and drop both global/inpcb locks before reacquiring in-order. In that gap, the connection may transition into TIMEWAIT, so we need to loop back and reevaluate the inpcb after relocking. Reported by: Kamigishi Rei <spambox at haruhiism.net> Reviewed by: bz Approved by: re (kib) 08 October 2009, 11:07:15 UTC
back to top