kernel: remove unnecessary logging in disable_seccomp
Signed-off-by: rsuntk <rsuntk@yukiprjkt.my.id>
This commit is contained in:
@@ -204,7 +204,6 @@ static void disable_seccomp(void)
|
||||
{
|
||||
struct task_struct *tsk = get_current();
|
||||
|
||||
pr_info("%s++\n", __func__);
|
||||
spin_lock_irq(&tsk->sighand->siglock);
|
||||
assert_spin_locked(&tsk->sighand->siglock);
|
||||
|
||||
@@ -223,6 +222,7 @@ static void disable_seccomp(void)
|
||||
goto out;
|
||||
}
|
||||
|
||||
// TODO: Add kernel 6.11+ support
|
||||
// 5.9+ have filter_count and use seccomp_filter_release
|
||||
#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 9, 0)
|
||||
seccomp_filter_release(tsk);
|
||||
@@ -235,7 +235,6 @@ static void disable_seccomp(void)
|
||||
|
||||
out:
|
||||
spin_unlock_irq(&tsk->sighand->siglock);
|
||||
pr_info("%s--\n", __func__);
|
||||
}
|
||||
|
||||
void ksu_escape_to_root(void)
|
||||
|
||||
Reference in New Issue
Block a user