Failed to use ecryptfs in Android device.
Hi,
I'm trying to mount ecryptfs on Android device(running in an goldfish emulator).
I menuconfiged kernel options, and I am sure I've got ecryptfs module compiled into the kernel.
so I mount it with following command in "adb shell":
_______
cd sdcard/
mkdir test/
mount -t ecryptfs test/ test/
_______
It then prints: mount: Invalid argument
So I check the ecryptfs source code, printing some log. And I find function "ecryptfs_
QUESTION1: What is the "options" need to be parsed by ecryptfs_
When I try to manually evaluate the "options" with some value such as 0 before invoke ecryptfs_
_______
ecryptfs_
ecryptfs_
_______
QUESTION2:what are those "valid auth tok signature"?
However, when I check the README in ecryptfs userspace code packet, I don't get the answer I need. Futhermore, it makes me wondering:
QUESTION3:Must I use ecryptfs userspace code in order to make ecryptfs kernel code work in Android?
This is the first time I get involved in OpenSourceProject. I hope I'm questioning in the right way with understandable English ...
Thank you!
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Thomas Krüger
- Solved:
- Last query:
- Last reply: