aboutsummaryrefslogtreecommitdiffstats
path: root/tools/flask/utils/setenforce.c
diff options
context:
space:
mode:
authorDaniel De Graaf <dgdegra@tycho.nsa.gov>2012-02-02 15:19:24 +0000
committerDaniel De Graaf <dgdegra@tycho.nsa.gov>2012-02-02 15:19:24 +0000
commitf95f7eb4fa1afb3d97f8870dc1768add0ebd9995 (patch)
tree86d7830b23e8be5fd4473fc37991634f3fff37b1 /tools/flask/utils/setenforce.c
parentdfc926ceb79d33d2742fca7e8d872348d940dea3 (diff)
downloadxen-f95f7eb4fa1afb3d97f8870dc1768add0ebd9995.tar.gz
xen-f95f7eb4fa1afb3d97f8870dc1768add0ebd9995.tar.bz2
xen-f95f7eb4fa1afb3d97f8870dc1768add0ebd9995.zip
xsm/flask: Improve error reporting for ocontexts
Instead of returning -EINVAL for all errors, return -EEXIST if adding an entry that overlaps with an existing entry, and -ENOENT if attempting to remove an entry that does not exist. Adding an ocontext that already exists with the same SID is no longer an error. Signed-off-by: Daniel De Graaf <dgdegra@tycho.nsa.gov> Committed-by: Keir Fraser <keir@xen.org>
Diffstat (limited to 'tools/flask/utils/setenforce.c')
0 files changed, 0 insertions, 0 deletions