GNUnet 0.26.2-114-g7c6b613e3
 
Loading...
Searching...
No Matches
ProcessFileMapEntry Struct Reference

Mapping of file descriptors of the current process to (desired) file descriptors of the child process. More...

Data Fields

int target_fd
 File descriptor to be used in the target process, -1 if it does not matter.
 
int parent_fd
 Original file descriptor of the parent process.
 
bool systemd_listen_socket
 True if this descriptor should be passed in the style of a systemd listen socket with the respective environment variables being set.
 
bool owned
 True if we own this socket (and thus should also close it).
 

Detailed Description

Mapping of file descriptors of the current process to (desired) file descriptors of the child process.

Definition at line 47 of file os_process.c.

Field Documentation

◆ target_fd

int ProcessFileMapEntry::target_fd

File descriptor to be used in the target process, -1 if it does not matter.

Definition at line 52 of file os_process.c.

Referenced by GNUNET_process_set_options_(), and open_dev_null().

◆ parent_fd

int ProcessFileMapEntry::parent_fd

Original file descriptor of the parent process.

Definition at line 57 of file os_process.c.

◆ systemd_listen_socket

bool ProcessFileMapEntry::systemd_listen_socket

True if this descriptor should be passed in the style of a systemd listen socket with the respective environment variables being set.

Definition at line 63 of file os_process.c.

◆ owned

bool ProcessFileMapEntry::owned

True if we own this socket (and thus should also close it).

Definition at line 68 of file os_process.c.


The documentation for this struct was generated from the following file: