LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices

Reply
 
Search this Thread
Old 12-12-2012, 02:11 AM   #1
s.kr
LQ Newbie
 
Registered: Oct 2012
Posts: 8

Rep: Reputation: Disabled
Question read and write position


hello!

I am looking for read and write position in kernel.

1-I want to manipulate data that user enter just before kernel writes it to disk and

2-I want to manipulate (recover the original data) user data that stored in disk(in first step) just after read from disk and before show to user.

You know! like encrypt and decrypt user data with xor.

Can everyone tell me please where is related functions and where is the exact position to do it in linux kernel(if you can)?


with many thanks.
 
Old 12-12-2012, 06:05 AM   #2
linosaurusroot
Member
 
Registered: Oct 2012
Distribution: OpenSuSE,RHEL,Fedora,OpenBSD
Posts: 777
Blog Entries: 2

Rep: Reputation: 199Reputation: 199
Without trying to dodge the question exactly; if you're planning to make changes like that you'd better first get good enough at reading the source that you can find the right places by yourself. Reading the source, searching it for relevant strings, following activity from one function to another are all steps you will want to carry out.

And there's much more to disk encryption requirements than xor (not that it's the concern right now - better do one thing at a time).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Read Write access to a iso9660 filesystem..mount a .iso image as read write ceazar123 Linux - Newbie 16 09-01-2010 09:07 AM
Read Write access to a iso9660 filesystem..mount a .iso image as read write ceazar123 Linux - General 2 08-26-2010 03:32 PM
Reiserfs vs JFS base on Read, Re-read, Write, Re-write Hesi Linux - Newbie 1 03-19-2010 04:08 AM
Open office read only, K-write read/write mode lwtvh Linux - Newbie 1 07-19-2003 11:33 AM


All times are GMT -5. The time now is 07:16 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration