[PATCH] eCryptfs: open-code flag checking and manipulation