mailing list of musl libc
 help / color / mirror / code / Atom feed
d8e8eb0be8b0adeb56193af786327d1f91f68641 blob 251 bytes (raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
 
#include <signal.h>
#include <errno.h>
#include "syscall.h"

int sigaltstack(const stack_t *restrict ss, stack_t *restrict old)
{
	if (ss && (ss->ss_flags & SS_ONSTACK)) {
		errno = EINVAL;
		return -1;
	}
	return syscall(SYS_sigaltstack, ss, old);
}
debug log:

solving d8e8eb0b ...
found d8e8eb0b in https://inbox.vuxu.org/musl/CAA2zVHpSiKgq8tBpjy5Zjbb1UtoJ++UtT8EvFDJqFmb+mtDLBQ@mail.gmail.com/
found cfa3f5c1 in https://git.vuxu.org/mirror/musl/
preparing index
index prepared:
100644 cfa3f5c19d0de03384ff3f1a3b884149626db07b	src/signal/sigaltstack.c

applying [1/1] https://inbox.vuxu.org/musl/CAA2zVHpSiKgq8tBpjy5Zjbb1UtoJ++UtT8EvFDJqFmb+mtDLBQ@mail.gmail.com/
diff --git a/src/signal/sigaltstack.c b/src/signal/sigaltstack.c
index cfa3f5c1..d8e8eb0b 100644

Checking patch src/signal/sigaltstack.c...
Applied patch src/signal/sigaltstack.c cleanly.

index at:
100644 d8e8eb0be8b0adeb56193af786327d1f91f68641	src/signal/sigaltstack.c

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).