nfsd_nl_validate_listeners(9)
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:
nfsd_nl_rpc_status_get_dumpit(9)nfsd_nl_fh_key_set(9)nfsd_nl_threads_set_doit(9)nfsd_nl_threads_get_doit(9)nfsd_nl_version_set_doit(9)nfsd_nl_version_get_doit(9)nfsd_nl_listener_set_doit(9)nfsd_nl_listener_get_doit(9)nfsd_nl_pool_mode_set_doit(9)nfsd_nl_pool_mode_get_doit(9)nfsd_nl_cache_flush_doit(9)nfsd_nl_server_stats_get_dumpit(9)nfsd_nl_unlock_ip_doit(9)nfsd_nl_unlock_filesystem_doit(9)nfsd_nl_unlock_export_doit(9)nfsd_net_init(9)nfsd_net_pre_exit(9)nfsd_net_exit(9)
mwah π β source ./fs/nfsd, Kernel API Manual, date October 2026, and the page is nfsd_nl_validate_listeners(9) π«Άπ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms