[Ecryptfs-devel] Fixed?!

2008-04-07 Thread Benedikt Driessen
Hi Michael, 

 

I see you have been busy fixing the Userspace-Kernelspace communication
issue, which is really great! 

 

Can you provide a patch (for linux-2.6.24.4 would be best, due to the recent
bugfix in eCryptfs!) that incorporates the NFS-fix and the
procFS-functionality..? Starting ecryptfsd (the one from the git-repository)
with both patches applied to 2.6.24 results in a kernel-oops (which is an
improvement, at least not the whole system crashes..).

 

Best regards and keep up the great work,

Benedikt



PGP.sig
Description: PGP signature
-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone___
eCryptfs-devel mailing list
eCryptfs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecryptfs-devel


Re: [Ecryptfs-devel] Fixed?!

2008-04-07 Thread Michael Halcrow
On Mon, Apr 07, 2008 at 03:31:53PM +0200, Benedikt Driessen wrote:
 Starting ecryptfsd (the one from the git-repository) with both
 patches applied to 2.6.24 results in a kernel-oops (which is an
 improvement, at least not the whole system crashes..).

In that case, I would bet that you still get an oops even without the
NFS patch applied. These two patches do not touch the same regions of
code, and there is no reason for the NFS patch to affect the procfs
patch.

Please post the contents of the oops from your system log (along with
any other interesting error messages).

Thanks,
Mike


signature.asc
Description: Digital signature
-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone___
eCryptfs-devel mailing list
eCryptfs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecryptfs-devel


Re: [Ecryptfs-devel] Fixed?!

2008-04-07 Thread Michael Halcrow
On Mon, Apr 07, 2008 at 03:31:53PM +0200, Benedikt Driessen wrote:
 Starting ecryptfsd (the one from the git-repository) with both
 patches applied to 2.6.24 results in a kernel-oops (which is an
 improvement, at least not the whole system crashes..).

One of these days I am going to learn to test even my most trivial
changes.

I added a try_module_get() at the last minute to prevent the module
from being unloaded while a daemon has its handle open. I assumed
non-zero was an error code for that function call; it turns out that
zero is the error condition.

That flub is fixed in this version of the patch:

http://downloads.sourceforge.net/ecryptfs/ecryptfs-procfs-kernel-20080407.txt

Mike


signature.asc
Description: Digital signature
-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone___
eCryptfs-devel mailing list
eCryptfs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecryptfs-devel


Re: [Ecryptfs-devel] Fixed?!

2008-04-07 Thread Benedikt Driessen
I'll try it out tomorrow, in case of an error I'll provide you with the
necessary dmesg output. Which kernel version is to be used with this patch?

-Ursprüngliche Nachricht-
Von: Michael Halcrow [mailto:[EMAIL PROTECTED] 
Gesendet: Montag, 7. April 2008 17:14
An: Benedikt Driessen
Cc: ecryptfs-devel@lists.sourceforge.net;
[EMAIL PROTECTED]
Betreff: Re: [Ecryptfs-devel] Fixed?!

On Mon, Apr 07, 2008 at 03:31:53PM +0200, Benedikt Driessen wrote:
 Starting ecryptfsd (the one from the git-repository) with both patches 
 applied to 2.6.24 results in a kernel-oops (which is an improvement, 
 at least not the whole system crashes..).

One of these days I am going to learn to test even my most trivial changes.

I added a try_module_get() at the last minute to prevent the module from
being unloaded while a daemon has its handle open. I assumed non-zero was an
error code for that function call; it turns out that zero is the error
condition.

That flub is fixed in this version of the patch:

http://downloads.sourceforge.net/ecryptfs/ecryptfs-procfs-kernel-20080407.tx
t

Mike



PGP.sig
Description: PGP signature
-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone___
eCryptfs-devel mailing list
eCryptfs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecryptfs-devel