Skip to content

Instantly share code, notes, and snippets.

@inC3ASE
Created October 14, 2016 01:46
Show Gist options
  • Save inC3ASE/bb4e57f2c51497e52a7fab01d10c357f to your computer and use it in GitHub Desktop.
Save inC3ASE/bb4e57f2c51497e52a7fab01d10c357f to your computer and use it in GitHub Desktop.
../Profiles
;; Copyright (c) 2008 Apple Inc. All Rights reserved.
;;
;; sshd - profile for privilege separated children
;;
;; WARNING: The sandbox rules in this file currently constitute
;; Apple System Private Interface and are subject to change at any time and
;; without notice.
;;
(version 1)
(deny default)
(allow file-chroot)
(allow file-read-metadata (literal "/var"))
(allow sysctl-read)
(allow mach-per-user-lookup)
(allow mach-lookup
(global-name "com.apple.system.notification_center")
(global-name "com.apple.system.opendirectoryd.libinfo")
(global-name "com.apple.system.opendirectoryd.libinfo") ;; duplicate name as a work-around for 19978803
(global-name "com.apple.system.logger"))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment