Update of /cvsroot/netadm/gwc/gwcadmd
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25121/gwcadmd
Modified Files:
main.c
Log Message:
MOD:
modify running policy cache managed by gwcadmd
gwccli ----+----------> gwcadmd(running policy cache) ---> pf.ko
|
gwcguid ---+
Index: main.c
===================================================================
RCS file: /cvsroot/netadm/gwc/gwcadmd/main.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** main.c 5 Mar 2006 01:10:59 -0000 1.6
--- main.c 6 Mar 2006 04:23:56 -0000 1.7
***************
*** 9,13 ****
#ident "@(#) $Header$"
-
#include <stdio.h>
#include <stdlib.h>
--- 9,12 ----
***************
*** 57,67 ****
bool bdebug = FALSE;
pthread_attr_t attr;
[...2371 lines suppressed...]
! if (pthread_attr_destroy(&attr) != 0) {
! out("Can't destroy thread attr: %s\n", strerror(errno));
! }
! pthread_mutex_destroy(&autotest_mutex);
! pthread_mutex_destroy(&control_mutex);
! list_delete_all_node(runpol_list);
! /* daemon exit */
! EXIT:
#ifdef USE_SYSLOG
! sysl_close();
#endif
!
! /* dont use this because we will not alloc for fr->p */
! /* frfree(fr); */
! sys_ipcclean();
! shmdt((char *)0);
! shmctl(smid, IPC_RMID, NULL);
! out("stopped.\n");
! exit(0);
! }
|