RPC_GSS_GETCRED(3)
π RPC_GSS_GETCRED π
okay bestie, this is the rpc_gss_getcred page from the Library Functions Manual, and it's literally the moment your RPC request gets its whole identity confirmed. no cap. π«Ά
β¨ NAME β¨
rpc_gss_getcred β Get authorization information for an RPC request
like... it's giving "who even are you and what are you allowed to do" but in a helpful way π
πΈ SYNOPSIS πΈ
#include <rpc/rpcsec_gss.h>
AUTH *
rpc_gss_getcred(struct svc_req *req, rpc_gss_rawcred_t **rcred,
rpc_gss_ucred_t **ucred, void **cookie);
there she is. four args, one AUTH * coming back at you, iconic behavior honestly β¨
π¦ DESCRIPTION π¦
So the way that this works is: this function returns the RPCSEC_GSS authenticated credentials that are associated with an RPC request. that's it. that's the whole vibe. it's the bouncer checking the guest list and handing you the receipts. π
π PARAMETERS π
reqβ The RPC request to query. this is the request you're being nosy about, respectfully. πrcredβ If non-null,*rcredis set to point at the raw credentials for this request. lowkey the main character of the whole function tbh.ucredβ If non-null,*ucredis set to point at the corresponding unix credentials. the unix-flavored cousin of the raw creds πcookieβ If non-null,*cookieis set to the cookie value returned by a callback function registered withrpc_gss_set_callback(). yes, a literal cookie. i'm not making this up and i'm obsessed ππͺ
pro tip from the page itself: every one of those last three is optional β if you pass null, that thing just doesn't get set. pass what you need, skip what you don't. β¨
π RETURN VALUES π
Returns TRUE if successful, FALSE otherwise.
that's it. no gray area. it either ate or it didn't. π
π AVAILABILITY π
The rpc_gss_getcred() function is part of libtirpc.
so if you're out here wondering where she lives β that's the address, bestie. π
π₯ SEE ALSO π₯
go read the whole friend group, they all link up iykyk π«Ά
π AUTHORS π
This manual page was written by Doug Rabson <dfr@FreeBSD.org>.
king behavior, thank you for your service π«‘
π SIGN-OFF π
and that's the tea, bestie β this one's a Debian page, dated January 26, 2010, and she still hits. go get those credentials, you got this β¨ππ
π¦ where this page comes from
- alpine 3.22: libtirpc-doc 1.3.5-r0 Β· BSD-3-Clause
- alpine 3.23: libtirpc-doc 1.3.5-r1 Β· BSD-3-Clause
- alpine 3.24: libtirpc-doc 1.3.5-r1 Β· BSD-3-Clause
- arch rolling: libtirpc 1.3.8-1 Β· SISSL AND BSD-3-Clause
- centos-stream 10: libtirpc-devel 1.3.5-1.el10 Β· SISSL AND BSD-3-Clause
- centos-stream 9: libtirpc-devel 1.3.3-9.el9 Β· SISSL and BSD
- centos-stream 9: libtirpc-devel 1.3.3-9.el9 Β· SISSL and BSD
- debian bookworm: libtirpc-dev 1.3.3+ds-1 Β· BSD-3-Clause
- debian trixie: libtirpc-dev 1.3.6+ds-1 Β· BSD-3-Clause
- fedora 43: libtirpc-devel 1.3.7-0.fc43 Β· SISSL AND BSD-3-Clause
- fedora 43: libtirpc-devel 1.3.7-0.fc43 Β· SISSL AND BSD-3-Clause
- fedora 43: libtirpc-devel 1.3.7-1.rc1.fc43 Β· SISSL AND BSD-3-Clause
- fedora 43: libtirpc-devel 1.3.7-1.rc1.fc43 Β· SISSL AND BSD-3-Clause
- fedora 44: libtirpc-devel 1.3.7-2.fc44 Β· SISSL AND BSD-3-Clause
- fedora 44: libtirpc-devel 1.3.7-2.fc44 Β· SISSL AND BSD-3-Clause
- fedora 44: libtirpc-devel 1.3.8-0.fc44 Β· SISSL AND BSD-3-Clause
- fedora 44: libtirpc-devel 1.3.8-0.fc44 Β· SISSL AND BSD-3-Clause
- nixos 26.05: libtirpc 1.3.7
- nixpkgs unstable: libtirpc 1.3.7
- opensuse-leap 16.0: libtirpc-devel 1.3.6-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: libtirpc-devel 1.3.6-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: libtirpc-devel 1.3.6-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: libtirpc-devel 1.3.6-160000.2.2 Β· BSD-3-Clause
- ubuntu jammy: libtirpc-dev 1.3.2-2build1 Β· BSD-3-Clause
- ubuntu jammy: libtirpc-dev 1.3.2-2ubuntu0.1 Β· BSD-3-Clause
- ubuntu noble: libtirpc-dev 1.3.4+ds-1.1build1 Β· BSD-3-Clause
- ubuntu questing: libtirpc-dev 1.3.6+ds-1
- ubuntu resolute: libtirpc-dev 1.3.7-0.1 Β· BSD-3-Clause
- ubuntu stonking: libtirpc-dev 1.3.7+ds-1 Β· BSD-3-Clause
- Copyright (c) 2008 Isilon Inc http://www.isilon.com/
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms