File operations on /dev/ecryptfs would BUG() when the operations were
performed by processes other than the process that originally opened the
file. This could happen with open files inherited after fork() or file
descriptors passed through IPC mechanisms.
Fix:
upstream cherry pick of commit 8dc6780587c99286c0d3de747a2946a76989414a
SRU justification (Lucid, Oneiric)
Impact:
File operations on /dev/ecryptfs would BUG() when the operations were
performed by processes other than the process that originally opened the
file. This could happen with open files inherited after fork() or file
descriptors passed through IPC mechanisms.
Fix:
upstream cherry pick of commit 8dc6780587c9928 6c0d3de747a2946 a76989414a
Testcase:
http:// bazaar. launchpad. net/~ecryptfs/ ecryptfs/ trunk/revision/ 696
(test lp-994247.sh)
Without the fix, this test fails. With the fix, it passes.