Skip to content

Commit

Permalink
Re-enable commented out code that shouldn't be
Browse files Browse the repository at this point in the history
  • Loading branch information
rgov committed Sep 27, 2018
1 parent d75296c commit 52f143f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Thunderbolt3Unblocker/Thunderbolt3Unblocker.c
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ kern_return_t Thunderbolt3Unblocker_start(kmod_info_t *ki, void *d)

// Run a preflight sanity check
kern_return_t err;
err = KERN_SUCCESS; //xnu_override_test();
err = xnu_override_test();
if (err != KERN_SUCCESS) {
os_log_error(OS_LOG_DEFAULT, "Thunderbolt3Unblocker: Preflight sanity check failed, aborting\n");
return err;
Expand All @@ -83,6 +83,6 @@ kern_return_t Thunderbolt3Unblocker_start(kmod_info_t *ki, void *d)

kern_return_t Thunderbolt3Unblocker_stop(kmod_info_t *ki, void *d)
{
//xnu_unpatch_all();
xnu_unpatch_all();
return KERN_SUCCESS;
}

0 comments on commit 52f143f

Please sign in to comment.