Through the entire history only PF_UNIX has this feature.
Details
Details
- Reviewers
markj - Group Reviewers
network - Commits
- R10:c17418a0ba6e: sockets: assert that any protocol with PR_RIGHTS has dom_dispose()
Diff Detail
Diff Detail
- Repository
- R10 FreeBSD src repository
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; 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.