summaryrefslogtreecommitdiffstats
path: root/src/java/com/jogamp/common/os
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2019-03-25 05:04:03 +0100
committerSven Gothel <[email protected]>2019-03-25 05:04:03 +0100
commit0c567321c6d594ec11edfd3aa848a0a634c544ef (patch)
treedccd421e769a716cdb7526776ac7a15c9596c3e6 /src/java/com/jogamp/common/os
parent4375d2824ac6ff656df184ea0c19ab781e3524e8 (diff)
Bug 1219, Bug 1231: Re-add executable test by execution
Re-adding executable test by execution is required for 'blocker technology' like Windows's 'Software Restriction Policies (SRP)', which only gets activated by the actual execution attempt. Merely testing the file's (ACL) execution flags via NIO's isExecutable is not sufficient. Implementation first tests the file's (ACL) execution flags via NIO's isExecutable. If the NIO test was successful or not available, the actual execution test is performed. To mitigate the virus scanner's false positive, we use an executable shell script per default now, which may be overriden by the new environment 'jogamp.gluegen.UseNativeExeFile=true' Tested on GNU/Linux with one temp folder having mount options 'noexec' and on Windows using Software Restriction Policies (SRP) disallowing one temp folder. Both temp folder were first in line via environment 'java.io.tmpdir'.
Diffstat (limited to 'src/java/com/jogamp/common/os')
0 files changed, 0 insertions, 0 deletions