aboutsummaryrefslogtreecommitdiffstats
path: root/fs/super.c
diff options
context:
space:
mode:
authorTetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>2012-03-17 20:33:38 +0900
committerJames Morris <james.l.morris@oracle.com>2012-03-20 12:06:50 +1100
commit7d7473dbdb9121dd1b5939566660d51130ecda3a (patch)
tree057bf591dd896c01a2b35b31dc41996d3d9e51b8 /fs/super.c
parentMerge branch 'for-security' of git://git.kernel.org/pub/scm/linux/kernel/git/jj/linux-apparmor into next (diff)
downloadlinux-dev-7d7473dbdb9121dd1b5939566660d51130ecda3a.tar.xz
linux-dev-7d7473dbdb9121dd1b5939566660d51130ecda3a.zip
TOMOYO: Return error if fails to delete a domain
Call sequence: tomoyo_write_domain() --> tomoyo_delete_domain() In 'tomoyo_delete_domain', return -EINTR if locking attempt is interrupted by signal. At present it returns success to its caller 'tomoyo_write_domain()' even though domain is not deleted. 'tomoyo_write_domain()' assumes domain is deleted and returns success to its caller. This is wrong behaviour. 'tomoyo_write_domain' should return error from tomoyo_delete_domain() to its caller. Signed-off-by: Santosh Nayak <santoshprasadnayak@gmail.com> Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp> Signed-off-by: James Morris <james.l.morris@oracle.com>
Diffstat (limited to 'fs/super.c')
0 files changed, 0 insertions, 0 deletions