Re: Adding a field to ext2_dir_entry_2

2005-04-04 Thread Vineet Joglekar
rnel.org Date: Mon, 4 Apr 2005 17:17:59 -0600 Subject: Re: Adding a field to ext2_dir_entry_2 On Apr 04, 2005 18:54 -0400, Vineet Joglekar wrote:> I working with linux kernel 2.4.28. I want to add 1 more field to> ext2_dir_entry_2 - the new version of directory entry for ext2fs.>

Adding a field to ext2_dir_entry_2

2005-04-04 Thread Vineet Joglekar
page: bad entry in directory #2: unaligned directory entry - offset=0, inode=2, rec_len=46, name_len=0" Can someone please tell me where am I going wrong or what other changes do I need to do to add the field I want? Thanks and regards, V

Adding a field to ext2_dir_entry_2

2005-04-04 Thread Vineet Joglekar
entry in directory #2: unaligned directory entry - offset=0, inode=2, rec_len=46, name_len=0 Can someone please tell me where am I going wrong or what other changes do I need to do to add the field I want? Thanks and regards, Vineet Joglekar

Re: Adding a field to ext2_dir_entry_2

2005-04-04 Thread Vineet Joglekar
Apr 2005 17:17:59 -0600 Subject: Re: Adding a field to ext2_dir_entry_2 On Apr 04, 2005 18:54 -0400, Vineet Joglekar wrote:br I working with linux kernel 2.4.28. I want to add 1 more field tobr ext2_dir_entry_2 - the new version of directory entry for ext2fs.br br I did add the __u32 field

Problem in encryption in kernel

2005-03-21 Thread Vineet Joglekar
Hi all, I am trying to use some encryption routines inside the kernel (2.4.28). I have done the following things, please let me know where I am going wrong, or anything additional needs to be done. 1: defined struct crypto_tfm * tfm and allocated to des using crypto_alloc_tfm() 2: called

Problem in encryption in kernel

2005-03-21 Thread Vineet Joglekar
Hi all, I am trying to use some encryption routines inside the kernel (2.4.28). I have done the following things, please let me know where I am going wrong, or anything additional needs to be done. 1: defined struct crypto_tfm * tfm and allocated to des using crypto_alloc_tfm() 2: called

Random number generator in Linux kernel

2005-03-07 Thread Vineet Joglekar
Hi all, Can someone please tell me where can I find and which random/pseudo-random number generator can I use inside the linux kernel? (2.4.28) I found out 1 function get_random_bytes() in linux/drivers/char/random.c but thats not what I want. I want a function where I will be

Random number generator in Linux kernel

2005-03-07 Thread Vineet Joglekar
Hi all, Can someone please tell me where can I find and which random/pseudo-random number generator can I use inside the linux kernel? (2.4.28) I found out 1 function get_random_bytes() in linux/drivers/char/random.c but thats not what I want. I want a function where I will be

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], linux-kernel@vger.kernel.org Cc: linux-c-programming@vger.kernel.org Date: Sun, 6 Feb 2005 17:41:01 -0500 (EST) Subject: Re: Problem in accessing

Re: Problem in accessing executable files

2005-02-08 Thread Vineet Joglekar
/06, Vineet Joglekar [EMAIL PROTECTED] wrote: From: Vineet Joglekar [mailto: [EMAIL PROTECTED] To: [EMAIL PROTECTED], linux-kernel@vger.kernel.org Cc: linux-c-programming@vger.kernel.org Date: Sun, 6 Feb 2005 17:41:01 -0500 (EST) Subject: Re: Problem in accessing executable files

Re: Problem in accessing executable files

2005-02-06 Thread Vineet Joglekar
ust to make extra sure.- Original Message ----- From: "Vineet Joglekar" <[EMAIL PROTECTED]>To: Cc: Sent: Tuesday, February 01, 2005 8:58 AMSubject: Problem in accessing executable files>> Hi all,>> I am trying to add some cryptographic functionality to ext2 fi

Re: Problem in accessing executable files

2005-02-06 Thread Vineet Joglekar
, just to make extra sure.brbrbr- Original Message - brFrom: Vineet Joglekar [EMAIL PROTECTED]brTo: linux-kernel@vger.kernel.orgbrCc: linux-c-programming@vger.kernel.orgbrSent: Tuesday, February 01, 2005 8:58 AMbrSubject: Problem in accessing executable filesbrbrbrbr Hi all,brbr I am

when and where shall I encrypt dentry?

2005-02-02 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 Along with regular files, I intend to encrypt directory contents too. For reading I guess the function ext2_get_page in fs/ext2/dir.c is used. Hence I

when and where shall I encrypt dentry?

2005-02-02 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 Along with regular files, I intend to encrypt directory contents too. For reading I guess the function ext2_get_page in fs/ext2/dir.c is used. Hence I

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.

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.