summaryrefslogtreecommitdiffstats
path: root/security/selinux/status.c
diff options
context:
space:
mode:
authorChristian Göttsche <cgzones@googlemail.com>2023-07-06 15:23:24 +0200
committerPaul Moore <paul@paul-moore.com>2023-07-19 00:29:47 +0200
commit1f270f1c34127e5a65ba5aaf574f313f0693fcfa (patch)
treec4ccc89aeefc0ef91509ff2dbe07df8a357975ff /security/selinux/status.c
parentselinux: avoid avtab overflows (diff)
downloadlinux-1f270f1c34127e5a65ba5aaf574f313f0693fcfa.tar.xz
linux-1f270f1c34127e5a65ba5aaf574f313f0693fcfa.zip
selinux: consistently use u32 as sequence number type in the status code
Align the type with the one used in selinux_notify_policy_change() and the sequence member of struct selinux_kernel_status. Signed-off-by: Christian Göttsche <cgzones@googlemail.com> [PM: subject line tweaks] Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'security/selinux/status.c')
-rw-r--r--security/selinux/status.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/selinux/status.c b/security/selinux/status.c
index 19ef929a075c..e436e4975adc 100644
--- a/security/selinux/status.c
+++ b/security/selinux/status.c
@@ -101,7 +101,7 @@ void selinux_status_update_setenforce(int enforcing)
* It updates status of the times of policy reloaded, and current
* setting of deny_unknown.
*/
-void selinux_status_update_policyload(int seqno)
+void selinux_status_update_policyload(u32 seqno)
{
struct selinux_kernel_status *status;