Page MenuHomeFreeBSD

id: sanitize arguments better
ClosedPublic

Authored by asomers on Jun 11 2021, 4:40 PM.
Tags
None
Referenced Files
F144464848: D30734.id90917.diff
Sun, Feb 8, 2:16 PM
Unknown Object (File)
Sat, Feb 7, 6:10 PM
Unknown Object (File)
Sat, Jan 31, 7:46 PM
Unknown Object (File)
Sat, Jan 31, 2:42 AM
Unknown Object (File)
Jan 4 2026, 10:14 PM
Unknown Object (File)
Nov 29 2025, 12:13 AM
Unknown Object (File)
Nov 18 2025, 3:41 PM
Unknown Object (File)
Nov 14 2025, 10:58 AM
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