comparison src/os/solaris/vm/jvm_solaris.h @ 4717:11c26bfcf8c7

7091417: recvfrom's 6th input should be of type socklen_t Summary: Revamp class os's socket method formal args to match socket.h, insert casts in appropriate places, and copyin-copyout int*'s that s/b socklen_t*'s in jvm.cpp. Reviewed-by: coleenp, dholmes Contributed-by: erik.gahlin@oracle.com, rickard.backman@oracle.com, nils.loodin@oracle.com, markus.gronlund@oracle.com
author phh
date Wed, 21 Dec 2011 15:48:16 -0500
parents f95d63e2154a
children 17caeb034a63
comparison
equal deleted inserted replaced
4716:4502fd5c7698 4717:11c26bfcf8c7
31 // This is derived from the JDK classic file: 31 // This is derived from the JDK classic file:
32 // "$JDK/src/solaris/javavm/export/jvm_md.h":15 (ver. 1.10 98/04/22) 32 // "$JDK/src/solaris/javavm/export/jvm_md.h":15 (ver. 1.10 98/04/22)
33 // All local includes have been commented out. 33 // All local includes have been commented out.
34 */ 34 */
35 35
36
37 #ifndef JVM_MD_H 36 #ifndef JVM_MD_H
38 #define JVM_MD_H 37 #define JVM_MD_H
39 38
40 /* 39 /*
41 * This file is currently collecting system-specific dregs for the 40 * This file is currently collecting system-specific dregs for the
42 * JNI conversion, which should be sorted out later. 41 * JNI conversion, which should be sorted out later.
43 */ 42 */
44 43
45 #include <dirent.h> /* For DIR */ 44 #include <dirent.h> /* For DIR */
46 #include <sys/param.h> /* For MAXPATHLEN */ 45 #include <sys/param.h> /* For MAXPATHLEN */
46 #include <sys/socket.h> /* For socklen_t */
47 #include <unistd.h> /* For F_OK, R_OK, W_OK */ 47 #include <unistd.h> /* For F_OK, R_OK, W_OK */
48 #include <sys/int_types.h> /* for intptr_t types (64 Bit cleanliness) */ 48 #include <sys/int_types.h> /* for intptr_t types (64 Bit cleanliness) */
49 49
50 #define JNI_ONLOAD_SYMBOLS {"JNI_OnLoad"} 50 #define JNI_ONLOAD_SYMBOLS {"JNI_OnLoad"}
51 #define JNI_ONUNLOAD_SYMBOLS {"JNI_OnUnload"} 51 #define JNI_ONUNLOAD_SYMBOLS {"JNI_OnUnload"}
80 #define JVM_O_RDWR O_RDWR 80 #define JVM_O_RDWR O_RDWR
81 #define JVM_O_O_APPEND O_APPEND 81 #define JVM_O_O_APPEND O_APPEND
82 #define JVM_O_EXCL O_EXCL 82 #define JVM_O_EXCL O_EXCL
83 #define JVM_O_CREAT O_CREAT 83 #define JVM_O_CREAT O_CREAT
84 84
85
86 /* Signal definitions */ 85 /* Signal definitions */
87 86
88 #define BREAK_SIGNAL SIGQUIT /* Thread dumping support. */ 87 #define BREAK_SIGNAL SIGQUIT /* Thread dumping support. */
89 #define INTERRUPT_SIGNAL SIGUSR1 /* Interruptible I/O support. */ 88 #define INTERRUPT_SIGNAL SIGUSR1 /* Interruptible I/O support. */
90 #define ASYNC_SIGNAL SIGUSR2 /* Watcher & async err support. */ 89 #define ASYNC_SIGNAL SIGUSR2 /* Watcher & async err support. */