From: Casey Schaufler Date: Mon, 21 Apr 2014 18:10:26 +0000 (-0700) Subject: Smack: Verify read access on file open - v3 X-Git-Tag: omap-for-v3.16/fixes-against-rc1~70^2~5^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a6834c0b9114c06106efee8e9f2a11fbbb104567;p=pandora-kernel.git Smack: Verify read access on file open - v3 Smack believes that many of the operatons that can be performed on an open file descriptor are read operations. The fstat and lseek system calls are examples. An implication of this is that files shouldn't be open if the task doesn't have read access even if it has write access and the file is being opened write only. Targeted for git://git.gitorious.org/smack-next/kernel.git Signed-off-by: Casey Schaufler --- Reading git-diff-tree failed