CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In
rapid7

Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.

GitHub Repository: rapid7/metasploit-framework
Path: blob/master/external/source/exploits/CVE-2016-4669/offsets.h
Views: 11779
1
#ifndef OFFSETS_H
2
#define OFFSETS_H
3
4
#define IP_OBJECT_io_bits 0
5
#define IP_OBJECT_io_references 4
6
#define IP_OBJECT_io_lock_data_lock 8
7
#define IP_OBJECT_io_lock_data_type 0x10
8
9
#define IPC_PORT_ip_messages_imq_wait_queue 0x18
10
#define IPC_PORT_ip_messages_imq_next 0x1c
11
#define IPC_PORT_ip_messages_imq_prev 0x20
12
#define IPC_PORT_ip_messages_imq_msgcount 0x28
13
#define IPC_PORT_ip_messages_imq_qlimit 0x2c
14
#define IPC_PORT_kobject 0x44
15
#define IPC_PORT_receiver 0x40
16
#define IPC_PORT_ip_requests 0x50
17
#define IPC_PORT_ip_srights 0x5c
18
#define IPC_PORT_flags 0x64
19
#define IPC_PORT_ip_context2 0x6c
20
#define IPC_PORT_ip_context 0x68
21
22
#define TASK_bsd_proc 0x1e8
23
#define TASK_itk_space 0x1a0
24
#define TASK_itk_self 0xa0
25
26
#define PROC_ucred 0x8c
27
28
#define SPACE_is_table_size 0x10
29
#define SPACE_is_table 0x14
30
31
// mount_common
32
#define VNODE_v_mount 0x84
33
#define MOUNT_mnt_flags 0x3c
34
35
#endif
36
37