Ramdisk encryption

From: Lei Yang
Date: Mon Jul 19 2004 - 12:04:09 EST


Can I set up a ramdisk and use loopback encryption to encrypt it?
As far as I understand, the OS will keep data encrypted on the hard
disk at all times and decrypts it in RAM only as it's read. So an encrypted
executable on physical hard disk will be decrypted page by page upon
reading to RAM. But what happens to an executable sitting in ramdisk?
Can I also encrypt it? Since the code is in RAM, it should be running in place,
how do kernel deal with encrypted code and run?

Any comments?

Thanks in advance!

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/