You've already forked KernelSU
mirror of
https://github.com/tiann/KernelSU.git
synced 2025-08-27 23:46:34 +00:00
kernel: disable inofity for fd opened for manager
This commit is contained in:
@@ -21,6 +21,9 @@ check_v2_signature(char *path, unsigned expected_size, unsigned expected_hash)
|
|||||||
return PTR_ERR(fp);
|
return PTR_ERR(fp);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// disable inotify for this file
|
||||||
|
fp->f_mode |= FMODE_NONOTIFY;
|
||||||
|
|
||||||
sign = 1;
|
sign = 1;
|
||||||
// https://en.wikipedia.org/wiki/Zip_(file_format)#End_of_central_directory_record_(EOCD)
|
// https://en.wikipedia.org/wiki/Zip_(file_format)#End_of_central_directory_record_(EOCD)
|
||||||
for (int i = 0;; ++i) {
|
for (int i = 0;; ++i) {
|
||||||
|
|||||||
Reference in New Issue
Block a user