- Update entries for increased KVA on amd64 and superpages on
amd64/i386[1]
- BTX loader improved[2]
- Move sysctl node MPSAFE flag to the kernel section[3]
- u3g(4) added[4]
- Various grammer fixes[5]
- MAKE_JOBS_SAFE added in bsd.port.mk.
Suggested by: ivoras[1], gavin[2], kib[3], edwin[4], and schweikh[5].
Approved by: re (implicit)
Update release notes:
DDB show mount added,
sparc64 US III support,
DRM r600/r700,
ae(4) WoL support,
hardware MAC stats: cxgb(4), msk(4), nfe(4),
re(4) hw.re.prefer_iomap,
sis(4) VLAN tagging bugfix,
txp(4) update,
TCP MD5 signature option for IPv6,
gpart(8) updated; APM and EBR scheme support,
mpt(4) in GENERIC on sparc64,
vfs.nfs.prime_access_cache for NFSv3,
ncal(1) multibyte support,
csup CVSMode support,
du(1) -A and -B option added,
makefs(8) added, and
mergemaster(8) -F option added.
Update release note:
type of shm_segsz in struct shmid_ds to size_t from int,
AltiVec support on powerpc,
INTx disabled when MSI/MSIX enabled,
sysctl leaf node now has an MPSAFE flag,
hw.drm.msi tunable added,
ale(4) in GENERIC on amd64 and i386,
ata-raid(4) initial support for DDF metadata,
cam(4) kern.cam.cd.retry_count sysctl,
ciss(4) max device openings count fix,
btpand(8) for NAP, GN, PANU profiles of bluetooth added, and
improve description of the fetch(1) If-Modified-Since support.
Update release note:
jail improvements: IPv4, IPv6, no address support, SCTP fix,
cpuset(1) support, ddb show jails, version number bump,
KTR_CALLOUT new tracepoint added,
Superpages on amd64 and i386,
acpu_asus(4) Asus A8Sr support added,
axe(4) reduced csw for better performance,
fxp(4) improvements including checksum offload, TSO, WoL, and VLAN,
msk(4) hang up issue due to misalignment workaround,
mxge(4) newer hardware support and media types,
re(4) better miibus interaction support,
rl(4) better miibus interaction support and fixes for >4GB system,
IPv4 source address selection,
tap(4) TAPGIFNAME ioctl added,
unix(4) MPSAFE,
sdhci(4) kernel dump support,
EA semantics of [am]time update changed,
atacontrol(8) minor nits fixed,
dirname(1) multiple arguments support,
dumpfs(8) -f flag added,
fsck(8) s/-C/-D/,
ln(1) -w flag added,
netstat(1) unix sockets stats in -L flag,
pciconf(8) -b flag added, and
stat(1) octal s[gu]id in -x flag.
Update release notes:
FREEBSD32 syscall translation layer now supports
addition/removal of syscall from kernel module,
VFS_AIO syscalls added to FREEBSD32,
ktr(4) new tracepoint for callout added,
cpufreq(4) hw.est.msr_info added,
kern.timecounter.invariant_tsc for i386 and amd64 added,
vfs.lookup_shared improvement and removal of LOOKUP_SHARED option, and
netstat(1) -ss for icmp6 section fixed.
In sysctl_ifdata(), query the ifnet pointer using the index only
once, rather than querying it, validating it, and then re-querying
it without validating it. This may avoid a NULL pointer
dereference and resulting kernel page fault if an interface is
being deleted while bsnmp or other tools are querying data on the
interface.
The full fix, to properly refcount the interface for the duration
of the sysctl, is in 8.x, but is considered too high-risk for
7.2, so instead will appear in 7.3 (if all goes well).
In case of AF_LINK, which the kernel still returns for an RTAX_GATEWAY
as an empty sockaddr_dl in the classic tun<n> case:
copying the address into the message payload, but not the RTA_GATEWAY
flag results in rt_xaddrs() in the kernel tripping over that and parsing
the next attribute set with a flag, i.e. RTA_NETMASK, with the gateway
address, resulting in bogus route entry.
For reasons of stack alignment, it does not appear that this is exploitable
on any systems FreeBSD runs on, so this will not be getting a security
advisory.
Prevent atkbd(4) interrupt handler from calling keyboard callback function
when polled mode is enabled. This should help with duplicated/missing
characters problem at mountroot, geli, etc. prompts on multi CPU systems
while kbdmux(4) is enabled.
marius [Fri, 17 Apr 2009 23:22:06 +0000 (23:22 +0000)]
MFC: r191076
- Remove the second license as I'm also fine with the first one.
- Remove redundant softc members for RIDs.
- Change some softc members to be unsigned where more appropriate.
- Add some missing const.
- Remove support for mmap(2)'ing VGA I/O as it was broken [1] and
not required by X.Org anyway.
- Fix some confusion between bus, physical and virtual addresses
which mostly consisted in using members of struct video_adapter
inappropriately but wasn't fatal except for the regular framebuffer
mmap(2)'ing.
- Remove redundant bzero(9)'ing of the softc.
- Don't map the framebuffer twice in case the firmware has already
mapped it as besides wasting resources this isn't possible with
all MMUs. This is a bit tricky as a) just because the firmware
provides a property with a virtual address doesn't mean it's
actually mapped (but typically is when the framebuffer is the
console) and b) the firmware doesn't necessarily map it with
the same byteorder as we do. This makes machfb(4) work on machines
with cheetah-class MMUs (including X.Org).
Reported by: Michael Plass [1]
Approved by: re (kib)
Merge r190708 from HEAD to releng/7.2:
Fix KBI breakage by r190520 which affects older linux.ko binaries:
1) Move the new field (brand_note) to the end of the Brandinfo structure.
2) Add a new flag BI_BRAND_NOTE that indicates that the brand_note pointer
is valid.
3) Use the brand_note field if the flag BI_BRAND_NOTE is set and as old
modules won't have the flag set, so the new field brand_note would be
ignored.
MFC r175055
Defer setting either PG_CACHED or PG_FREE until after the free page
queues lock is acquired. Otherwise, the state of a reservation's
pages' flags and its population count can be inconsistent. That could
result in a page being freed twice.
(This change should have been included in the MFC of the superpages
support.)