priv_setall Subroutine

Purpose

Sets all privileges in the privilege set.

Library

Security Library (libc.a)

Syntax

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

void priv_setall(privg_t pv)

Description

The priv_setall subroutine sets all of the privileges in the privilege set specified by the pv parameter.

Parameters

Item Description
pv Specifies the privilege set.

Return Values

The priv_setall subroutine returns no values.

Errors

No errno value is set.