Go to main content

man pages section 3: Library Interfaces and Headers

Exit Print View

Updated: Wednesday, July 27, 2022
 
 

libsandbox(3LIB)

Name

libsandbox - sandbox management library

Synopsis

#include <sandbox.h>
cc [ flag... ] file... -lsandbox [ library... ]

Description

Sandboxes are uniquely named sets of process attributes that can be used to specify security isolation and resource management requirements. Each sandbox specification consists of a project name, a label, and a set of user attributes. For more information, see the sandboxing(7) man page.

The functions in this library perform operations on sandboxes, and allow processes to enter or exit them.

INTERFACES

The shared object libsandbox.so.1 provides the public interfaces defined below. For more information on shared object interfaces, see the intro(3) man page.

  • sandbox_create
  • sandbox_destroy
  • sandbox_enter
  • sandbox_exit
  • sandbox_getattrs
  • sandbox_getname
  • sandbox_getchildren
  • sandbox_getparents
  • sandbox_labelfile
  • sandbox_labelosm

Files

/usr/lib/libsandbox.so.1

shared object

/usr/lib/64/libsandbox.so.1

64-bit shared object

Attributes

See attributes(7) for descriptions of the following attributes:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Availability
security/sandboxing
Interface Stability
Committed

See Also

sandbox(1), intro(3), attributes(7), sandbox_create(3SANDBOX), sandboxing(7), sandboxadm(8)