Skip to content

Commit

Permalink
tried to put kfd in launchd but it doesn't work :/
Browse files Browse the repository at this point in the history
  • Loading branch information
hrtowii committed Jul 20, 2024
1 parent 613bca1 commit 9c34090
Show file tree
Hide file tree
Showing 99 changed files with 17,800 additions and 201 deletions.
6 changes: 4 additions & 2 deletions RootHelperSample/launchdshim/cfprefsdshim/ent.plist
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
<true/>
<key>get-task-allow</key>
<true/>
<key>platform-application</key>
<true/>
<key>task_for_pid-allow</key>
<true/>
<key>com.apple.private.MobileContainerManager.otherIdLookup</key>
<true/>
<key>com.apple.private.security.storage.CoreRoutine</key>
Expand All @@ -26,7 +30,5 @@
<array>
<string>systemgroup.com.apple.cfpreferences.managed</string>
</array>
<key>platform-application</key>
<true/>
</dict>
</plist>
107 changes: 4 additions & 103 deletions RootHelperSample/launchdshim/generalhook/installdents.plist
Original file line number Diff line number Diff line change
Expand Up @@ -2,110 +2,15 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>platform-application</key>
<true/>
<key>com.apple.private.security.no-container</key>
<true/>
<key>get-task-allow</key>
<true/>
<key>task_for_pid-allow</key>
<true/>
<key>com.apple.private.security.no-sandbox</key>
<true/>
<key>com.apple.private.domain-extension</key>
<true/>
<key>com.apple.private.security.container-required</key>
<false/>
<key>com.apple.private.security.no-container</key>
<true/>
<key>com.apple.private.xpc.domain-extension</key>
<true/>
<key>com.apple.private.xpc.domain-extension.proxy</key>
<true/>
<key>com.apple.private.xpc.launchd.app-state-manager</key>
<true/>
<key>com.apple.private.xpc.launchd.enable-disable-system-services</key>
<true/>
<key>com.apple.private.xpc.launchd.event-monitor</key>
<true/>
<key>com.apple.private.xpc.launchd.loginitem-bootstrapper</key>
<true/>
<key>com.apple.private.xpc.launchd.loginitem-outside-bundle</key>
<true/>
<key>com.apple.private.xpc.launchd.obliterator</key>
<true/>
<key>com.apple.private.xpc.launchd.per-user-create.mbsetupuser</key>
<true/>
<key>com.apple.private.xpc.launchd.per-user-lookup</key>
<true/>
<key>com.apple.private.xpc.launchd.reboot</key>
<true/>
<key>com.apple.private.xpc.launchd.service-hold</key>
<true/>
<key>com.apple.private.xpc.launchd.userspace-reboot</key>
<true/>
<key>com.apple.private.xpc.launchd.userspace-reboot-now</key>
<true/>
<key>com.apple.private.xpc.persona-creator</key>
<true/>
<key>com.apple.private.xpc.persona-manager</key>
<key>com.apple.private.security.storage.AppDataContainers</key>
<true/>
<key>com.apple.private.persona-mgmt</key>
<true/>
<key>com.apple.private.xpc.service-attach</key>
<true/>
<key>com.apple.private.xpc.service-configure</key>
<true/>
<key>com.apple.private.set-launch-type.internal</key>
<true/>
<key>com.apple.security.exception.mach-lookup.global-name</key>
<array>
<string>com.apple.mmaintenanced</string>
<string>com.apple.memory-maintenance</string>
</array>
<key>com.apple.apfs.get-dev-by-role</key>
<true/>
<key>com.apple.private.amfi.can-allow-non-platform</key>
<true/>
<key>com.apple.private.iokit.system-nvram-allow</key>
<true/>
<key>com.apple.private.kernel.system-override</key>
<true/>
<key>com.apple.private.pmap.load-trust-cache</key>
<array>
<string>cryptex1.boot.os</string>
<string>cryptex1.boot.app</string>
<string>cryptex1.safari-downlevel</string>
</array>
<key>com.apple.private.record_system_event</key>
<true/>
<key>com.apple.private.roots-installed-read-write</key>
<true/>
<key>com.apple.private.security.disk-device-access</key>
<true/>
<key>com.apple.private.security.storage.driverkitd</key>
<true/>
<key>com.apple.private.security.storage.launchd</key>
<true/>
<key>com.apple.private.security.system-mount-authority</key>
<true/>
<key>com.apple.private.set-atm-diagnostic-flag</key>
<true/>
<key>com.apple.private.spawn-panic-crash-behavior</key>
<true/>
<key>com.apple.private.spawn-subsystem-root</key>
<true/>
<key>com.apple.private.vfs.allow-low-space-writes</key>
<true/>
<key>com.apple.private.vfs.graftdmg</key>
<true/>
<key>com.apple.private.vfs.pivot-root</key>
<true/>
<key>com.apple.rootless.restricted-block-devices</key>
<key>get-task-allow</key>
<true/>
<key>com.apple.rootless.storage.early_boot_mount</key>
<key>platform-application</key>
<true/>
<key>com.apple.rootless.volume.Preboot</key>
<key>task_for_pid-allow</key>
<true/>
<key>com.apple.security.network.server</key>
<true/>
Expand Down Expand Up @@ -148,9 +53,5 @@
<integer>2033844765</integer>
<key>keychain-cloud-circle</key>
<true/>
<key>seatbelt-profiles</key>
<array>
<string>installd</string>
</array>
</dict>
</plist>
Loading

0 comments on commit 9c34090

Please sign in to comment.