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 |