3789983e89
Reviewed-by: darcy, ihse
19 lines
650 B
Plaintext
19 lines
650 B
Plaintext
/*
|
|
*
|
|
*
|
|
* Policy file used by unit tests for attach API
|
|
*/
|
|
grant {
|
|
permission com.sun.tools.attach.AttachPermission "createAttachProvider";
|
|
|
|
/* implementation specific */
|
|
permission java.lang.RuntimePermission "accessClassInPackage.sun.misc";
|
|
permission java.lang.RuntimePermission "accessClassInPackage.sun.tools.attach";
|
|
permission java.lang.RuntimePermission "loadLibrary.attach";
|
|
permission java.util.PropertyPermission "sun.jvmstat.*", "read";
|
|
|
|
/* to read configuration file in META-INF/services, and write/delete .attach_pid<pid> */
|
|
permission java.io.FilePermission "<<ALL FILES>>", "read,write,delete";
|
|
};
|
|
|