This fixes the declaration of struct rtentry, and the SIOCADDRT/DELRT ioctls on certain FreeBSD versions.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Please upload this diff with full context as described at:
lib/sanitizer_common/sanitizer_platform_limits_posix.cc | ||
---|---|---|
661 | Should we define these for Linux as well? |
lib/sanitizer_common/sanitizer_platform_limits_posix.cc | ||
---|---|---|
36 | It appears SANITIZER_FREEBSD_RTENTRY is not defined on MAC and Linux. I would expect it to expand to 0 on these platforms. | |
378 | Looks like it should be: #if SANITIZER_LINUX || SANITIZER_FREEBSD_RTENTRY | |
661 | #if SANITIZER_LINUX || SANITIZER_FREEBSD_RTENTRY ? |
It appears SANITIZER_FREEBSD_RTENTRY is not defined on MAC and Linux. I would expect it to expand to 0 on these platforms.