package keyctl

import "github.com/opencontainers/runc/libcontainer/keys"

Index

Constants

const KEYCTL_DESCRIBE = 6
const KEYCTL_JOIN_SESSION_KEYRING = 1
const KEYCTL_SETPERM = 5

Functions

func ModKeyringPerm

func ModKeyringPerm(ringId KeySerial, mask, setbits uint32) error

ModKeyringPerm modifies permissions on a keyring by reading the current permissions, anding the bits with the given mask (clearing permissions) and setting additional permission bits

Types

type KeySerial

type KeySerial uint32

func JoinSessionKeyring

func JoinSessionKeyring(name string) (KeySerial, error)

Source Files

keyctl.go

Version
v1.0.0-rc1
Published
Jun 3, 2016
Platform
linux/amd64
Imports
5 packages
Last checked
3 hours ago

Tools for package owners.