| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/releng/8.0/; revision=216063
|
|
|
|
|
|
|
|
|
|
| |
corrupt bzip2 data.
Approved by: so (cperciva)
Security: FreeBSD-SA-10:08.bzip2
Notes:
svn path=/releng/8.0/; revision=212901
|
|
|
|
|
|
|
|
|
|
|
| |
to an mbuf external buffer.
Approved by: so (cperciva)
Approved by: re (kensmith)
Security: FreeBSD-SA-10:07.mbuf
Notes:
svn path=/releng/8.0/; revision=209964
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/releng/8.0/; revision=208586
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
[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)
Notes:
svn path=/releng/8.0/; revision=201679
|
|
|
|
|
|
|
|
|
|
| |
accidentally left out of main commit for SA-09:15, SA-09:15, and
SA-09:17 in r200054.
Approved by: so (simon)
Notes:
svn path=/releng/8.0/; revision=200057
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/releng/8.0/; revision=200054
|
|
|
|
|
|
|
|
| |
Approved by: re (implicit)
Notes:
svn path=/releng/8.0/; revision=199595
svn path=/release/8.0.0/; revision=199625; tag=release/8.0.0
|
|
|
|
|
|
|
| |
Approved by: re (implicit)
Notes:
svn path=/releng/8.0/; revision=199591
|
|
|
|
|
|
|
|
|
|
|
| |
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)
Notes:
svn path=/releng/8.0/; revision=199590
|
|
|
|
|
|
|
|
|
| |
only applies to head.
Approved by: re (implicit)
Notes:
svn path=/releng/8.0/; revision=199588
|
|
|
|
|
|
|
| |
Approved by: re (implicit)
Notes:
svn path=/releng/8.0/; revision=199586
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/releng/8.0/; revision=199325
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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)
Notes:
svn path=/releng/8.0/; revision=199275
|
|
|
|
|
|
|
| |
Approved by: re (implicit)
Notes:
svn path=/releng/8.0/; revision=199125
|
|
|
|
|
|
|
|
|
|
|
| |
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)
Notes:
svn path=/releng/8.0/; revision=199124
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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)
Notes:
svn path=/releng/8.0/; revision=199122
|
|
|
|
|
|
|
| |
Approved by: re (implicit)
Notes:
svn path=/releng/8.0/; revision=199119
|
|
|
|
|
|
|
| |
Approved by: re (implicit)
Notes:
svn path=/releng/8.0/; revision=199118
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
> 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)
Notes:
svn path=/releng/8.0/; revision=199117
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/releng/8.0/; revision=199113
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
> 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)
Notes:
svn path=/releng/8.0/; revision=199109
|
|
|
|
|
|
|
|
|
|
|
|
| |
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)
Notes:
svn path=/releng/8.0/; revision=199051
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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)
Notes:
svn path=/releng/8.0/; revision=198991
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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)
Notes:
svn path=/releng/8.0/; revision=198984
|
|
|
|
|
|
|
|
|
|
|
| |
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)
Notes:
svn path=/releng/8.0/; revision=198978
|
|
|
|
|
|
|
|
|
|
|
|
| |
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)
Notes:
svn path=/releng/8.0/; revision=198962
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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)
Notes:
svn path=/releng/8.0/; revision=198951
|
|
|
|
|
|
|
|
|
|
|
| |
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)
Notes:
svn path=/releng/8.0/; revision=198930
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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)
Notes:
svn path=/releng/8.0/; revision=198780
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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@)
Notes:
svn path=/releng/8.0/; revision=198716
|
|
|
|
|
|
|
|
|
|
| |
Document new modularised ATA kernel modules and options.
PR: kern/133162, amd64/139859
Approved by: re (kib)
Notes:
svn path=/releng/8.0/; revision=198606
|
|
|
|
|
|
|
|
|
|
|
| |
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)
Notes:
svn path=/releng/8.0/; revision=198580
|
|
|
|
|
|
|
|
|
|
|
| |
Verify "smp_started" is true before calling
sched_bind() and sched_unbind().
Reviewed by: kmacy
Approved by: re
Notes:
svn path=/releng/8.0/; revision=198568
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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)
Notes:
svn path=/releng/8.0/; revision=198558
|
|
|
|
|
|
|
| |
Approved by: re (kib)
Notes:
svn path=/releng/8.0/; revision=198557
|
|
|
|
|
|
|
| |
Approved by: re (implicit)
Notes:
svn path=/stable/8/; revision=198456
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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)
Notes:
svn path=/stable/8/; revision=198434
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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)
Notes:
svn path=/stable/8/; revision=198424
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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)
Notes:
svn path=/stable/8/; revision=198405
|
|
|
|
|
|
|
|
|
|
| |
Prevent wraparound of the timeout variable.
Submitted by: HPS
Approved by: re (kib)
Notes:
svn path=/stable/8/; revision=198386
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/stable/8/; revision=198371
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Improve wording.
MFC r196941:
Prevent the line from wrapping.
Approved by: re (kib)
Notes:
svn path=/stable/8/; revision=198368
|
|
|
|
|
|
|
|
|
|
|
| |
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)
Notes:
svn path=/stable/8/; revision=198359
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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)
Notes:
svn path=/stable/8/; revision=198348
|
|
|
|
|
|
|
|
|
|
| |
Update package list for 8.0-REL.
Reviewed by: re@, portmgr@
Approved by: re (implicit)
Notes:
svn path=/stable/8/; revision=198337
|
|
|
|
|
|
|
|
|
|
|
| |
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)
Notes:
svn path=/stable/8/; revision=198330
|
|
|
|
|
|
|
|
|
|
| |
Clean up comments, white space, and style in pfil.c (VNET changes not
MFC'd)
Approved by: re (kib)
Notes:
svn path=/stable/8/; revision=198326
|
|
|
|
|
|
|
|
|
| |
Line-wrap pfil.c so that it prints more nicely.
Approved by: re (kensmith)
Notes:
svn path=/stable/8/; revision=198324
|
|
|
|
|
|
|
|
|
| |
Remove unused pfil_flags field in packet_filter_hook.
Approved by: re (kib)
Notes:
svn path=/stable/8/; revision=198315
|