Difference between revisions of "Compel plugins"

From CRIU
Jump to navigation Jump to search
m (Kir moved page Compel/Plugins to Compel plugins)
(slight reformatting)
Line 1: Line 1:
 +
The following plugins for [[compel]] are available.
 +
 
== std ==
 
== std ==
This plugins gets packed with your binary by default and provides standard Linux system calls, strings functions and printf-like priting helper.
+
 
 +
Provides standard Linux system calls, strings functions and printf-like priting helper. This plugins is packed with your binary by default.
  
 
== fds ==
 
== fds ==
This one allows you to send and receive fds in parasite to/from the master process.
+
 
 +
Allows to send and receive file descriptors in the parasite code to/from the master process.
  
 
== shmem ==
 
== shmem ==
This one sets up shared memory between parasite and master.
+
 
 +
Sets up shared memory between the parasite and the master.
  
 
== argv ==
 
== argv ==
Provides calls to unpack <code>void *arg, unsigned arg_size</code> blob into <code>int argc, char **argv</code> passed by compel tool.
+
 
 +
Provides functions to unpack <code>void *arg, unsigned arg_size</code> blob passed by the compel tool into the usual <code>int argc, char **argv</code>.
 +
 
 +
== See also ==
 +
 
 +
* [[Compel]]
  
 
[[Category: Compel]]
 
[[Category: Compel]]

Revision as of 18:09, 22 September 2016

The following plugins for compel are available.

std

Provides standard Linux system calls, strings functions and printf-like priting helper. This plugins is packed with your binary by default.

fds

Allows to send and receive file descriptors in the parasite code to/from the master process.

shmem

Sets up shared memory between the parasite and the master.

argv

Provides functions to unpack void *arg, unsigned arg_size blob passed by the compel tool into the usual int argc, char **argv.

See also