diff options
author | Vitaliy Makkoveev <mvs@cvs.openbsd.org> | 2022-08-13 21:01:47 +0000 |
---|---|---|
committer | Vitaliy Makkoveev <mvs@cvs.openbsd.org> | 2022-08-13 21:01:47 +0000 |
commit | 5da6305743f6595df762f4f7355cb123f21f79f3 (patch) | |
tree | d81d81017ff050a08dc1e643f101942c883346e3 /sys/kern/kern_unveil.c | |
parent | afaf56e49024e703b8d8b49377799d78a4aae160 (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