aboutsummaryrefslogtreecommitdiff
path: root/cddl/usr.bin/zstream/Makefile
diff options
context:
space:
mode:
authorJessica Clarke <jrtc27@FreeBSD.org>2021-06-08 17:30:59 +0000
committerJessica Clarke <jrtc27@FreeBSD.org>2021-06-08 17:30:59 +0000
commit6d2648bcaba9b14e2f5c76680f3e7608e1f125f4 (patch)
treeb8d537eeaeb14e16fa763e668a25de274a66dde8 /cddl/usr.bin/zstream/Makefile
parentde295884c4efd9a126dfdd8d98247de345d1f468 (diff)
downloadsrc-6d2648bcaba9b14e2f5c76680f3e7608e1f125f4.tar.gz
src-6d2648bcaba9b14e2f5c76680f3e7608e1f125f4.zip
tip: Fix pointer-vs-integer confusion
Currently IREMOTE assumes that every value is (initially) a pointer to a long. This is true for NUMBERs, but false for STRINGs, which are instead pointers to pointers, though on ILP32 and LP64 systems these happen to have the same representation, but this is still a strict aliasing violation, and of course breaks on systems where the representations are not the same, such as CHERI. We do not currently have any BOOLs (short, curiously) or CHARs used with IREMOTE, though the code should not be relying on that. This removes the unused setaddress macro, and the now-unused address macro due to the above issue. Reviewed by: imp, kib Obtained from: CheriBSD Differential Revision: https://reviews.freebsd.org/D30697
Diffstat (limited to 'cddl/usr.bin/zstream/Makefile')
0 files changed, 0 insertions, 0 deletions