Changeset 5935 in vbox for trunk/src/VBox/Additions/linux/module
- Timestamp:
- Dec 3, 2007 9:11:37 AM (17 years ago)
- Location:
- trunk/src/VBox/Additions/linux/module
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/linux/module/hgcmcall.c
r5900 r5935 286 286 * @param arg User space pointer to the call data structure 287 287 */ 288 AssertCompile((_IOC_SIZE(IOCTL_VBOXGUEST_HGCM_CALL) == sizeof(VBoxGuestHGCMCallInfo))); 289 288 290 int vbox_ioctl_hgcm_call(unsigned long arg, VBoxDevice *vboxDev) 289 291 { … … 292 294 int rc; 293 295 294 AssertCompile((_IOC_SIZE(IOCTL_VBOXGUEST_HGCM_CALL) == sizeof(VBoxGuestHGCMCallInfo)));295 296 /* Get the call header from user space to see how many call parameters there are. */ 296 297 if (copy_from_user(&callHeader, (void*)arg, sizeof(callHeader))) -
trunk/src/VBox/Additions/linux/module/vboxmod.c
r5900 r5935 352 352 * 353 353 */ 354 AssertCompile((sizeof(VMMDevRequestHeader) == _IOC_SIZE(IOCTL_VBOXGUEST_VMMREQUEST))); 355 354 356 static int vboxadd_ioctl(struct inode *inode, struct file *filp, 355 357 unsigned int cmd, unsigned long arg) … … 373 375 int rc; 374 376 375 AssertCompile((sizeof(VMMDevRequestHeader) == _IOC_SIZE(IOCTL_VBOXGUEST_VMMREQUEST)));376 377 if (copy_from_user(&reqHeader, (void*)arg, _IOC_SIZE(cmd))) 377 378 {
Note:
See TracChangeset
for help on using the changeset viewer.