diff options
author | Christian Göttsche <cgzones@googlemail.com> | 2023-07-06 16:23:24 +0300 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2023-07-19 01:29:47 +0300 |
commit | 1f270f1c34127e5a65ba5aaf574f313f0693fcfa (patch) | |
tree | c4ccc89aeefc0ef91509ff2dbe07df8a357975ff /security/selinux | |
parent | f785c54101e01f8e5f84464f8755671246b13794 (diff) | |
download | linux-1f270f1c34127e5a65ba5aaf574f313f0693fcfa.tar.xz |
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')
-rw-r--r-- | security/selinux/include/security.h | 2 | ||||
-rw-r--r-- | security/selinux/status.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/security/selinux/include/security.h b/security/selinux/include/security.h index 665c4e5bae99..08840aa0782d 100644 --- a/security/selinux/include/security.h +++ b/security/selinux/include/security.h @@ -376,7 +376,7 @@ struct selinux_kernel_status { } __packed; extern void selinux_status_update_setenforce(int enforcing); -extern void selinux_status_update_policyload(int seqno); +extern void selinux_status_update_policyload(u32 seqno); extern void selinux_complete_init(void); extern struct path selinux_null; extern void selnl_notify_setenforce(int val); 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; |