Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Linux - Kernel This forum is for all discussion relating to the Linux kernel.


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

Rep: Reputation: Disabled
Question read and write position


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
Registered: Oct 2012
Distribution: OpenSuSE,RHEL,Fedora,OpenBSD
Posts: 982
Blog Entries: 2

Rep: Reputation: 244Reputation: 244Reputation: 244
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).


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 > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 05:58 PM.

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