-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
178 additions
and
171 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,16 @@ | ||
#include <stdint.h> | ||
#define _GNU_SOURCE | ||
#include <linux/module.h> | ||
#include <stdio.h> | ||
#include <sys/mman.h> | ||
#include <sys/syscall.h> | ||
#include <unistd.h> | ||
#include <sys/mman.h> | ||
#include <stdio.h> | ||
|
||
#include <dirent.h> | ||
#include <string.h> | ||
#include <stdlib.h> | ||
#include <string.h> | ||
|
||
#include "../include/log.h" | ||
#include "../include/cipher.h" | ||
#include "../include/log.h" | ||
|
||
int load_lkm(const unsigned char* lkm, ssize_t total_size); | ||
int is_lkm_loaded(const char *name); | ||
int remove_lkm(); | ||
int create_lkm(int num_links,fraction_t *fractions); | ||
uint8_t *decrypt_lkm(fraction_t *fractions, int fractions_count, ssize_t *len); | ||
int load_lkm(const uint8_t *lkm, ssize_t total_size); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.