Project

General

Profile

Actions

Bug #13969

closed

tpm driver should use __func__

Added by Jason King 2 months ago. Updated about 2 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
driver - device drivers
Start date:
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

In many cases, the tpm driver defines a string myname set to the name of the current function for generating messages for cmn_err(9F). Since the kernel is C99, it should just use __func__.


Related issues

Related to illumos gate - Bug #13968: tpm driver fails bounds checksClosedJason King

Actions
Actions #1

Updated by Jason King 2 months ago

  • Description updated (diff)
Actions #2

Updated by Dan McDonald about 2 months ago

  • Related to Bug #13968: tpm driver fails bounds checks added
Actions #3

Updated by Electric Monk about 2 months ago

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

git commit e9fe7b359091f8e565041c286948edcb4e1e96f6

commit  e9fe7b359091f8e565041c286948edcb4e1e96f6
Author: Jason King <jason.brian.king@gmail.com>
Date:   2021-08-11T15:31:53.000Z

    13968 tpm driver fails bounds checks
    13969 tpm driver should use __func__
    Reviewed by: Toomas Soome <tsoome@me.com>
    Reviewed by: Peter Tribble <peter.tribble@gmail.com>
    Approved by: Dan McDonald <danmcd@joyent.com>

Actions

Also available in: Atom PDF