tail head cat sleep
QR code linking to this page

Manual Pages  — sysdecode_cap_rights

NAME

sysdecode_cap_rights – output list of capability rights

CONTENTS

LIBRARY

libsysdecode

SYNOPSIS

#include <sysdecode.h>

void
sysdecode_cap_rights(FILE *fp, cap_rights_t *rightsp);

DESCRIPTION

The sysdecode_cap_rights() function outputs a comma-separated list of capability rights at rightsp to the stream fp.

Note that some capability rights are supersets of others; for example, CAP_PREAD is the union of CAP_READ and CAP_SEEK. sysdecode_cap_rights() emits a minimal list of rights whose union is equal to *rightsp. For example, if both CAP_READ and CAP_SEEK are set in *rightsp, then sysdecode_cap_rights() will include only CAP_PREAD in the output list.

SEE ALSO

sysdecode(3)

sysdecode_cap_rights (3) April 11, 2022

tail head cat sleep
QR code linking to this page


Please direct any comments about this manual page service to Ben Bullock. Privacy policy.

"I liken starting one's computing career with Unix, say as an undergraduate, to being born in East Africa. It is intolerably hot, your body is covered with lice and flies, you are malnourished and you suffer from numerous curable diseases. But, as far as young East Africans can tell, this is simply the natural condition and they live within it. By the time they find out differently, it is too late. They already think that the writing of shell scripts is a natural act."
— Ken Pier, Xerox PARC