jcmd ã "well-known file is not secure" ãªã©ã¨æå³ä¸æãªãã¨ãç³ããå ´åããã®ä¾å¤ã¯ 以ä¸ã®ä½ç½®ããä¸ãã£ã¦ããã JNIEXPORT void JNICALL Java_sun_tools_attach_LinuxVirtualMachine_checkPermissions (JNIEnv *env, jclass cls, jstring path) { jboolean isCopy; const char* p = GetStringPlatformChars(env, path, &isCopy); if (p != NULL) { struct stat64 sb; uid_t uid, gid; int res; /* * Check that the path is owned by the effective uid/gid of
{{#tags}}- {{label}}
{{/tags}}