title: Redirecting FIFO in runtime in Linux
body: <p>I am trying to implement a runtime reconfigurable IPC in C++ under Linux using POSIX IPC. In the current configuration I have a process A communicating through a FIFO with a process B. The process B takes the data from the FIFO, make some modifications and sends them to another process C through another FIFO. Here's a graphical representation:
  <img src="https://i.stack.imgur.com/r7pyo.png" alt="1"></p>
  
  <p>Then, at run-time I would like to kill the process B, and be able to allow process A to send the data through the FIFO between B and C:</p>
  
  <p><img src="https://i.stack.imgur.com/j70Ri.png" alt="2"></p>
  
  <p>How can I do that? </p>