fedora 23
obsolete weakness #26

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:

glibc-arm-linux-gnu-2.24/glibc-2.24/signal/raise.c

Context:

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

    version 2.1 of the License, or (at your option) any later version.

   The GNU C Library is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   Lesser General Public License for more details.

   You should have received a copy of the GNU Lesser General Public
   License along with the GNU C Library; if not, see
   <http://www.gnu.org/licenses/>.  */

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

/* Raise the signal SIG.  */
int
raise (int sig)
{
  __set_errno (ENOSYS);
  return -1;
}
weak_alias (raise, gsignal)

stub_warning (raise)
stub_warning (gsignal) 

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.