Project

General

Profile

Bug #6871

libzpool implementation of thread_create should enforce length is 0

Added by Matthew Ahrens over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Category:
zfs - Zettabyte File System
Start date:
2016-04-09
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage

Description

The thread_create function has a `length` parameter that is never used, and ignored when passed in userland. The libzpool code should assert length is 0 instead of ignoring it.

History

#1

Updated by Electric Monk over 3 years ago

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

git commit 8fc922875ed266f52ccd5cc6f973b9ad0839c710

commit  8fc922875ed266f52ccd5cc6f973b9ad0839c710
Author: Eli Rosenthal <eli.rosenthal@delphix.com>
Date:   2016-04-20T19:46:31.000Z

    6871 libzpool implementation of thread_create should enforce length is 0
    Reviewed by: Paul Dagnelie <pcd@delphix.com>
    Reviewed by: Matthew Ahrens <mahrens@delphix.com>
    Approved by: Robert Mustacchi <rm@joyent.com>

Also available in: Atom PDF