add: pt[process_no].pid=getpid();
context: int init_unixsock_children(void){	int i;	pid_t pid;#ifdef USE_TCP	int sockfd[2];#endif	if (!unixsock_name || *unixsock_name == '\0') {		return 1;	}	if (get_uptime() < 0) {		return -1;	}	        if (register_core_commands() < 0) {		close(rx_sock);		close(tx_sock);		return -1;	}	for(i = 0; i < unixsock_children; i++) {		process_no++;#ifdef USE_TCP		if(!tcp_disable){ 			if (socketpair(AF_UNIX, SOCK_STREAM, 0, sockfd)<0){				LOG(L_ERR, "ERROR: init_unixsock_server: socketpair"						" failed: %s\n", strerror(errno));				return -1;			}		}#endif		pid = fork();		if (pid < 0) {			LOG(L_ERR, "init_unixsock_server: Unable to fork: %s\n",			    strerror(errno));			close(rx_sock);			close(tx_sock);			return -1;		} else if (pid == 0) { /* child */#ifdef USE_TCP			if (!tcp_disable){				close(sockfd[0]);				unix_tcp_sock=sockfd[1];			}#endif			if (init_child(PROC_UNIXSOCK) < 0) {				LOG(L_ERR, "init_unixsock_server: Error in "				    "init_child\n");				close(rx_sock);				close(tx_sock);				return -1;			}			unix_server_loop(); /* Never returns */		}		     /* Parent */		pt[process_no].pid = pid;		strncpy(pt[process_no].desc, "unix domain socket server", 			MAX_PT_DESC);#ifdef USE_TCP		if (!tcp_disable){			close(sockfd[1]);			pt[process_no].unix_sock=sockfd[0];			pt[process_no].idx=-1; /* this is not a "tcp"									  process*/		}#endif	}	DBG("init_unixsock_server: Unix domain socket server successfully initialized @ %s\n",	    unixsock_name);	return 1;}