centos 6
obsolete weakness #20


Weakness Breakdown


An obsolete weakness occurs when someone uses deprecated or obsolete functions when building a system. As a programming language evolves, some functions occasionally become obsolete.

Warning code(s):

These functions are considered obsolete on most systems, and very non-portable.

File Name:



The highlighted line of code below is the trigger point of this particular Centos 6 obsolete weakness.

   You should have received a copy of the GNU Lesser General Public
   License along with the GNU C Library; if not, write to the Free
   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
   02111-1307 USA.  */

#include <errno.h>
#include <signal.h>

/* Set the handler for the signal SIG to HANDLER,
   returning the old handler, or SIG_ERR on error.  */
signal (sig, handler)
     int sig;
     __sighandler_t handler;
  __set_errno (ENOSYS);
  return SIG_ERR;

weak_alias (signal, ssignal)

stub_warning (signal)
stub_warning (ssignal)
#include <stub-tag.h> 

The registered trademark Linux® is used pursuant to a sublicense from the Linux Foundation, the exclusive licensee of Linus Torvalds, owner of the mark on a world­wide basis.