Page MenuHomeFreeBSD

Fix refcount leak in SGX Linux compat ioctl handlers.
ClosedPublic

Authored by markj on Feb 16 2019, 6:31 PM.
Tags
None
Referenced Files
F174475077: D19214.id54016.diff
Sat, Oct 3, 1:05 PM
Unknown Object (File)
Wed, Sep 30, 7:13 PM
Unknown Object (File)
Wed, Sep 30, 7:11 PM
Unknown Object (File)
Wed, Sep 30, 5:31 PM
Unknown Object (File)
Wed, Sep 30, 5:52 AM
Unknown Object (File)
Tue, Sep 22, 9:33 PM
Unknown Object (File)
Mon, Sep 21, 11:40 AM
Unknown Object (File)
Fri, Sep 11, 12:31 PM
Subscribers

Details

Summary

Also get rid of some debug prints while here.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

  • Return the error from copyin(9).
kib added inline comments.
sys/amd64/sgx/sgx_linux.c
84 ↗(On Diff #53992)

Fix style there as well ? (!= 0)

This revision is now accepted and ready to land.Feb 16 2019, 8:26 PM
This revision was automatically updated to reflect the committed changes.