Project

General

Profile

Actions

Feature #9971

closed

Make getrandom(2) a public interface

Added by Jason King almost 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
lib - userland libraries
Start date:
2018-11-09
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:
External Bug:

Description

Several other operating systems, including Linux, FreeBSD (12), and Solaris (11.4) all support a getrandom(2) syscall that are all largely compatible with each other. Software is starting to require this interface as a result. We should make our getrandom(2) public as well (via libc of course) so that such software can build on illumos derived distros.

Actions #1

Updated by Joshua M. Clulow almost 5 years ago

==== Diff ELF runtime attributes (since last build) ====

234a235
> lib/amd64/libc.so.1: VERDEF=ILLUMOS_0.29: {ILLUMOS_0.28}
385a387
> lib/amd64/libc.so.1: VERSION=ILLUMOS_0.29, SYMBOL=getrandom
7248a7251
> lib/libc.so.1: VERDEF=ILLUMOS_0.29: {ILLUMOS_0.28}
7408a7412
> lib/libc.so.1: VERSION=ILLUMOS_0.29, SYMBOL=getrandom
Actions #2

Updated by Electric Monk almost 5 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

git commit de6af22ae73ba8d72672288621ff50b88f2cf5fd

commit  de6af22ae73ba8d72672288621ff50b88f2cf5fd
Author: Jason King <jason.brian.king@gmail.com>
Date:   2018-12-13T18:43:17.000Z

    9971 Make getrandom(2) a public interface
    Reviewed by: Dan McDonald <danmcd@joyent.com>
    Reviewed by: Mike Gerdts <mike.gerdts@joyent.com>
    Reviewed by: Peter Tribble <peter.tribble@gmail.com>
    Reviewed by: Robert Mustacchi <rm@joyent.com>
    Reviewed by: Andy Fiddaman <omnios@citrus-it.net>
    Reviewed by: Igor Kozhukhov <igor@dilos.org>
    Approved by: Joshua M. Clulow <josh@sysmgr.org>

Actions

Also available in: Atom PDF