Through the entire history only PF_UNIX has this feature.
Details
Details
- Reviewers
markj - Group Reviewers
network - Commits
- rGc17418a0ba6e: sockets: assert that any protocol with PR_RIGHTS has dom_dispose()
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
I wouldn't bother with the assertions. If the pointer is null and we crash it'll be obvious why.
Comment Actions
Just old memories of panic on "call NULL" looking unobvious what exactly happened. Probably no longer true for modern kernel.