jdk-24/test/jdk/com/sun/tools/attach/java.policy.allow

23 lines
949 B
Plaintext
Raw Normal View History

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 */
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";
/*
* 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
};