Page MenuHomeFreeBSD

smbus: add compat32 support for SMB ioctls
ClosedPublic

Authored by stevek on Nov 29 2023, 7:35 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Sep 27, 8:37 AM
Unknown Object (File)
Sun, Sep 14, 11:48 AM
Unknown Object (File)
Aug 19 2025, 5:11 AM
Unknown Object (File)
Aug 11 2025, 5:57 AM
Unknown Object (File)
Aug 10 2025, 9:22 PM
Unknown Object (File)
Jul 20 2025, 3:31 PM
Unknown Object (File)
Jul 18 2025, 12:58 AM
Unknown Object (File)
Jun 22 2025, 9:33 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.