``` int childPid = fork(); if childPid == 0 { /...
# general
d
Copy code
int childPid = fork();
if childPid == 0 {
   // child process executes here
   setns(fdContainerNS, 0);
   // read pkg info using deb and rpm libs which osqyuery already has
   // Use IPC to send the data
   // Exits
} else {
   // read data from the message queue
   //  Create a row from the data and push to Results
}