Changeset ddc339c in rtems


Ignore:
Timestamp:
Nov 13, 2017, 8:21:28 AM (3 years ago)
Author:
Christian Mauderer <Christian.Mauderer@…>
Branches:
5, master
Children:
ca4895c
Parents:
91a2d5e
git-author:
Christian Mauderer <Christian.Mauderer@…> (11/13/17 08:21:28)
git-committer:
Sebastian Huber <sebastian.huber@…> (11/17/17 06:26:41)
Message:

cpukit: Add _arc4random_getentropy_fail.

Add a default implementation of _arc4random_getentropy_fail with an
internal error.

Update #3239.

Files:
1 added
4 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libcsupport/Makefile.am

    r91a2d5e rddc339c  
    117117    src/truncate.c src/access.c src/stat.c src/lstat.c src/pathconf.c \
    118118    src/newlibc_reent.c src/newlibc_exit.c \
    119     src/kill_noposix.c src/utsname.c src/realpath.c
     119    src/kill_noposix.c src/utsname.c src/realpath.c \
     120    src/arc4random_getentropy_fail.c
    120121
    121122BSD_LIBC_C_FILES = src/strlcpy.c src/strlcat.c src/issetugid.c
  • cpukit/sapi/src/interrtext.c

    r91a2d5e rddc339c  
    6666  "INTERNAL_ERROR_LIBIO_STDOUT_FD_OPEN_FAILED",
    6767  "INTERNAL_ERROR_LIBIO_STDERR_FD_OPEN_FAILED",
    68   "INTERNAL_ERROR_ILLEGAL_USE_OF_FLOATING_POINT_UNIT"
     68  "INTERNAL_ERROR_ILLEGAL_USE_OF_FLOATING_POINT_UNIT",
     69  "INTERNAL_ERROR_ARC4RANDOM_GETENTROPY_FAIL"
    6970};
    7071
  • cpukit/score/include/rtems/score/interr.h

    r91a2d5e rddc339c  
    179179  INTERNAL_ERROR_LIBIO_STDOUT_FD_OPEN_FAILED = 36,
    180180  INTERNAL_ERROR_LIBIO_STDERR_FD_OPEN_FAILED = 37,
    181   INTERNAL_ERROR_ILLEGAL_USE_OF_FLOATING_POINT_UNIT = 38
     181  INTERNAL_ERROR_ILLEGAL_USE_OF_FLOATING_POINT_UNIT = 38,
     182  INTERNAL_ERROR_ARC4RANDOM_GETENTROPY_FAIL = 39
    182183} Internal_errors_Core_list;
    183184
  • testsuites/sptests/spinternalerror02/init.c

    r91a2d5e rddc339c  
    3737
    3838  rtems_test_assert(
    39     error - 3 == INTERNAL_ERROR_ILLEGAL_USE_OF_FLOATING_POINT_UNIT
     39    error - 3 == INTERNAL_ERROR_ARC4RANDOM_GETENTROPY_FAIL
    4040  );
    4141}
Note: See TracChangeset for help on using the changeset viewer.