RPC_GSS_GET_MECH_INFO(3)

πŸ“¦ version 15.1, in freebsd 14.5, freebsd 15.1

πŸ’– NAME πŸ’–

okay so bestie, this is the Library Functions Manual page for rpc_gss_get_mech_info(3) β€” the all-caps title is RPC_GSS_GET_MECH_INFO(3) if you're looking for that version πŸ’…. What does it do? It gets extra information about a security mechanism. That's the whole assignment. slay.

πŸ“š LIBRARY πŸ“š

It lives in the RPC GSS-API Authentication Library (librpcsec_gss, -lrpcsec_gss) 🫢.

✨ SYNOPSIS ✨

#include <rpc/rpcsec_gss.h>

const char **
rpc_gss_get_mech_info(const char *mech, rpc_gss_service_t *service);

πŸ¦‹ DESCRIPTION πŸ¦‹

This function looks up a mechanism by name by reading the file /etc/gss/mech and queries it for its capabilities. literally that's the move: name in, file read, capabilities checked, no cap ✨.

πŸŽ€ PARAMETERS πŸŽ€

  • mech β€” the mechanism to search for πŸ”.
  • service β€” if the mechanism is found, the maximum supported service type is returned in *service πŸ’–.

🌸 RETURN VALUES 🌸

If the mechanism is found, a list of the supported qualities of protection is returned; otherwise it's NULL 😭. that's the vibe check: found = list, not found = NULL.

πŸ‘‘ SEE ALSO πŸ‘‘

gssapi(3), rpc(3), rpcsec_gss(3) β€” go read these too, bestie πŸ“šβœ¨.

πŸ”₯ HISTORY πŸ”₯

The rpc_gss_get_mech_info function first appeared in FreeBSD 8.0 πŸŽ‰.

πŸ’œ AUTHORS πŸ’œ

This manual page was written by Doug Rabson <dfr@FreeBSD.org> 🫢.

xoxo bestie πŸ’‹ this page is from Debian and dated January 26, 2010 πŸ’–πŸŽ€

πŸ“¦ where this page comes from