1
0
mirror of http://galexander.org/git/simplesshd.git synced 2024-12-28 17:08:08 +00:00

disable use of sigprocmask() in rsync, because Android Oreo (quite

inappropriately) seems to terminate the process when it is called.
This commit is contained in:
Greg Alexander 2017-10-28 14:20:35 -04:00
parent 6fa541d169
commit 7b8ce267d9

View File

@ -47,7 +47,15 @@
#define HAVE_GETADDRINFO 1
#define HAVE_CHMOD 1
#define HAVE_SIGACTION 1
/* Bionic supplies sigprocmask() but in Android Oreo and beyond, it seems to be:
* fprintf(stderr, "Bad system call\n");
* exit(0);
* When it should probably be:
* errno=ENOSYS;
* return -1;
* WTF, Bionic.
#define HAVE_SIGPROCMASK 1
*/
#define SUPPORT_LINKS 1
#define SUPPORT_HARD_LINKS 1
#define HAVE_LINK 1