Homebrew enabler patches.
More...
Homebrew enabler patches.
Patches kernel to enable homebrew loading
Uses the taiHEN hooks system to inject hooks on SELF decryption functions to accept unsigned/unencrypted SELFs.
§ TAIHEN_CONFIG_FILE
#define TAIHEN_CONFIG_FILE "ux0:tai/config.txt" |
Path to the taiHEN configuration file
Definition at line 17 of file hen.h.
§ hen_add_patches()
int hen_add_patches |
( |
void |
| ) |
|
Add kernel patches to disable SELF signature checks.
- Returns
- Zero on success, < 0 on error
Definition at line 507 of file hen.c.
§ hen_free_config()
int hen_free_config |
( |
void |
| ) |
|
Frees tai config file.
- Returns
- Zero on success
Definition at line 467 of file hen.c.
§ hen_load_config()
int hen_load_config |
( |
void |
| ) |
|
Load tai config file.
Allocates memory if a config has not been loaded before. Otherwise, the memory will be reused.
- Returns
- Zero on success, < 0 on error
Definition at line 392 of file hen.c.
§ hen_load_plugin()
void hen_load_plugin |
( |
const char * |
path, |
|
|
void * |
param |
|
) |
| |
Callback to config parser to load a plugin.
If no config is loaded, will return without doing anything.
- Parameters
-
[in] | path | The path to load |
[in] | param | The parameters |
Definition at line 482 of file hen.c.
§ hen_remove_patches()
int hen_remove_patches |
( |
void |
| ) |
|
Removes the kernel patches for SELF loading.
- Returns
- Zero on success, < 0 on error
Definition at line 641 of file hen.c.