< prev index next >

src/jdk.hotspot.agent/solaris/native/libsaproc/saproc.cpp

Print this page

        

*** 219,229 **** // This function is a complete substitute for the open system call // since it's also used to override open calls from libproc to // implement as a pathmap style facility for the SA. If libproc // starts using other interfaces then this might have to extended to // cover other calls. ! extern "C" int libsaproc_open(const char * name, int oflag, ...) { if (oflag == O_RDONLY) { init_alt_root(); if (_libsaproc_debug) { printf("libsaproc DEBUG: libsaproc_open %s\n", name); --- 219,230 ---- // This function is a complete substitute for the open system call // since it's also used to override open calls from libproc to // implement as a pathmap style facility for the SA. If libproc // starts using other interfaces then this might have to extended to // cover other calls. ! extern "C" JNIEXPORT int JNICALL ! libsaproc_open(const char * name, int oflag, ...) { if (oflag == O_RDONLY) { init_alt_root(); if (_libsaproc_debug) { printf("libsaproc DEBUG: libsaproc_open %s\n", name);
< prev index next >