Project

General

Profile

Actions

Bug #12944

closed

remove long obsolete libsys

Added by Rich Lowe almost 2 years ago. Updated almost 2 years ago.

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

100%

Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:

Description

libsys is a vestige of System V Release 3 which has been obsolete since at least SVR4.1, and probably SVR4.
It was intended to provide the system call interfaces without the rest of the C library, we implement it as a somewhat generated filter on libc.

For weird ABI reasons it's SONAME is defined to be "/usr/lib/ld.so.1", which we have special handling in rtld to translate back to libsys.

The library has no users anyone has ever been able to find, and in the extremely likely eventuality catering to them is easy.

We should remove this wart

Actions #1

Updated by Electric Monk almost 2 years ago

  • Gerrit CR set to 798
Actions #2

Updated by Rich Lowe almost 2 years ago

testing:
Check for libsys consumers, build, boot, build in the new booted bits, etc.

Actions #3

Updated by Electric Monk almost 2 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 0 to 100

git commit 0904e7ecf266ebe6844dfc4b178441dc8d81296b

commit  0904e7ecf266ebe6844dfc4b178441dc8d81296b
Author: Richard Lowe <richlowe@richlowe.net>
Date:   2020-08-11T18:48:37.000Z

    12944 remove long obsolete libsys
    Reviewed by: Robert Mustacchi <rm+illumos@fingolfin.org>
    Reviewed by: Toomas Soome <tsoome@me.com>
    Approved by: Dan McDonald <danmcd@joyent.com>

Actions

Also available in: Atom PDF