diff options
author | Brooks Davis <brooks@FreeBSD.org> | 2018-07-05 13:13:48 +0000 |
---|---|---|
committer | Brooks Davis <brooks@FreeBSD.org> | 2018-07-05 13:13:48 +0000 |
commit | f38b68ae8aadd1e3fc55f9627b41651eab2f767e (patch) | |
tree | 2532422476e51289aa873aa68c5e7b030eed8460 /UPDATING | |
parent | 4a7ec940e45555ef9e0398fccd83d5780857d927 (diff) | |
download | src-test-f38b68ae8aadd1e3fc55f9627b41651eab2f767e.tar.gz src-test-f38b68ae8aadd1e3fc55f9627b41651eab2f767e.zip |
Make struct xinpcb and friends word-size independent.
Replace size_t members with ksize_t (uint64_t) and pointer members
(never used as pointers in userspace, but instead as unique
idenitifiers) with kvaddr_t (uint64_t). This makes the structs
identical between 32-bit and 64-bit ABIs.
On 64-bit bit systems, the ABI is maintained. On 32-bit systems,
this is an ABI breaking change. The ABI of most of these structs
was previously broken in r315662. This also imposes a small API
change on userspace consumers who must handle kernel pointers
becoming virtual addresses.
PR: 228301 (exp-run by antoine)
Reviewed by: jtl, kib, rwatson (various versions)
Sponsored by: DARPA, AFRL
Differential Revision: https://reviews.freebsd.org/D15386
Notes
Notes:
svn path=/head/; revision=335979
Diffstat (limited to 'UPDATING')
-rw-r--r-- | UPDATING | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/UPDATING b/UPDATING index 266bea6cc70e0..6063ad03fa180 100644 --- a/UPDATING +++ b/UPDATING @@ -31,6 +31,14 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 12.x IS SLOW: disable the most expensive debugging functionality run "ln -s 'abort:false,junk:false' /etc/malloc.conf".) +20180705: + The ABI of syscalls used by management tools like sockstat and + netstat has been broken to allow 32-bit binaries to work on + 64-bit kernels without modification. These programs will need + to match the kernel in order to function. External programs may + require minor modifications to accommodate a change of type in + structures from pointers to 64-bit virtual addresses. + 20180702: On i386 and amd64 atomics are now inlined. Out of tree modules using atomics will need to be rebuilt. |