Skip to content

Commit

Permalink
Removal of potentially hazardous code from 9xCode
Browse files Browse the repository at this point in the history
9xCode should not have the ability to enable Task Killing for system applications. Therefore the ability to do so has been removed from 9xCode.

GoOS needs its security and having the ability to disable one of our only layers of defence at ending important tasks was that easy to just disable.

My guy we have it so they cant be ended for a reason. The OS will NOT function correctly without said tasks.
  • Loading branch information
Owen2k6 committed Nov 17, 2023
1 parent 2b1d8a8 commit 2445288
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions GoOS/9xCode/Interpreter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -963,15 +963,7 @@ private static void Interpret(string[] code)

#region GoOS Library

else if (GoOSLib && line.StartsWith("EnableKillingSystemTasks"))
{
GUI.Apps.TaskManager.pko = true;
}

else if (GoOSLib && line.StartsWith("DisableKillingSystemTasks"))
{
GUI.Apps.TaskManager.pko = false;
}

else if (GoOSLib && line.StartsWith("RegProg") && line.Contains(">>"))
{
Expand Down

0 comments on commit 2445288

Please sign in to comment.