rpc_bind_new_program(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… rpc_bind_new_program(9) β€” like, the Kernel API Manual page, bestie

okay so you found it β€” this is rpc_bind_new_program(9) from the Kernel API Manual, and it's genuinely one of those little functions that does one thing and does it cute. let's get into it πŸŽ€


✨ NAME ✨

rpc_bind_new_program β€” bind a new RPC program to an existing client. that's the whole job, and she does it flawlessly, no cap πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

struct rpc_clnt * rpc_bind_new_program (struct rpc_clnt *old , const
struct rpc_program *program , u32 vers );

look at that signature. three args, one pointer back out. main character energy fr ✨


🌸 ARGUMENTS 🌸

  • old β€” the old rpc_client. yes queen, you're building on something that already exists πŸ’–
  • program β€” the rpc program to set. this is the new vibe you're installing πŸ‘‘
  • vers β€” the rpc program version, a u32. don't forget her, she matters 🫢

πŸ’œ DESCRIPTION πŸ’œ

so what does it do? it clones the rpc client and sets up a new RPC program. that's the whole thing. iconic, honestly πŸŽ€

it's mainly of use for enabling different RPC programs to share the same transport β€” like, they all pile into the same ride and nobody has to call a separate Uber, iykyk πŸš—βœ¨

and the Sun NFSv2/v3 ACL protocol can do this. yes, literally that one. she's the example. slay πŸ’…

ngl there's not a lot of drama in this page β€” it's a short one, and that's fine, we stan a concise icon πŸ¦‹

🌈 SEE ALSO 🌈

buckle up bestie, this list is long and every single one of these is getting her moment πŸ’–

Kernel file ./net/sunrpc/clnt.c, plus:

that's the whole squad. go read them. or don't, I'm not your mom β€” but like, they're right there 🧚


πŸ“ sign-off πŸ“

and that's the page!! brought to you by the fine people over at ./net/sunrpc, dated October 2026, living inside the Kernel API Manual. love that for us πŸ’–βœ¨πŸŽ€

now go bind a new program to an existing client and be normal about it. mwah πŸ’‹

πŸ“¦ where this page comes from