Page MenuHomeFreeBSD

sysvsem: Fix a typo.
ClosedPublic

Authored by dchagin on May 13 2022, 5:30 PM.
Tags
None
Referenced Files
F80109838: D35198.diff
Thu, Mar 28, 1:55 AM
Unknown Object (File)
Thu, Mar 7, 7:51 PM
Unknown Object (File)
Jan 15 2024, 11:01 AM
Unknown Object (File)
Dec 23 2023, 12:42 AM
Unknown Object (File)
Sep 18 2023, 9:46 PM
Unknown Object (File)
Sep 1 2023, 9:54 PM
Unknown Object (File)
Jul 10 2023, 8:32 PM
Unknown Object (File)
Jul 10 2023, 8:22 PM
Subscribers

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Wow, that has been there for an embarrassingly long time!

This revision is now accepted and ready to land.May 13 2022, 8:04 PM

Wow, that has been there for an embarrassingly long time!

Well, it's not a bug)) because the rpr cannot be NULL AFAIR, or Im missed something?

Wow, that has been there for an embarrassingly long time!

Well, it's not a bug)) because the rpr cannot be NULL AFAIR, or Im missed something?

Actually, it is - perhaps. rpr can be null if the jail is created with sysvsem=disable. But at least it doesn't appear to be fatal, since rpr is never dereferenced (as far as a quick glance suggests) but is only compared to other prison pointers. It might even end up doing the right thing without the null check, but I wouldn't want to count on it.

This revision was automatically updated to reflect the committed changes.