diff options
author | Eric Paris <eparis@redhat.com> | 2009-02-12 22:50:11 +0300 |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2009-02-14 01:22:34 +0300 |
commit | a5dda683328f99c781f92c66cc52ffc0639bef58 (patch) | |
tree | 2432f51e505fd9242f7081d5bf4e21ff322b73d6 /init/main.c | |
parent | 4cb912f1d1447077160ace9ce3b3a10696dd74e5 (diff) | |
download | linux-a5dda683328f99c781f92c66cc52ffc0639bef58.tar.xz |
SELinux: check seqno when updating an avc_node
The avc update node callbacks do not check the seqno of the caller with the
seqno of the node found. It is possible that a policy change could happen
(although almost impossibly unlikely) in which a permissive or
permissive_domain decision is not valid for the entry found. Simply pass
and check that the seqno of the caller and the seqno of the node found
match.
Signed-off-by: Eric Paris <eparis@redhat.com>
Acked-by: Stephen Smalley <sds@tycho.nsa.gov>
Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'init/main.c')
0 files changed, 0 insertions, 0 deletions