Page MenuHomeFreeBSD

smbus: add compat32 support for SMB ioctls
ClosedPublic

Authored by stevek on Nov 29 2023, 7:35 PM.
Tags
None
Referenced Files
F106157147: D42837.id.diff
Thu, Dec 26, 8:12 AM
Unknown Object (File)
Tue, Dec 3, 11:37 PM
Unknown Object (File)
Tue, Dec 3, 11:37 PM
Unknown Object (File)
Wed, Nov 27, 9:09 AM
Unknown Object (File)
Wed, Nov 27, 8:56 AM
Unknown Object (File)
Sep 24 2024, 11:05 PM
Unknown Object (File)
Sep 23 2024, 7:08 AM
Unknown Object (File)
Sep 17 2024, 5:03 PM
Subscribers

Details

Summary

Some of the SMB ioctl request structures contain pointers and need to
handle requests from 32-bit applications on 64-bit kernels.

Obtained from: Juniper Networks, Inc.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Nov 29 2023, 8:58 PM
sys/dev/smbus/smb.c
253

Could any of these calls sleep?

kib added inline comments.
sys/dev/smbus/smb.c
253

Ignore the question, it is not worse than the current situation due to small data optimization in kern_ioctl().

This revision was automatically updated to reflect the committed changes.