mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Fawad Lateef <fawadlateef@gmail.com>
To: ext3crypt <ext3crypt@comcast.net>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Am I thinking correctly?
Date: Mon, 7 Nov 2005 13:54:43 +0500	[thread overview]
Message-ID: <1e62d1370511070054i113cd387y187a14a526d19eb7@mail.gmail.com> (raw)
In-Reply-To: <PFEILFFLMPNHAOBNBGPJGEHDCHAA.ext3crypt@comcast.net>

On 11/7/05, ext3crypt <ext3crypt@comcast.net> wrote:
> I'm working on a masters project for PSU.  It requires that I modify the
> ext3 and fs code in the kernel proper.
>
> The idea is to encrypt data just prior to it being written to disk.  I've
> created a new version of __block_write_full_page (which is called from
> writepage) to allocate a new (GFP_NOFS) page, setup the buffer_head list and
> copy the data to the new page (and encrypt it too).  When I do this, the
> data is not written to disk from the new buffer_head that I submit using
> submit_bh().  I've treked through this code and I'm convinced I'm down the
> right path.  Am I?  Any assistance would be appreciated.
>

Which kernel version you are using ?
Using kernel Encryption API ?
How you got to know that your data is not written to disk ? Getting
any error message ? or some-thing else ?
And a url or attachment of code will help others to get to your problem !


--
Fawad Lateef

  reply	other threads:[~2005-11-07  8:54 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-07  2:18 ext3crypt
2005-11-07  8:54 ` Fawad Lateef [this message]
2005-11-07 17:24 ext3crypt
2005-11-08  3:24 ` Fawad Lateef

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1e62d1370511070054i113cd387y187a14a526d19eb7@mail.gmail.com \
    --to=fawadlateef@gmail.com \
    --cc=ext3crypt@comcast.net \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®