const char *object, const char *access_type);
/*!
- * Get the label that is associated with a peer on the other end of a socket.
- * Caller is responsible of freeing the returned label.
+ * Get the label that is associated with a peer on the other end of an
+ * Unix socket. Caller is responsible of freeing the returned label.
*
* @param fd socket file descriptor
* @return label on success and NULL of failure.
*/
-extern char *smack_get_peer_label(int fd);
+extern char *smack_get_socket_label(int fd);
#ifdef __cplusplus
}