Project

General

Profile

Bug #4156

prtconf - illumos or more generic branding to replace "Oracle Corporation"

Added by Sam Zaydel over 6 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Start date:
2013-09-24
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage

Description

Seems like this code block should be updated with something other than "Oracle Corporation". While this tool is not the most popular tool out there, this seems like it should be done at some point. http://src.illumos.org/source/xref/illumos-gate/usr/src/cmd/prtconf/prtconf.c#346

Now:
if (ret <= 1) {
    (void) strncpy(hw_provider, "Oracle Corporation",
        sizeof (hw_provider));
}

Should probably be, maybe even more generic than this:
if (ret <= 1) {
    (void) strncpy(hw_provider, "illumos",
        sizeof (hw_provider));
}

History

#1

Updated by Toomas Soome almost 4 years ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 90

changed fall back text in prtconf, implemented interface to extract vendor from smbios.

#2

Updated by Electric Monk almost 4 years ago

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

git commit e41d648bc8b227d5ffb1101707472d2a2eb66c2b

commit  e41d648bc8b227d5ffb1101707472d2a2eb66c2b
Author: Toomas Soome <tsoome@me.com>
Date:   2016-03-21T18:39:31.000Z

    4156 prtconf - illumos or more generic branding to replace "Oracle Corporation" 
    Reviewed by: Olaf Bohlen <olafbohlen@googlemail.com>
    Reviewed by: Igor Kozhukhov <ikozhukhov@gmail.com>
    Approved by: Dan McDonald <danmcd@omniti.com>

Also available in: Atom PDF