xsm/flask: Fix build following "xsm: correct AVC lookups for two sysctls"
authorAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 10 Aug 2017 13:13:00 +0000 (14:13 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 10 Aug 2017 14:40:38 +0000 (15:40 +0100)
commit320e02d27af75dc137ce2f012437c07f1728d70c
tree24beb56a1074682eb72df341a1ab403322a6c4c9
parenta19faa0100708c70a179eb5cf23a7b7789dab5e3
xsm/flask: Fix build following "xsm: correct AVC lookups for two sysctls"

avc_current_has_perm() takes 4 arguments, not 3.  Spotted by a Travis
randconfig run which actually turned XSM on.

https://travis-ci.org/xen-project/xen/jobs/263063220

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Daniel De Graaf <dgdegra@tycho.nsa.gov>
xen/xsm/flask/hooks.c