Hi John,

I'm sorry, I was misinformed when I told you there was a bug in dup and dup2.
There was a bug in our internal version of dazuko, which I would like to be
as close to your official version as possible.

To do that, I have uploaded a new patch to Savannah. 

https://savannah.nongnu.org/patch/?func=detailitem&item_id=5356

>From the description:

--------------------------------------------------------------------

This patch makes application calling the close syscall block while dazuko
daemon(s) processes the access request.

Some applications might check the return value of close and do the right
thing if close reports a failure.

More importantly, if dazuko is configured with --disable-chroot-support,
dazuko will get filenames with "chroot:" prefixed to them for chrooted
processes. The dazuko daemon will need to readlink /proc/PID/root to find out
the real path of the file. If processes do not block in close, they might
exit before the dazuko daemon can get the full path.

--------------------------------------------------------------------

I hope you can consider this patch to become part of dazuko 2.3.1

-- 
Sami Tikka
F-Secure Corporation
BE SURE. 


_______________________________________________
Dazuko-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/dazuko-devel

Reply via email to