Searched refs:filterset (Results 1 – 1 of 1) sorted by relevance
257 int *filterset; in _tnfctl_prbk_get_pfilter_list() local270 filterset = (int *) malloc((kstate.pidfilter_size + 1) * in _tnfctl_prbk_get_pfilter_list()272 if (filterset == NULL) in _tnfctl_prbk_get_pfilter_list()274 if (ioctl(hdl->kfd, TIFIOCPIDFILTERGET, filterset) < 0) in _tnfctl_prbk_get_pfilter_list()278 ret_list = malloc(filterset[0] * sizeof (pid_t)); in _tnfctl_prbk_get_pfilter_list()282 for (i = 1; i <= filterset[0]; ++i) in _tnfctl_prbk_get_pfilter_list()283 ret_list[i - 1] = filterset[i]; in _tnfctl_prbk_get_pfilter_list()285 *ret_count = filterset[0]; in _tnfctl_prbk_get_pfilter_list()286 (void) free(filterset); in _tnfctl_prbk_get_pfilter_list()