...

Package keys

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

Overview ▾

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

type KeySerial

type KeySerial uint32

func JoinSessionKeyring

func JoinSessionKeyring(name string) (KeySerial, error)