satmpinit(2) satmpinit(2)
NAME
satmp_init - register token-mapping daemon with kernel
C SYNOPSIS
#include <sys/t6satmp.h>
int satmpinit (int fd, uint generation);
DESCRIPTION
satmp_init initializes the kernel interface to the token-mapping daemon.
fd is a file descriptor that references a socket, and generation is the
initial generation of the token-mapping database. The calling process
must have appropriate privilege. If POSIXCAP is in effect, appropriate
privilege includes CAPNETWORKMGT capability.
ERRORS
satmp_init will fail if one or more of the following are true:
[ENOPKG] Trusted Networking is not configured on this system.
[EPERM] The caller doesn't have CAPNETWORKMGT capability.
[EADDRINUSE] Another token-mapping daemon is currently running.
RETURN VALUE
satmp_init returns 0 if successful. A return value of -1 indicates an
error and errno is set to indicate the error.
SEE ALSO
satmp_done(2), satmp_get_attr_reply(2), satmp_get_lrtok_reply(2),
satmp_init_reply(2), satmp(7).
ORIGIN
Silicon Graphics, Inc.
Page 1