dazuko-devel
[Top][All Lists]
Advanced

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

[Dazuko-devel] No bugs, but a blocking close patch


From: Tikka, Sami
Subject: [Dazuko-devel] No bugs, but a blocking close patch
Date: Thu, 31 Aug 2006 15:27:43 +0300

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. 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]