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
F135667939: D19214.id53992.diff
Tue, Nov 11, 6:10 PM
Unknown Object (File)
Thu, Nov 6, 7:51 AM
Unknown Object (File)
Sun, Oct 26, 12:46 PM
Unknown Object (File)
Fri, Oct 24, 9:33 AM
Unknown Object (File)
Tue, Oct 21, 1:36 AM
Unknown Object (File)
Sat, Oct 18, 3:17 AM
Unknown Object (File)
Fri, Oct 17, 4:58 PM
Unknown Object (File)
Fri, Oct 17, 4:58 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.