Searched refs:sigaction (Results 1 - 24 of 24) sorted by relevance

/openjdk9/hotspot/test/runtime/jsig/
H A DlibTestJNI.c39 struct sigaction act;
40 struct sigaction oact;
46 sigaction(0x20+val, &act, &oact);
/openjdk9/hotspot/src/os/solaris/vm/
H A Djsig.c29 * sigaction(), signal(), sigset().
46 static struct sigaction *sact = (struct sigaction *)NULL; /* saved signal handlers */
57 typedef int (*sigaction_t)(int, const struct sigaction *, struct sigaction *);
60 static sigaction_t os_sigaction = 0; /* os's version of sigaction() */
71 sact = (struct sigaction *)malloc((maxsignum+1) * (size_t)sizeof(struct sigaction));
72 memset(sact, 0, (maxsignum+1) * (size_t)sizeof(struct sigaction));
159 * handlers and save the old ones. jvm uses sigaction()
199 int sigaction(int sig, const struct sigaction *act, struct sigaction *oact) { function
[all...]
H A Dos_solaris.hpp107 static struct sigaction *(*get_signal_action)(int);
108 static struct sigaction *get_preinstalled_handler(int);
110 static void save_preinstalled_handler(int, struct sigaction&);
198 static bool libjsig_is_loaded; // libjsig that interposes sigaction(),
200 static struct sigaction *get_chained_signal_action(int sig);
H A Dos_solaris.cpp1032 struct sigaction oact;
1033 sigaction(sig, (struct sigaction*)NULL, &oact);
1957 struct sigaction sa;
1959 sigaction(sig, NULL, &sa);
2154 struct sigaction sigAct, oldSigAct;
2159 if (sigaction(signal_number, &sigAct, &oldSigAct)) {
2179 static struct sigaction *chainedsigactions = NULL;
2204 chainedsigactions = (struct sigaction *)malloc(sizeof(struct sigaction)
[all...]
/openjdk9/hotspot/src/os/aix/vm/
H A Djsig.c30 * sigaction(), signal(), sigset().
45 static struct sigaction sact[NSIG]; /* saved signal handlers */
57 typedef int (*sigaction_t)(int, const struct sigaction *, struct sigaction *);
60 static sigaction_t os_sigaction = 0; /* os's version of sigaction() */
123 * handlers and save the old ones. jvm uses sigaction().
151 static int call_os_sigaction(int sig, const struct sigaction *act,
152 struct sigaction *oact) {
155 os_sigaction = sigaction;
164 int sigaction(in function
[all...]
H A Dos_aix.hpp37 static bool libjsig_is_loaded; // libjsig that interposes sigaction(),
39 static struct sigaction *(*get_signal_action)(int);
40 static struct sigaction *get_preinstalled_handler(int);
41 static void save_preinstalled_handler(int, struct sigaction&);
137 static struct sigaction *get_chained_signal_action(int sig);
H A Dos_aix.cpp601 struct sigaction oact;
602 sigaction(sig, (struct sigaction*)NULL, &oact);
1626 struct sigaction sigAct, oldSigAct;
1649 if (sigaction(signal_number, &sigAct, &oldSigAct)) {
2757 struct sigaction act;
2784 if (sigaction(SR_signum, &act, 0) == -1) {
2908 // field of the structure passed to sigaction(). This routine assumes that
2909 // the sa_flags field passed to sigaction() includes SA_SIGINFO and SA_RESTART.
2961 struct sigaction sigac
[all...]
/openjdk9/hotspot/src/os/bsd/vm/
H A Djsig.c29 * sigaction(), signal(), sigset().
45 static struct sigaction sact[NSIG]; /* saved signal handlers */
57 typedef int (*sigaction_t)(int, const struct sigaction *, struct sigaction *);
60 static sigaction_t os_sigaction = 0; /* os's version of sigaction() */
126 * handlers and save the old ones. jvm uses sigaction().
155 static int call_os_sigaction(int sig, const struct sigaction *act,
156 struct sigaction *oact) {
158 os_sigaction = (sigaction_t)dlsym(RTLD_NEXT, "sigaction");
167 int sigaction(in function
[all...]
H A Dos_bsd.hpp43 static bool libjsig_is_loaded; // libjsig that interposes sigaction(),
45 static struct sigaction *(*get_signal_action)(int);
46 static struct sigaction *get_preinstalled_handler(int);
47 static void save_preinstalled_handler(int, struct sigaction&);
120 static struct sigaction *get_chained_signal_action(int sig);
H A Dos_bsd.cpp539 struct sigaction oact;
540 sigaction(sig, (struct sigaction*)NULL, &oact);
1876 struct sigaction sigAct, oldSigAct;
1882 if (sigaction(signal_number, &sigAct, &oldSigAct)) {
2790 struct sigaction act;
2821 if (sigaction(SR_signum, &act, 0) == -1) {
2930 // field of the structure passed to sigaction(). This routine assumes that
2931 // the sa_flags field passed to sigaction() includes SA_SIGINFO and SA_RESTART.
2953 struct sigaction sigac
[all...]
/openjdk9/hotspot/src/os/linux/vm/
H A Djsig.c29 * sigaction(), signal(), sigset().
49 static struct sigaction sact[NSIG]; /* saved signal handlers */
60 typedef int (*sigaction_t)(int, const struct sigaction *, struct sigaction *);
63 static sigaction_t os_sigaction = 0; /* os's version of sigaction() */
124 * handlers and save the old ones. jvm uses sigaction().
152 static int call_os_sigaction(int sig, const struct sigaction *act,
153 struct sigaction *oact) {
155 os_sigaction = (sigaction_t)dlsym(RTLD_NEXT, "sigaction");
164 int sigaction(in function
[all...]
H A Dos_linux.hpp37 static bool libjsig_is_loaded; // libjsig that interposes sigaction(),
39 static struct sigaction *(*get_signal_action)(int);
40 static struct sigaction *get_preinstalled_handler(int);
41 static void save_preinstalled_handler(int, struct sigaction&);
163 static struct sigaction *get_chained_signal_action(int sig);
H A Dos_linux.cpp392 struct sigaction oact;
393 sigaction(sig, (struct sigaction*)NULL, &oact);
2449 struct sigaction sigAct, oldSigAct;
2455 if (sigaction(signal_number, &sigAct, &oldSigAct)) {
4074 struct sigaction act;
4106 if (sigaction(SR_signum, &act, 0) == -1) {
4215 // field of the structure passed to sigaction(). This routine assumes that
4216 // the sa_flags field passed to sigaction() includes SA_SIGINFO and SA_RESTART.
4239 struct sigaction sigac
[all...]
/openjdk9/jdk/src/java.base/unix/native/libnio/ch/
H A DNativeThread.c74 struct sigaction sa, osa;
78 if (sigaction(INTERRUPT_SIGNAL, &sa, &osa) < 0)
79 JNU_ThrowIOExceptionWithLastError(env, "sigaction");
/openjdk9/hotspot/src/os/posix/vm/
H A DvmError_posix.cpp64 struct sigaction sa;
65 sigaction(sig, NULL, &sa);
/openjdk9/hotspot/test/runtime/StackGuardPages/
H A Dexeinvoke.c79 struct sigaction sa = {
88 if (sigaction(SIGSEGV, &sa, NULL) == -1) {
89 fprintf(stderr, "Test ERROR. Can't set sigaction (%d)\n", errno);
/openjdk9/hotspot/src/jdk.hotspot.agent/solaris/native/libsaproc/
H A Dlibproc.h247 int, const struct sigaction *, struct sigaction *);
/openjdk9/jdk/src/java.base/macosx/native/libnet/
H A Dbsd_close.c109 struct sigaction sa;
155 sigaction(sigWakeup, &sa, NULL);
/openjdk9/jdk/src/java.base/aix/native/libnet/
H A Daix_close.c138 struct sigaction sa;
184 sigaction(sigWakeup, &sa, NULL);
/openjdk9/jdk/src/java.base/linux/native/libnet/
H A Dlinux_close.c107 struct sigaction sa;
153 sigaction(sigWakeup, &sa, NULL);
/openjdk9/jdk/src/java.base/unix/native/libjava/
H A DProcessImpl_md.c125 struct sigaction sa;
129 if (sigaction(SIGCHLD, &sa, NULL) < 0)
/openjdk9/test/fmw/gtest/src/
H A Dgtest-death-test.cc1041 struct sigaction saved_sigprof_action;
1042 struct sigaction ignore_sigprof_action;
1046 GTEST_DEATH_TEST_CHECK_SYSCALL_(sigaction(
1089 sigaction(SIGPROF, &saved_sigprof_action, NULL));
/openjdk9/hotspot/src/os_cpu/solaris_sparc/vm/
H A Dos_solaris_sparc.cpp568 struct sigaction oldAct;
569 sigaction(sig, (struct sigaction *)0, &oldAct);
/openjdk9/hotspot/src/os_cpu/solaris_x86/vm/
H A Dos_solaris_x86.cpp753 struct sigaction oldAct;
754 sigaction(sig, (struct sigaction *)0, &oldAct);

Completed in 185 milliseconds