Make the SIG_FOREACH macro accessible outside of kern_sig.c by moving it into signalvar.h next to the other sigset_t macros.
Details
Details
- Reviewers
markj
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Skipped - Unit
Tests Skipped
Event Timeline
sys/sys/signalvar.h | ||
---|---|---|
154 | Presumably you intend to use this elsewhere in the kernel, and not in userspace? If so, these definitions should go into the #ifdef _KERNEL block below: we don't want to inadvertently put new stuff in the userland-visible namespace. |
sys/sys/signalvar.h | ||
---|---|---|
154 | Hm. I was under the impression that everything in this file was stricly for the kernel because it includes the ksiginfo declaration and macros. I'll move this one into an ifdef _KERNEL, though. Thanks for pointing that out. |