forked from TeraaBytee/kernel_builder
-
Notifications
You must be signed in to change notification settings - Fork 6
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
4 changed files
with
6 additions
and
6 deletions.
There are no files selected for viewing
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,4 +1,4 @@ | ||
From ccc8e7cd8cc4ac517efb161a7b563932d962c163 Mon Sep 17 00:00:00 2001 | ||
From a334da6ed83eb76036a0c48703086ab5db890c10 Mon Sep 17 00:00:00 2001 | ||
From: fukiame <[email protected]> | ||
Date: Tue, 29 Aug 2023 21:30:52 +0700 | ||
Subject: [PATCH 2/5] fs/open: add ksu faccessat hook | ||
|
@@ -8,15 +8,15 @@ Subject: [PATCH 2/5] fs/open: add ksu faccessat hook | |
1 file changed, 5 insertions(+) | ||
|
||
diff --git a/fs/open.c b/fs/open.c | ||
index 3b62683fe332..5c325ddda3e2 100644 | ||
index 3b62683fe332..741ee091747e 100644 | ||
--- a/fs/open.c | ||
+++ b/fs/open.c | ||
@@ -354,6 +354,9 @@ SYSCALL_DEFINE4(fallocate, int, fd, int, mode, loff_t, offset, loff_t, len) | ||
return error; | ||
} | ||
|
||
+extern int ksu_handle_faccessat(int *dfd, const char __user **filename_user, int *mode, | ||
+ int *flags) | ||
+ int *flags); | ||
+ | ||
/* | ||
* access() needs to use the real uid/gid, not the effective uid/gid. | ||
|
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,4 +1,4 @@ | ||
From f6cdd57623a32fa2a2586dbe72f6f241ae9da746 Mon Sep 17 00:00:00 2001 | ||
From 39edc16fc6b58ac6b5a53d24c040f2b58555237e Mon Sep 17 00:00:00 2001 | ||
From: fukiame <[email protected]> | ||
Date: Tue, 29 Aug 2023 21:31:22 +0700 | ||
Subject: [PATCH 3/5] fs/read_write: add ksu vfs_read hook | ||
|
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,4 +1,4 @@ | ||
From f79faaf74b500b80b32b34981dcf4ee34fc0dbb3 Mon Sep 17 00:00:00 2001 | ||
From 7feefe0b44b0513d02d3dc828f728e08dab9e6c4 Mon Sep 17 00:00:00 2001 | ||
From: fukiame <[email protected]> | ||
Date: Tue, 29 Aug 2023 21:32:00 +0700 | ||
Subject: [PATCH 4/5] fs/stat: add ksu vfs_statx hook | ||
|
2 changes: 1 addition & 1 deletion
2
ksu_patches/0005-drivers-input-input-add-ksu-input_handle_event-hook.patch
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,4 +1,4 @@ | ||
From c93d34c81de1b9ab02625796268a9da6ee5fc330 Mon Sep 17 00:00:00 2001 | ||
From 29448a680d30194bcd5ed43d9fecfe9a18b4463e Mon Sep 17 00:00:00 2001 | ||
From: fukiame <[email protected]> | ||
Date: Tue, 29 Aug 2023 21:38:12 +0700 | ||
Subject: [PATCH 5/5] drivers/input/input: add ksu input_handle_event hook | ||
|