Linux server2.hpierson.com 3.10.0-1160.105.1.el7.x86_64 #1 SMP Thu Dec 7 15:39:45 UTC 2023 x86_64
Apache
: 162.0.216.123 | : 216.73.216.152
28 Domain
?7.4.33
yvffpqmy
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
share /
systemtap /
runtime /
dyninst /
[ HOME SHELL ]
Name
Size
Permission
Action
addr-map.c
525
B
-rw-r--r--
alloc.c
1.16
KB
-rw-r--r--
arith.c
2.24
KB
-rw-r--r--
common_session_state.h
6.76
KB
-rw-r--r--
copy.c
4
KB
-rw-r--r--
debug.h
413
B
-rw-r--r--
ilog2.h
2.87
KB
-rw-r--r--
io.c
4.43
KB
-rw-r--r--
linux_defs.h
5.58
KB
-rw-r--r--
linux_hash.h
1.83
KB
-rw-r--r--
linux_types.h
654
B
-rw-r--r--
loc2c-runtime.h
2.44
KB
-rw-r--r--
map_list.h
1.03
KB
-rw-r--r--
map_runtime.h
5.04
KB
-rw-r--r--
namespaces.h
0
B
-rw-r--r--
offptr.h
4.68
KB
-rw-r--r--
offset_list.h
4.32
KB
-rw-r--r--
perf.c
0
B
-rw-r--r--
print.c
2.37
KB
-rw-r--r--
probe_lock.h
1.81
KB
-rw-r--r--
regs.c
2.14
KB
-rw-r--r--
runtime.h
9.49
KB
-rw-r--r--
runtime_context.h
6.4
KB
-rw-r--r--
runtime_defines.h
235
B
-rw-r--r--
session_attributes.c
1.68
KB
-rw-r--r--
session_attributes.h
772
B
-rw-r--r--
shm.c
6.03
KB
-rw-r--r--
stapdyn.h
3.37
KB
-rw-r--r--
stat_runtime.h
1.79
KB
-rw-r--r--
sym.c
40
B
-rw-r--r--
task_finder.c
0
B
-rw-r--r--
timer.c
2.71
KB
-rw-r--r--
transport.c
30.4
KB
-rw-r--r--
transport.h
3.88
KB
-rw-r--r--
unwind.c
0
B
-rw-r--r--
uprobes-regs.c
1.94
KB
-rw-r--r--
uprobes.c
1.76
KB
-rw-r--r--
uprobes.h
953
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : transport.h
// stapdyn transport functions // Copyright (C) 2013 Red Hat Inc. // // This file is part of systemtap, and is free software. You can // redistribute it and/or modify it under the terms of the GNU General // Public License (GPL); either version 2, or (at your option) any // later version. #ifndef TRANSPORT_H #define TRANSPORT_H #define STP_DYN_EXIT 0x0001 #define STP_DYN_NORMAL_DATA 0x0002 #define STP_DYN_OOB_DATA 0x0004 #define STP_DYN_SYSTEM 0x0008 #define STP_DYN_REQUEST_EXIT 0x0010 #define STP_DYN_OOB_DATA_MASK (STP_DYN_OOB_DATA | STP_DYN_SYSTEM) // The size of print buffers. This limits the maximum amount of data a // print can send. Note that it must be a power of 2 (which is why // we're using a bit shift). For reference sake, here are the // resulting sizes with various shifts: 13 (8kB), 14 (16kB), 15 (32kB), // 16 (64kB), 17 (128kB), 18 (256kB), 19 (512kB), and 20 (1MB). #ifndef STP_BUFFER_SIZE_SHIFT #define STP_BUFFER_SIZE_SHIFT 20 #endif #define _STP_DYNINST_BUFFER_SIZE (1 << STP_BUFFER_SIZE_SHIFT) // The size of an individual log message. #ifndef STP_LOG_BUF_LEN #define STP_LOG_BUF_LEN 256 #endif #if (STP_LOG_BUF_LEN < 10) /* sizeof(WARN_STRING) */ #error "STP_LOG_BUF_LEN is too short" #endif // The maximum number of log messages the buffer can hold. Note that // it must be a power of 2 (which is why we're using a bit shift). #ifndef STP_LOG_BUF_ENTRIES_SHIFT #define STP_LOG_BUF_ENTRIES_SHIFT 4 #endif #define _STP_LOG_BUF_ENTRIES (1 << STP_LOG_BUF_ENTRIES_SHIFT) // The total size of the log buffer #define _STP_DYNINST_LOG_BUF_LEN (STP_LOG_BUF_LEN * _STP_LOG_BUF_ENTRIES) // The maximum number of queue items each transport queue can // hold. #ifndef STP_DYNINST_QUEUE_ITEMS #define STP_DYNINST_QUEUE_ITEMS 64 #endif struct _stp_transport_queue_item { // The type variable lets the thread know what it needs to do. unsigned type; // 'data_index' indicates which context structure we're // working on. */ int data_index; // When 'type' indicates that normal or oob data needs to be // output, this is the data offset. size_t offset; // When 'type' indicates that normal or oob data needs to be // output, this is the number of bytes to output. size_t bytes; }; struct _stp_transport_queue { size_t items; struct _stp_transport_queue_item queue[STP_DYNINST_QUEUE_ITEMS]; }; // This structure is stored in the session data. struct _stp_transport_session_data { unsigned write_queue; struct _stp_transport_queue queues[2]; pthread_mutex_t queue_mutex; pthread_cond_t queue_space_avail; pthread_cond_t queue_data_avail; }; // This structure is stored in every context structure. struct _stp_transport_context_data { /* The buffer and variables used for print messages */ size_t read_offset; size_t write_offset; size_t write_bytes; char print_buf[_STP_DYNINST_BUFFER_SIZE]; /* The condition variable is used to signal our thread. */ pthread_cond_t print_space_avail; /* The lock for this print state. */ pthread_mutex_t print_mutex; /* * The buffer and variables used for log (warn/error) * messages. Note that 'log_buf' is a true circular buffer * (unlike print_buf). Also note that 'log_start' and * 'log_end' are entry numbers (not offsets). */ size_t log_start; /* index of oldest entry */ size_t log_end; /* where to write new entry */ char log_buf[_STP_DYNINST_LOG_BUF_LEN]; /* The condition variable is used to signal space available. */ pthread_cond_t log_space_avail; /* The lock for 'log_space_avail'. */ pthread_mutex_t log_mutex; }; static int _stp_dyninst_transport_session_init(void); static int _stp_dyninst_transport_session_start(void); static int _stp_dyninst_transport_write_oob_data(char *buffer, size_t bytes); static int _stp_dyninst_transport_write(void); static char *_stp_dyninst_transport_log_buffer(void); static void _stp_dyninst_transport_shutdown(void); static void _stp_dyninst_transport_request_exit(void); #endif // TRANSPORT_H
Close