~n-muench/ubuntu/precise/open-vm-tools/open-vm-tools.raring-precise.backport

« back to all changes in this revision

Viewing changes to modules/linux/shared/vmci_iocontrols.h

  • Committer: Nate Muench
  • Date: 2013-06-07 19:36:13 UTC
  • mfrom: (1.4.7)
  • Revision ID: nowiwilldestroyabydos@gmail.com-20130607193613-kctd63r2cs35g2ms
Tags: 2012.12.26-958366-0ubuntu1
* Merging upstream version 2012.12.26-958366.
  - Adds support for 3.5 Kernels (LP: #1083719)
* Adding patch from Mathias Krause <minipli@googlemail.com> to fix
  kernel stack memory leack in vsock module [CVE-2013-3237].

Show diffs side-by-side

added added

removed removed

Lines of Context:
288
288
   IOCTLCMD(SOCKETS_SEND_TO),
289
289
   IOCTLCMD(SOCKETS_SET_SOCK_OPT),
290
290
   IOCTLCMD(SOCKETS_SHUTDOWN),
291
 
   IOCTLCMD(SOCKETS_SOCKET), /* 1990 on Linux. */
 
291
   IOCTLCMD(SOCKETS_SOCKET),
 
292
   IOCTLCMD(SOCKETS_UUID_2_CID), /* 1991 on Linux. */
292
293
   /* END VMCI SOCKETS */
293
294
 
294
295
   /*
295
 
    * We reserve a range of 4 ioctls for VMCI Sockets to grow.  We cannot
 
296
    * We reserve a range of 3 ioctls for VMCI Sockets to grow.  We cannot
296
297
    * reserve many ioctls here since we are close to overlapping with vmmon
297
298
    * ioctls.  Define a meta-ioctl if running out of this binary space.
298
299
    */
299
300
   // Must be last.
300
 
   IOCTLCMD(SOCKETS_LAST) = IOCTLCMD(SOCKETS_SOCKET) + 4, /* 1994 on Linux. */
 
301
   IOCTLCMD(SOCKETS_LAST) = IOCTLCMD(SOCKETS_UUID_2_CID) + 3, /* 1994 on Linux. */
301
302
   /*
302
303
    * The VSockets ioctls occupy the block above.  We define a new range of
303
304
    * VMCI ioctls to maintain binary compatibility between the user land and
318
319
 */
319
320
#include "vmware_pack_begin.h"
320
321
struct IOCTLCmd_VMCIMacOS_PrivSyms {
321
 
   char data[328];
 
322
   char data[344];
322
323
}
323
324
#include "vmware_pack_end.h"
324
325
;