kkeyset_add_set Kernel Service

Purpose

Adds members of one kernel keyset to an existing kernel keyset.

Syntax

#include <sys/kerrno.h>
#include <sys/skeys.h>

kerrno_t kkeyset_add_set (set, addset)
kkeyset_t set;
kkeyset_t addset;

Parameters

Item Description
set Specifies an existing kernel keyset. This set contains the resulting union on completion.
addset Specifies the kernel keyset to add.

Description

The kkeyset_add_set kernel service adds a kernel keyset specified by the addset parameter to the kernel keyset specified by the set parameter.

Execution Environment

The kkeyset_add_set kernel service can be called from the process environment only.

Return Values

Item Description
0 Indicates a successful completion.
EINVAL_KKEYSET_ADD_SET Indicates that the parameter or execution environment is not valid.