We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#ifdef CONFIG_KSU extern int ksu_handle_stat(int *dfd, const char __user **filename_user, int *flags); #endif static int vfs_statx(int dfd, struct filename *filename, int flags, struct kstat *stat, u32 request_mask) { struct path path; unsigned int lookup_flags = getname_statx_lookup_flags(flags); int error; #ifdef CONFIG_KSU ksu_handle_stat(&dfd, (const char **)&filename, &flags); #endif ... }
I can build the kernel but if I run su command: marcos@fedora:/mnt/ext/boot$ adb shell su -c uname -a /system/bin/sh: su: inaccessible or not found
Shell has su perms, if I move the hook to vfs_fstatat and use the statx_flags it works!
Why it doesn't work vfs_statx hook ?
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Please check before submitting an issue
Describe the bug
I can build the kernel but if I run su command:
marcos@fedora:/mnt/ext/boot$ adb shell su -c uname -a
/system/bin/sh: su: inaccessible or not found
Shell has su perms, if I move the hook to vfs_fstatat and use the statx_flags it works!
Why it doesn't work vfs_statx hook ?
To Reproduce
No response
Expected behavior
No response
Screenshots
No response
Logs
No response
Device info
Additional context
No response
The text was updated successfully, but these errors were encountered: