Page MenuHomeFreeBSD

id: sanitize arguments better
ClosedPublic

Authored by asomers on Jun 11 2021, 4:40 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Nov 29, 12:13 AM
Unknown Object (File)
Tue, Nov 18, 3:41 PM
Unknown Object (File)
Fri, Nov 14, 10:58 AM
Unknown Object (File)
Tue, Nov 11, 6:11 PM
Unknown Object (File)
Nov 4 2025, 5:33 PM
Unknown Object (File)
Nov 4 2025, 5:30 PM
Unknown Object (File)
Nov 4 2025, 5:30 PM
Unknown Object (File)
Nov 4 2025, 5:25 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