Changeset 321 for trunk/src/sh_unix.c


Ignore:
Timestamp:
Mar 17, 2011, 10:07:44 PM (14 years ago)
Author:
katerina
Message:

Fix for ticket #240: The samhain_kmem kernel module should be loaded earlier

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/sh_unix.c

    r315 r321  
    19091909  char errbuf[SH_ERRBUF_SIZE];
    19101910
     1911  extern void sh_kill_sub();
     1912
    19111913  SL_ENTER(_("sh_unix_init"));
    19121914
     
    19181920    case 0:  break;                             /* child process continues */
    19191921    case -1: SL_RETURN((-1),_("sh_unix_init")); /* error                   */
    1920     default: aud__exit(FIL__, __LINE__, 0);     /* parent process exits    */
     1922    default:                                    /* parent process exits    */
     1923      sh_kill_sub();
     1924      aud__exit(FIL__, __LINE__, 0);
    19211925    }
    19221926
     
    19321936    case 0:  break;                             /* child process continues */
    19331937    case -1: SL_RETURN((-1),_("sh_unix_init")); /* error                   */
    1934     default: aud__exit(FIL__, __LINE__, 0);     /* parent process exits    */
     1938    default:                                    /* parent process exits    */
     1939      sh_kill_sub();
     1940      aud__exit(FIL__, __LINE__, 0);
    19351941    }
    19361942
Note: See TracChangeset for help on using the changeset viewer.