2007-12-01 00:00:00 +00:00
|
|
|
/*
|
|
|
|
* Policy file used by unit tests for attach API
|
|
|
|
*/
|
|
|
|
grant {
|
|
|
|
permission com.sun.tools.attach.AttachPermission "attachVirtualMachine";
|
|
|
|
permission com.sun.tools.attach.AttachPermission "createAttachProvider";
|
|
|
|
|
|
|
|
/* implementation specific */
|
2017-05-04 07:26:55 +00:00
|
|
|
permission java.lang.RuntimePermission "manageProcess";
|
|
|
|
permission java.lang.RuntimePermission "accessClassInPackage.jdk.internal.misc";
|
2007-12-01 00:00:00 +00:00
|
|
|
permission java.lang.RuntimePermission "accessClassInPackage.sun.tools.attach";
|
|
|
|
permission java.lang.RuntimePermission "accessClassInPackage.sun.jvmstat.monitor";
|
|
|
|
permission java.lang.RuntimePermission "loadLibrary.attach";
|
|
|
|
permission java.util.PropertyPermission "sun.jvmstat.*", "read";
|
|
|
|
|
2024-10-02 16:07:10 +00:00
|
|
|
/*
|
|
|
|
* To read configuration file in META-INF/services, write/delete .attach_pid<pid>,
|
|
|
|
* and read symbolic link of /proc/self/ns/mnt.
|
|
|
|
*/
|
|
|
|
permission java.io.FilePermission "<<ALL FILES>>", "read,write,delete,readlink";
|
2007-12-01 00:00:00 +00:00
|
|
|
};
|
|
|
|
|