HomeFreeBSD

sys/rpc: UNIX auth: Do not log on bogus AUTH_SYS messages

Description

sys/rpc: UNIX auth: Do not log on bogus AUTH_SYS messages

Remove the printf() stances added in commit d4cc791f3b2e ("sys/rpc: UNIX
auth: Fix OOB reads on too short message").

Even if it can be helpful to know why an authentication message is
rejected, printing explanatory messages on each request attempt is
a remote log filler that could be triggered by accident, and the generic
RPC code generally does not do that. These printf() calls should be
restored only after some limiting or configuration mechanism is devised.

MFC with: d4cc791f3b2e ("sys/rpc: UNIX auth: Fix OOB reads on too short message")
Sponsored by: The FreeBSD Foundation

(cherry picked from commit 2110ae0ef9d6ca8cf52b29fcaf926c4343f56826)

Details

Provenance
olceAuthored on Oct 14 2025, 12:54 PM
Parents
rGd06658b8066d: sys/rpc: UNIX auth: Style: Remove unnecessary headers, minor changes
Branches
Unknown
Tags
Unknown