-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
System Integrity Protection info #92
Comments
Edit: Mojave info |
Are future updates going to enable running mySIMBL in 10.14 with SIP on? I'm hoping yes because I really prefer not to run with SIP disabled and may roll back to High Sierra. |
@w0lfschild What is it that mySIMBL does that requires SIP to be disabled? Maybe I could make a patch if I knew?? Also, @SaSaSushi you will only have to disable once SIP, just for the installation. After this is complete, you can re-enable it... |
I noticed the Check out a snippet:
I am not sure if there is a good reason for this or it is just legacy code from SIMBL project but I believe this would remove the SIP restriction. I could make a pull request if you like. |
Thank you very much. I would appreciate the pull request. Please pardon my ignorance, but is there any way I could manually move the file in the meantime? When I disable SIP, the Afloat plugin works perfectly but it stops working the moment it is reenabled. |
I experimented a bit with Though, plugin loading doesn't work (with or without SIP) so I am going to investigate a bit more... @SaSaSushi Even if you move the file to |
Thank you, npyl! I really appreciate it if you can get it working. Yes, I found out that just moving the file doesn't work since the app doesn't see it and just prompts to install it again in /System/Library/ScriptingAdditions. I will definitely try compiling with your changes if you get it working. For now I'm running with SIP disabled. Thanks again. |
That's great, I am gonna check it out right now |
I got some news: B. You don't have to fully disable SIP, you can partially disable it just for SIMBL to work using: PS: I just noticed @w0lfschild mentions that disabling SIP is mandatory on Mojave, in a previous message. |
Thank you, npyl. I have enabled SIP without debugging and note the following now: `System Integrity Protection status: enabled (Custom Configuration). Configuration: This is an unsupported configuration, likely to break in the future and leave your machine in an unknown state. Will there be no way to work around this to get mySIMBL working with full SIP in the future? Thanks again for your help! |
@SaSaSushi To be honest I think no because it will always rely on code injection which is prohibited by SIP. I am no expert though so... 🤷♂️ Glad it worked for you though! :) |
@npyl is correct.
|
@w0lfschild Is there any other way that SIMBL would work without injection? Like, a different "injection" method? |
Nope and even if there was another way it would 100% be patched in the next macOS release. Code injection is a security risk that Apple is clearly against the average user being exposed to. |
In the link you give for disabling SIP, there is an answer from Rich Trouton indicating that one can have SIP enabled but disable various restrictions. He also has the following more detailed posting on the subsets of protections:
https://derflounder.wordpress.com/2015/10/01/system-integrity-protection-adding-another-layer-to-apples-security-model/
Is there a subset of restrictions that one can remove for mySIMBL to function without fully disabling SIP?
The text was updated successfully, but these errors were encountered: