profiles

package
v1.6.29 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2026 License: MIT Imports: 1 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package profiles holds the generated-policy TEMPLATES this repository ships, and it exists so that the tool and tools/sandboxcheck fill ONE text rather than two (SPEC-SANDBOX rule 15, and the work list's "the file is embedded with go:embed").

The go:embed directive cannot reach outside its own directory, so the embed lives beside the template rather than in pkg/sandbox. Nothing else belongs here: this package carries no logic, so that the only way the profile text can change is by editing the template a reader can read.

Index

Constants

This section is empty.

Variables

View Source
var DarwinTemplate string

DarwinTemplate is profiles/darwin.sb.tmpl verbatim, markers and all. The generator in pkg/sandbox replaces the five marker lines the template's own header documents.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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