[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux-team] 'tite question



Salut,

je voudrais sécuriser un programme comme suit :
1) le programme tourne dans un prison (chroot)
2) il écrit dans un fifo
3) un autre processus, en-dehors de la prison, vide le fifo dans un fichier, 
inaccessible au programme à sécuriser.

Le problème: quel programme pourrait convenir pour cette tâche ?
J'ai essayé avec cat ou cp, mais il se terminent après qu'un fichier ait été 
recopié dans le fifo. Il y a probablement un EOF la-derrière ?

Quel programme utiliser pour qu'il se remette indéfiniment en attente ?

Merci

Pascal Dupuis
 
-- 
3rd Law of Computing:
        Anything that can go wr
fortune: Segmentation violation -- Core dumped

--------
Visit the Linux Supertore Online: http://www.redcorp.com !
If you want to be deleted from the list, send a mail to
majordomo@rtfm.be with "unsubscribe linux-team" in the body.
Archive of the list: http://tania.be.linux.org/