[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[xen staging] flask: drop dead compat translation code



commit 7dcf89d9ec96254f69744ab6d91e8af13f4cda83
Author:     Jan Beulich <jbeulich@xxxxxxxx>
AuthorDate: Fri Sep 4 11:14:28 2020 +0200
Commit:     Jan Beulich <jbeulich@xxxxxxxx>
CommitDate: Fri Sep 4 11:14:28 2020 +0200

    flask: drop dead compat translation code
    
    Translation macros aren't used (and hence needed) at all (or else a
    devicetree_label entry would have been missing), and userlist has been
    removed quite some time ago.
    
    No functional change.
    
    Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>
    Reviewed-by: Roger Pau Monné <roger.pau@xxxxxxxxxx>
---
 xen/include/xlat.lst     | 3 ---
 xen/xsm/flask/flask_op.c | 2 --
 2 files changed, 5 deletions(-)

diff --git a/xen/include/xlat.lst b/xen/include/xlat.lst
index 57a17a2b62..398993d5f4 100644
--- a/xen/include/xlat.lst
+++ b/xen/include/xlat.lst
@@ -171,14 +171,11 @@
 ?      xenoprof_init                   xenoprof.h
 ?      xenoprof_passive                xenoprof.h
 ?      flask_access                    xsm/flask_op.h
-!      flask_boolean                   xsm/flask_op.h
 ?      flask_cache_stats               xsm/flask_op.h
 ?      flask_hash_stats                xsm/flask_op.h
-!      flask_load                      xsm/flask_op.h
 ?      flask_ocontext                  xsm/flask_op.h
 ?      flask_peersid                   xsm/flask_op.h
 ?      flask_relabel                   xsm/flask_op.h
 ?      flask_setavc_threshold          xsm/flask_op.h
 ?      flask_setenforce                xsm/flask_op.h
-!      flask_sid_context               xsm/flask_op.h
 ?      flask_transition                xsm/flask_op.h
diff --git a/xen/xsm/flask/flask_op.c b/xen/xsm/flask/flask_op.c
index a5f2b104e2..01e52138a1 100644
--- a/xen/xsm/flask/flask_op.c
+++ b/xen/xsm/flask/flask_op.c
@@ -790,8 +790,6 @@ CHECK_flask_transition;
 #define xen_flask_load compat_flask_load
 #define flask_security_load compat_security_load
 
-#define xen_flask_userlist compat_flask_userlist
-
 #define xen_flask_sid_context compat_flask_sid_context
 #define flask_security_context compat_security_context
 #define flask_security_sid compat_security_sid
--
generated by git-patchbot for /home/xen/git/xen.git#staging



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.