aboutsummaryrefslogtreecommitdiff
path: root/scripts/package
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 /scripts/package
parentb01d3fb921df9baef1ecd13704f4b1e269b58b6b (diff)
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 'scripts/package')
0 files changed, 0 insertions, 0 deletions