priv_comb Subroutine

Purpose

Computes the union of privilege sets.

Library

Security Library (libc.a)

Syntax

#include <userpriv.h>
#include <sys/priv.h>

void priv_comb (privg_t pv1, privg_t pv2, privg_t pv3)

Description

The priv_comb subroutine computes the union of the privileges specified in the pv1 and pv2 parameters and stores the result in the pv3 parameter.

Parameters

Item Description
pv1 Specifies the privilege set.
pv2 Specifies the privilege set.
pv3 Specifies the privilege set to store.

Return Values

The priv_comb subroutine returns no values.

Errors

No errno value is set.