Summary: | /usr/bin/id -c returns current users's login class, not specified user's | ||
---|---|---|---|
Product: | Base System | Reporter: | Alan Somers <asomers> |
Component: | bin | Assignee: | Alan Somers <asomers> |
Status: | Closed FIXED | ||
Severity: | Affects Many People | Flags: | asomers:
mfc-stable13+
asomers: mfc-stable12+ |
Priority: | --- | ||
Version: | 13.0-RELEASE | ||
Hardware: | Any | ||
OS: | Any | ||
URL: | https://reviews.freebsd.org/D30734 |
Description
Alan Somers
2021-06-11 16:32:58 UTC
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=4a06e9377398b34922f8a67d7cb3ea980b95bde8 commit 4a06e9377398b34922f8a67d7cb3ea980b95bde8 Author: Alan Somers <asomers@FreeBSD.org> AuthorDate: 2021-06-11 16:38:07 +0000 Commit: Alan Somers <asomers@FreeBSD.org> CommitDate: 2021-06-15 12:51:16 +0000 id: sanitize arguments better 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 Reviewed by: trasz Sponsored by: Axcient Differential Revision: https://reviews.freebsd.org/D30734 usr.bin/id/id.c | 2 ++ 1 file changed, 2 insertions(+) A commit in branch stable/13 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=bc997ea6b81eace14f999e782502ae060687db2c commit bc997ea6b81eace14f999e782502ae060687db2c Author: Alan Somers <asomers@FreeBSD.org> AuthorDate: 2021-06-11 16:38:07 +0000 Commit: Alan Somers <asomers@FreeBSD.org> CommitDate: 2021-07-03 23:29:41 +0000 id: sanitize arguments better 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 Reviewed by: trasz Sponsored by: Axcient Differential Revision: https://reviews.freebsd.org/D30734 (cherry picked from commit 4a06e9377398b34922f8a67d7cb3ea980b95bde8) usr.bin/id/id.c | 2 ++ 1 file changed, 2 insertions(+) A commit in branch stable/12 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=5d7ae6fbb117fde20189db763a9561e97c2af35c commit 5d7ae6fbb117fde20189db763a9561e97c2af35c Author: Alan Somers <asomers@FreeBSD.org> AuthorDate: 2021-06-11 16:38:07 +0000 Commit: Alan Somers <asomers@FreeBSD.org> CommitDate: 2021-07-04 04:14:06 +0000 id: sanitize arguments better 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 Reviewed by: trasz Sponsored by: Axcient Differential Revision: https://reviews.freebsd.org/D30734 (cherry picked from commit 4a06e9377398b34922f8a67d7cb3ea980b95bde8) usr.bin/id/id.c | 2 ++ 1 file changed, 2 insertions(+) |