fedora 23
obsolete weakness #40

2

Weakness Breakdown


Definition:

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:

cil-1.7.3/test/small2/cof.c

Context:

The highlighted line of code below is the trigger point of this particular Fedora 23 obsolete weakness.

 




 



extern int kill  (__pid_t __pid, int __sig)    ;



 


extern int killpg  (__pid_t __pgrp, int __sig)    ;


 
extern int raise  (int __sig)    ;


 
extern __sighandler_t ssignal  (int __sig, __sighandler_t __handler)    ;
extern int gsignal  (int __sig)    ;



 
extern void psignal  (int __sig, __const char *__s)    ;



 




extern int __sigpause  (int __sig_or_mask, int __is_sig)    ;


 

extern int sigpause  (int __mask)    ;




 

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.