src/os/solaris/vm/perfMemory_solaris.cpp

changeset 1040
98cb887364d3
parent 435
a61af66fc99e
child 1788
a2ea687fdc7c
equal deleted inserted replaced
1039:ec59443af135 1040:98cb887364d3
192 192
193 193
194 // check if the given path is considered a secure directory for 194 // check if the given path is considered a secure directory for
195 // the backing store files. Returns true if the directory exists 195 // the backing store files. Returns true if the directory exists
196 // and is considered a secure location. Returns false if the path 196 // and is considered a secure location. Returns false if the path
197 // is a symbolic link or if an error occured. 197 // is a symbolic link or if an error occurred.
198 // 198 //
199 static bool is_directory_secure(const char* path) { 199 static bool is_directory_secure(const char* path) {
200 struct stat statbuf; 200 struct stat statbuf;
201 int result = 0; 201 int result = 0;
202 202

mercurial