Page MenuHomeFreeBSD

id: sanitize arguments better
ClosedPublic

Authored by asomers on Jun 11 2021, 4:40 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, May 13, 1:13 AM
Unknown Object (File)
Wed, May 13, 1:13 AM
Unknown Object (File)
Wed, May 13, 12:59 AM
Unknown Object (File)
Wed, May 13, 12:59 AM
Unknown Object (File)
Mon, Apr 27, 10:27 AM
Unknown Object (File)
Apr 21 2026, 6:00 AM
Unknown Object (File)
Apr 21 2026, 1:09 AM
Unknown Object (File)
Apr 20 2026, 5:22 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
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 39849
Build 36738: arc lint + arc unit