satmp_init(2)

satmp_init - register token-mapping daemon with kernel

Showing IRIX 6.5.30 (default release). Unchanged since IRIX 6.5.

NAME
     satmp_init - register token-mapping daemon with kernel

C SYNOPSIS
     #include <sys/t6satmp.h>

     int satmp_init (int fd, u_int 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 _POSIX_CAP is in effect, appropriate
     privilege includes CAP_NETWORK_MGT 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 CAP_NETWORK_MGT 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.