Re: Problem in accessing executable files

2005-02-08 Thread Al Viro
On Tue, Feb 08, 2005 at 07:14:27PM -0500, Vineet Joglekar wrote: > > Hi all, > > > > 1 more interesting observation regarding my executable file problem. > > > > If I copy an executable say "prac" from ext2 fs to my encrypted fs as prac1, > prac1 doesnt run on the encrypted fs. but, if I ma

Re: Problem in accessing executable files

2005-02-08 Thread Vineet Joglekar
--- On Sun 02/06, Vineet Joglekar < [EMAIL PROTECTED] > wrote: From: Vineet Joglekar [mailto: [EMAIL PROTECTED] To: [EMAIL PROTECTED], [email protected] Cc: [email protected] Date: Sun, 6 Feb 2005 17:41:01 -0500 (EST) Subject: Re: Problem in accessing

Re: Problem in accessing executable files

2005-02-07 Thread Vineet Joglekar
TECTED] Cc: [EMAIL PROTECTED], [email protected] Date: Mon, 7 Feb 2005 18:31:24 + Subject: Re: Problem in accessing executable files Vineet Joglekar wrote:> Thanks for suggesting the single / few bytes encryption test. I tried> doing that, but in vain. Maybe I am

Re: Problem in accessing executable files

2005-02-07 Thread Glynn Clements
Vineet Joglekar wrote: > Thanks for suggesting the single / few bytes encryption test. I tried > doing that, but in vain. Maybe I am going wrong somewhere else. I'm pretty sure that mmap'ed access doesn't go through do_generic_file_read(). Executable files (programs and shared libraries) are no

Re: Problem in accessing executable files

2005-02-06 Thread Vineet Joglekar
wrote: From: John T. Williams [mailto: [EMAIL PROTECTED] To: [EMAIL PROTECTED], [email protected] Cc: [email protected] Date: Tue, 1 Feb 2005 10:37:30 -0500 Subject: Re: Problem in accessing executable files This is just a thought.Text files are better ab

Re: Problem in accessing executable files

2005-02-01 Thread John T. Williams
e use them on a regular file and the an md5sum on the file before and after, just to make extra sure. - Original Message - From: "Vineet Joglekar" <[EMAIL PROTECTED]> To: Cc: Sent: Tuesday, February 01, 2005 8:58 AM Subject: Problem in accessing executable files > >

Problem in accessing executable files

2005-02-01 Thread Vineet Joglekar
Hi all, I am trying to add some cryptographic functionality to ext2 file system for my masters project. I am working with kernel 2.4.21 since the routines do_generic_file_read and do_generic_file_write are used in reading and writing, I am decrypting and encrypting the data in the resp. f