authorgravatar for zeranoe@gmail.comKyle Schwarz <zeranoe@gmail.com> 2025-08-30 18:26:14-04:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2025-09-24 03:50:29+02:00
log1f0cf7c5514587471a219c418c15b49413d0fd14
tree0356bd458d4e4f82e5e63fa4a89ea0774f992df0
parentbc567312bf58389ffed40f5fc3d0b3ee26271c3e
signaturebadge-check Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

glibc: guard inet-fortified.h


1 files changed, 3 insertions(+), 0 deletions(-)

  • folderlib
    • folderlibc
      • folderinclude
lib/libc/include/generic-glibc/arpa/inet.h+3
......@@ -101,10 +101,13 @@ extern char *inet_nsap_ntoa (int __len, const unsigned char *__cp,
101101 char *__buf) __THROW;
102102#endif
103103
104// zig patch: inet was fortified in glibc 2.42
105#if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 42) || __GLIBC__ > 2
104106#if __USE_FORTIFY_LEVEL > 0 && defined __fortify_function
105107/* Include functions with security checks. */
106108# include <bits/inet-fortified.h>
107109#endif
110#endif
108111
109112__END_DECLS
110113