OpenConcerto

Dépôt officiel du code source de l'ERP OpenConcerto
sonarqube

svn://code.openconcerto.org/openconcerto

Rev

Rev 149 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 149 Rev 174
Line 82... Line 82...
82
                    perms.add(new FilePermission("<<ALL FILES>>", "read"));
82
                    perms.add(new FilePermission("<<ALL FILES>>", "read"));
83
                    // needed by ThreadPoolExecutor.shutdown()
83
                    // needed by ThreadPoolExecutor.shutdown()
84
                    perms.add(new RuntimePermission("modifyThread"));
84
                    perms.add(new RuntimePermission("modifyThread"));
85
                    // needed by PrinterJob.getPrinterJob()
85
                    // needed by PrinterJob.getPrinterJob()
86
                    perms.add(new RuntimePermission("queuePrintJob"));
86
                    perms.add(new RuntimePermission("queuePrintJob"));
-
 
87
 
-
 
88
                    // ProcessBuilder.start() calls SecurityManager.checkExec() which requires
-
 
89
                    // absolute path (or execute on "<<ALL FILES>>")
-
 
90
 
87
                    // needed by OOConnexion.init() to find the port
91
                    // needed by OOConnexion.init() to find the port
88
                    perms.add(new FilePermission("/usr/bin/lsof", "execute"));
92
                    perms.add(new FilePermission("/usr/bin/lsof", "execute"));
-
 
93
                    // macOS path
-
 
94
                    perms.add(new FilePermission("/usr/sbin/lsof", "execute"));
89
                    perms.add(new FilePermission("/bin/ps", "execute"));
95
                    perms.add(new FilePermission("/bin/ps", "execute"));
90
                    perms.add(new FilePermission("C:/Windows/System32/tasklist.exe", "execute"));
96
                    perms.add(new FilePermission("C:/Windows/System32/tasklist.exe", "execute"));
91
                    perms.add(new RuntimePermission("getenv.*"));
97
                    perms.add(new RuntimePermission("getenv.*"));
92
                    // needed by OOConnexion.convertToUrl()
98
                    // needed by OOConnexion.convertToUrl()
93
                    perms.add(new FilePermission("/usr/bin/gvfs-info", "execute"));
99
                    perms.add(new FilePermission("/usr/bin/gvfs-info", "execute"));