Page MenuHomeFreeBSD

sysvsem: Fix a typo.
ClosedPublic

Authored by dchagin on May 13 2022, 5:30 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Jun 10, 6:47 PM
Unknown Object (File)
Tue, Jun 9, 11:10 PM
Unknown Object (File)
Mon, Jun 8, 3:47 AM
Unknown Object (File)
May 17 2026, 7:34 AM
Unknown Object (File)
May 16 2026, 3:07 AM
Unknown Object (File)
May 16 2026, 12:23 AM
Unknown Object (File)
May 15 2026, 7:01 AM
Unknown Object (File)
May 6 2026, 9:54 PM
Subscribers

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 45567
Build 42455: arc lint + arc unit

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.