nfsd_nl_validate_listeners(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

nfsd_nl_validate_listeners(9) 🫢

okay so bestie, welcome to the Kernel API Manual page for nfsd_nl_validate_listeners β€” this is the little pre-flight vibe check for the listener list coming in from userland. ✨


🌸 NAME 🌸

nfsd_nl_validate_listeners β€” sanity-check the listener list from userland πŸ’…

✨ SYNOPSIS ✨

int nfsd_nl_validate_listeners (struct genl_info *info );

πŸŽ€ ARGUMENTS πŸŽ€

  • info β€” netlink metadata and command arguments πŸ¦‹

πŸ’– DESCRIPTION πŸ’–

So the way this works: walk every single NFSD_A_SERVER_SOCK_ADDR attribute and confirm that each entry is well-formed β€” it parses against the policy, carries both an address and a transport name, and the address is long enough for its family. Literally checking the whole guest list before anyone gets into the party. πŸŽ€

Doing this up front lets the callers below assume every entry is valid and guarantees we make no changes when the request is malformed. No cap, that's the whole safety vibe. 🫢

πŸ¦‹ RETURN πŸ¦‹

Return 0 if every entry is valid, or a negative errno otherwise. πŸ’€

πŸ”₯ SEE ALSO πŸ”₯

Kernel file: ./fs/nfsd/nfsctl.c πŸ‘‘

Also, peek at these iconic little references:

mwah πŸ’‹ β€” source ./fs/nfsd, Kernel API Manual, date October 2026, and the page is nfsd_nl_validate_listeners(9) πŸ«ΆπŸ’–

πŸ“¦ where this page comes from