Page MenuHomeFreeBSD

id: sanitize arguments better
ClosedPublic

Authored by asomers on Jun 11 2021, 4:40 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sep 8 2025, 6:50 AM
Unknown Object (File)
Sep 7 2025, 11:01 AM
Unknown Object (File)
Sep 5 2025, 4:53 AM
Unknown Object (File)
Sep 4 2025, 9:53 PM
Unknown Object (File)
Sep 2 2025, 12:45 PM
Unknown Object (File)
Aug 20 2025, 2:24 AM
Unknown Object (File)
Jul 21 2025, 4:58 PM
Unknown Object (File)
Jul 14 2025, 4:26 PM
Subscribers

Details

Summary

The -[AMc] flags ignore the user argument. Better if id rejects
invocations that include a user argument along with any of those flags.

PR: 256554
MFC after: 2 weeks
Sponsored by: Axcient

Test Plan

manually tested with all command line options

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable