HomeFreeBSD

evdev: Make variable-size ioctls return actual length of copyouted data

Description

evdev: Make variable-size ioctls return actual length of copyouted data

on success instead of 0 to match Linux.
Imprivata binary depends on this.

Submitted by: Shunchao Hu <ankohuu_outlook.com>
Reviewed by: wulf
Differential revision: https://reviews.freebsd.org/D28218

Details

Provenance
wulfAuthored on Jan 20 2021, 8:10 PM
Reviewer
wulf
Differential Revision
D28218: evdev: modify the return value of ioctl different from linux
Parents
R10:5cc21ab9949a: hmt: Allow I2C sampling mode support to be compiled out.
Branches
Unknown
Tags
Unknown