Page MenuHomeFreeBSD

id: sanitize arguments better
ClosedPublic

Authored by asomers on Jun 11 2021, 4:40 PM.
Tags
None
Referenced Files
Unknown Object (File)
Dec 23 2023, 12:04 AM
Unknown Object (File)
Dec 14 2023, 10:14 PM
Unknown Object (File)
Aug 17 2023, 2:12 PM
Unknown Object (File)
Jun 3 2023, 8:26 AM
Unknown Object (File)
May 15 2023, 5:19 AM
Unknown Object (File)
May 7 2023, 8:04 PM
Unknown Object (File)
Jan 15 2023, 5:37 AM
Unknown Object (File)
Dec 20 2022, 9:23 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