add: Magisk variant status; improve: KSU detection

This commit adds the Magisk variant to module description, and also improves KernelSU detection by requiring the userspace part of it to be installed, AKA "ksud".
This commit is contained in:
ThePedroo
2024-10-24 16:51:23 -03:00
parent 380ef011a1
commit 135ebbb9ba
12 changed files with 245 additions and 222 deletions

View File

@@ -4,6 +4,7 @@
#include <sys/types.h>
#include "constants.h"
#include "root_impl/common.h"
#define CONCAT_(x,y) x##y
#define CONCAT(x,y) CONCAT_(x,y)
@@ -101,4 +102,6 @@ bool check_unix_socket(int fd, bool block);
int non_blocking_execv(const char *restrict file, char *const argv[]);
void stringify_root_impl_name(struct root_impl impl, char *restrict output);
#endif /* UTILS_H */