Ignore:
Timestamp:
Oct 25, 2009, 9:11:25 AM (15 years ago)
Author:
katerina
Message:

Run SUID check in seperate thread (ticket #170).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/sh_portcheck.c

    r252 r253  
    16181618  if (sh_portchk_active != S_FALSE)
    16191619    {
     1620#ifdef SL_DEBUG
     1621      sh_error_handle(SH_ERR_NOTICE, FIL__, __LINE__, 0, MSG_E_SUBGEN,
     1622                      _("Checking for open ports"),
     1623                      _("sh_portchk_check"));
     1624#else
     1625      sh_error_handle(SH_ERR_INFO, FIL__, __LINE__, 0, MSG_E_SUBGEN,
     1626                      _("Checking for open ports"),
     1627                      _("sh_portchk_check"));
     1628#endif
     1629
    16201630      sh_portchk_reset_lists();
    16211631      if (0 != geteuid())
     
    16271637          SH_MUTEX_LOCK(mutex_thread_nolog);
    16281638          sh_error_handle(SH_ERR_ERR, FIL__, __LINE__, 0, MSG_E_SUBGEN,
    1629                           _("not scanning ports below 1024"), _("sh_portchk_check"));
     1639                          _("not scanning ports below 1024"),
     1640                          _("sh_portchk_check"));
    16301641          SH_MUTEX_UNLOCK(mutex_thread_nolog);
    16311642#endif
Note: See TracChangeset for help on using the changeset viewer.