kern_cap_ioctls_limit
return (kern_cap_ioctls_limit(td, uap->fd, cmds, ncmds));
int kern_cap_ioctls_limit(struct thread *td, int fd, u_long *cmds,