New commits:
commit ddd7758b57686ab0d6080098925d689c0f2d23e1
Author: Andrew Cagney <[email protected]>
Date: Thu Jul 29 16:40:11 2021 -0400
jambuf: add jam_errno(), use POSIX strerror_r()
Use in llog_errno().
commit c3fa1f56eab701f40b4394da6c758c664b4255da
Author: Andrew Cagney <[email protected]>
Date: Thu Jul 29 18:07:10 2021 -0400
building: on GNU/Linux drop -Dlinux -D_GNU_SOURCE -DSCANDIR_HAS_CONST
-Dlinux was for compiling on what must now be a very old ARM system
-D_GNU_SOURCE was so that pipe2() was visible; but pipe2() is no
longer used (althoug seccomp does add it)
However, it did (outch!) enabled the non-portable version
ofstrerror_r().
-DSCANDIR_HAS_CONST wasn't even making it to USERLAND_CFLAGS
commit 2bdd9e102e71169180ec452bb6017acfd7e68ae0
Author: Andrew Cagney <[email protected]>
Date: Thu Jul 29 17:41:21 2021 -0400
sec_label: use llog_errno() to log failure
(was called log_error())
The code written to use the legacy and GNU centric:
char *strerror_r()
instead of the POSIX compliant:
int strerror_r()
See strerror_r(3) on a GNU system.
The down side is that llog_errno() is still using strerror(); next.
_______________________________________________
Swan-commit mailing list
[email protected]
https://lists.libreswan.org/mailman/listinfo/swan-commit