summaryrefslogtreecommitdiff
path: root/sys/kern/kern_unveil.c
diff options
context:
space:
mode:
authorVitaliy Makkoveev <mvs@cvs.openbsd.org>2022-08-13 21:01:47 +0000
committerVitaliy Makkoveev <mvs@cvs.openbsd.org>2022-08-13 21:01:47 +0000
commit5da6305743f6595df762f4f7355cb123f21f79f3 (patch)
treed81d81017ff050a08dc1e643f101942c883346e3 /sys/kern/kern_unveil.c
parentafaf56e49024e703b8d8b49377799d78a4aae160 (diff)
Introduce the pru_*() wrappers for corresponding (*pr_usrreq)() calls.
This is helpful for the following (*pr_usrreq)() split to multiple handlers. But right now this makes code more readable. Also add '#ifndef _SYS_SOCKETVAR_H_' to sys/socketvar.h. This prevents the collisions when both sys/protosw.h and sys/socketvar.h are included together. Both 'socket' and 'protosw' structures are required to be defined before pru_*() wrappers, so we need to include sys/socketvar.h to sys/protosw.h. ok bluhm@
Diffstat (limited to 'sys/kern/kern_unveil.c')
0 files changed, 0 insertions, 0 deletions