Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-43408

Support getrandom() on RHEL 8 and RHEL 7.4+, and other distros

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • Server Security

    Description

      getrandom(2) is a new syscall in Linux 3.17 that avoids using an open file descriptor to get random bytes. We should use it where available. On some platforms, we will need to call the syscall directly and on others, we will need to do runtime detection (i.e. fail gracefully on ENOSYS).

      Docs:
      https://www.redhat.com/en/blog/understanding-red-hat-enterprise-linux-random-number-generator-interface
      https://lwn.net/Articles/711013/

      Attachments

        Activity

          People

            backlog-server-security Backlog - Security Team
            mark.benvenuto@mongodb.com Mark Benvenuto
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: