Page MenuHomeFreeBSD

sockets: assert that any protocol with PR_RIGHTS has dom_dispose()
ClosedPublic

Authored by glebius on May 4 2022, 6:44 PM.
Tags
None
Referenced Files
F166969165: D35123.id105787.diff
Tue, Aug 18, 6:31 AM
F166930855: D35123.id105787.diff
Mon, Aug 17, 8:36 PM
F166908975: D35123.id105680.diff
Mon, Aug 17, 5:03 PM
Unknown Object (File)
Sun, Aug 16, 8:15 PM
Unknown Object (File)
Sun, Aug 16, 7:49 PM
Unknown Object (File)
Sat, Aug 15, 7:48 PM
Unknown Object (File)
Fri, Aug 14, 9:04 PM
Unknown Object (File)
Fri, Aug 14, 9:01 PM
Subscribers

Details

Summary

Through the entire history only PF_UNIX has this feature.

Diff Detail

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

Event Timeline

markj added a subscriber: markj.

I wouldn't bother with the assertions. If the pointer is null and we crash it'll be obvious why.

This revision is now accepted and ready to land.May 4 2022, 7:11 PM

Just old memories of panic on "call NULL" looking unobvious what exactly happened. Probably no longer true for modern kernel.