[gitlog] [eggheads/eggdrop] 2962dd: Fix getrandom() syscall not existing while functio...

GitHub noreply at github.com
Thu Dec 13 20:32:30 UTC 2018


  Branch: refs/heads/develop
  Home:   https://github.com/eggheads/eggdrop
  Commit: 2962dd20cc174a723a6fa621b8d6e4795b8e345b
      https://github.com/eggheads/eggdrop/commit/2962dd20cc174a723a6fa621b8d6e4795b8e345b
  Author: Cizzle <Cizzle at users.noreply.github.com>
  Date:   2018-12-13 (Thu, 13 Dec 2018)

  Changed paths:
    M src/main.c

  Log Message:
  -----------
  Fix getrandom() syscall not existing while function exists in header

Found by: jack3
Patch by: Cizzle

On systems running Linux older than 3.17 and using glibc 2.25 or newer, the getrandom() function exists in the system header but the system call does not exist. This checks and skips the call if not found.



      **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the Changes mailing list