Use thunks for compat ioctls using struct ifgroupreq.

Reviewed by:	brooks, kib
Obtained from:	CheriBSD
Sponsored by:	DARPA
Differential Revision:	https://reviews.freebsd.org/D29893
This commit is contained in:
John Baldwin 2021-05-05 13:59:00 -07:00 committed by Sebastian Huber
parent 19a627f3a4
commit 8424d5c949
1 changed files with 0 additions and 2 deletions

View File

@ -530,10 +530,8 @@ struct ifgroupreq {
char ifgru_group[IFNAMSIZ]; char ifgru_group[IFNAMSIZ];
struct ifg_req *ifgru_groups; struct ifg_req *ifgru_groups;
} ifgr_ifgru; } ifgr_ifgru;
#ifndef _KERNEL
#define ifgr_group ifgr_ifgru.ifgru_group #define ifgr_group ifgr_ifgru.ifgru_group
#define ifgr_groups ifgr_ifgru.ifgru_groups #define ifgr_groups ifgr_ifgru.ifgru_groups
#endif
}; };
/* /*