Filza 27.2 worse_query: public and developer builds

This commit is contained in:
admin committed 2026-11-11 03:40:37 +08:00
commit 91a6adf723
267 files changed
+42015

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
#ifndef sandbox_escape_h
#define sandbox_escape_h
#include <stdint.h>
// Escape sandbox by rewriting sandbox extension data in kernel memory.
// Walk: proc_ro -> ucred -> cr_label -> sandbox -> ext_set -> ext_table -> ext -> data
int sandbox_escape(uint64_t self_proc);
// Elevate to uid=0 by swapping our p_ucred pointer with launchd's.
// Fixes UNIX DAC (owner/mode) checks so chmod/chown/writes to root-owned
int sandbox_elevate_to_root(uint64_t self_proc);
#endif