All of lore.kernel.org
 help / color / mirror / Atom feed
* getpolicyload returns 0, 2, 3, 4, ...
@ 2023-11-21 20:27 Petr Lautrbach
  2023-11-22 18:32 ` William Roberts
  0 siblings, 1 reply; 3+ messages in thread
From: Petr Lautrbach @ 2023-11-21 20:27 UTC (permalink / raw)
  To: selinux

Hi,

Milos Malik noticed [0] that getpolicyload "skippes" 1 after first
`semodule -R`:


[root@fedora ~]# getpolicyload
0
[root@fedora ~]# semodule -R
[root@fedora ~]# getpolicyload
2
[root@fedora ~]# semodule -R
[root@fedora ~]# getpolicyload
3
[root@fedora ~]# semodule -R
[root@fedora ~]# getpolicyload
4

why it's like that?

It looks like increased sequence is not propagated after first
policyload and it's propagated to the status after the second
policyload.


[0] https://src.fedoraproject.org/tests/selinux/pull-request/451#comment-168398


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-11-22 18:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-21 20:27 getpolicyload returns 0, 2, 3, 4, Petr Lautrbach
2023-11-22 18:32 ` William Roberts
2023-11-22 18:53   ` Christian Göttsche

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.