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)
Wed, Apr 23, 4:21 AM
Unknown Object (File)
Tue, Apr 22, 11:50 AM
Unknown Object (File)
Fri, Apr 18, 7:10 AM
Unknown Object (File)
Feb 13 2025, 6:54 PM
Unknown Object (File)
Feb 13 2025, 8:16 AM
Unknown Object (File)
Feb 4 2025, 9:22 AM
Unknown Object (File)
Jan 14 2025, 7:07 AM
Unknown Object (File)
Jan 11 2025, 10:53 AM
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 Skipped
Unit
Tests Skipped
Build Status
Buildable 54693
Build 51582: arc lint + arc unit

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.