Fix line breaks in code and clean up unnecessary includes

This commit is contained in:
ShirkNeko
2025-06-11 15:08:43 +08:00
parent 71bb5a3d3b
commit 430a3504d4
7 changed files with 8 additions and 8 deletions

View File

@@ -117,6 +117,7 @@ static void setup_groups(struct root_profile *profile, struct cred *cred)
groups_sort(group_info);
set_groups(cred, group_info);
put_group_info(group_info);
}
static void disable_seccomp(void)

View File

@@ -10,4 +10,5 @@ void on_post_fs_data(void);
bool ksu_is_safe_mode(void);
extern u32 ksu_devpts_sid;
#endif

View File

@@ -8,15 +8,13 @@
#include <linux/types.h>
#include <linux/uaccess.h>
#include <linux/version.h>
#include <linux/ptrace.h>
#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 11, 0)
#include <linux/sched/task_stack.h>
#else
#include <linux/sched.h>
#endif
/* current_user_stack_pointer */
#include <linux/ptrace.h>
#include "objsec.h"
#include "allowlist.h"
#include "arch.h"