|
|
Subscribe / Log in / New account

O_MAYEXEC — explicitly opening files for execution

O_MAYEXEC — explicitly opening files for execution

Posted May 12, 2020 5:59 UTC (Tue) by jezuch (subscriber, #52988)
Parent article: O_MAYEXEC — explicitly opening files for execution

Me wonders, what would happen if the Java VM was modified to use this flag, then some distribution flicked the switch and everyone was forced to chmod +x all their .jar files? ;)


to post comments

O_MAYEXEC — explicitly opening files for execution

Posted May 12, 2020 16:10 UTC (Tue) by l0kod (subscriber, #111864) [Link]

General purpose distros will not enforce anything by default but will let sysadmins tune their system (according to its mount points and files). Only tailored security distros will embedded such security policy.

O_MAYEXEC — explicitly opening files for execution

Posted May 12, 2020 18:42 UTC (Tue) by error27 (subscriber, #8346) [Link]

I think you're right that that's what will happen. But you can disable it with a sysctl until everything is fixed. It's just like SELinux and people will eventually get used to it.


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds