Documentation ¶ Rendered for darwin/amd64 Overview ¶ Package darwinacl checks native access controls on opened macOS files. Index ¶ func Check(file *os.File, policy Policy) error type Policy Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Check ¶ func Check(file *os.File, policy Policy) error Check uses the open descriptor so a path replacement cannot substitute another ACL. Types ¶ type Policy ¶ type Policy int const ( Absent Policy = iota // Replacing the file must not discard any explicit ACL. DenyOnly // A protected shell directory allows no permission grants. ReadOnly // A verifier path can allow reads, but never writes. ) Source Files ¶ View all Source files permissions_darwin.go Click to show internal directories. Click to hide internal directories.