darwinacl

package
v1.50.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 5, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Rendered for darwin/amd64

Overview

Package darwinacl checks native access controls on opened macOS files.

Index

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.
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL