satmp_get_attr_reply(2) satmp_get_attr_reply(2)
satmp_get_attr_reply - send SATMP_GET_ATTR_REPLY message to the kernel
#include <sys/t6satmp.h>
int satmp_get_attr_reply (int fd, const void *buf, size_t size);
satmp_get_attr_reply sends a SATMP_GET_ATTR_REPLY message to the kernel.
fd is a file descriptor that references the token-mapping daemon's
socket. buf is the address of a buffer containing the message. size is
the size of the message in bytes.
satmp_get_attr_reply will fail if one or more of the following are true:
[ENOPKG] Trusted Networking is not configured on this system.
[EPERM] fd doesn't refer to the token-mapping socket.
[EFAULT] buf doesn't refer to memory in the calling processes
address space.
[ENOMEM] The kernel cannot allocate sufficient memory to hold the
message.
satmp_get_attr_reply returns 0 if successful. A return value of -1
indicates an error and errno is set to indicate the error.
satmp_done(2), satmp_get_lrtok_reply(2), satmp_init(2),
satmp_init_reply(2), satmp(7).
Silicon Graphics, Inc.
PPPPaaaaggggeeee 1111 [ Back ]
|