mirror of
https://github.com/SELinuxProject/selinux
synced 2024-12-18 12:14:33 +00:00
3c85f9f1a0
Building with musl libc leads to some build errors: setrans_client.c: In function ‘receive_response’: setrans_client.c:147:19: error: implicit declaration of function ‘readv’ [-Werror=implicit-function-declaration] while (((count = readv(fd, resp_hdr, 3)) < 0) && (errno == EINTR)) ; ^~~~~ and: In file included from matchpathcon.c:10:0: /usr/include/sys/errno.h:1:2: error: #warning redirecting incorrect #include <sys/errno.h> to <errno.h> [-Werror=cpp] #warning redirecting incorrect #include <sys/errno.h> to <errno.h> ^ Fix the first one by including <sys/uio.h> and the second one by using <errno.h> instead of <sys/errno.h>. Signed-off-by: Nicolas Iooss <nicolas.iooss@m4x.org> |
||
---|---|---|
.. | ||
.gitignore | ||
avcstat.c | ||
compute_av.c | ||
compute_create.c | ||
compute_member.c | ||
compute_relabel.c | ||
compute_user.c | ||
getconlist.c | ||
getdefaultcon.c | ||
getenforce.c | ||
getfilecon.c | ||
getpidcon.c | ||
getsebool.c | ||
getseuser.c | ||
Makefile | ||
matchpathcon.c | ||
policyvers.c | ||
sefcontext_compile.c | ||
selabel_digest.c | ||
selabel_lookup_best_match.c | ||
selabel_lookup.c | ||
selabel_partial_match.c | ||
selinux_check_securetty_context.c | ||
selinux_restorecon.c | ||
selinuxenabled.c | ||
selinuxexeccon.c | ||
setenforce.c | ||
setfilecon.c | ||
togglesebool.c |