diff options
author | Paul Moore <paul@paul-moore.com> | 2019-08-02 00:55:06 +0300 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2019-08-05 23:49:55 +0300 |
commit | 9b80c36353ed4cce324af21244a65984db21991b (patch) | |
tree | 31d6e45a4b934139eb50d51f76477ee38f5dbb28 /fs/notify/inotify | |
parent | f07ea1d4eda2574c6b0f99576db61c86ec27ff5b (diff) | |
download | linux-9b80c36353ed4cce324af21244a65984db21991b.tar.xz |
selinux: always return a secid from the network caches if we find one
Previously if we couldn't find an entry in the cache and we failed to
allocate memory for a new cache entry we would fail the network object
label lookup; this is obviously not ideal. This patch fixes this so
that we return the object label even if we can't cache the object at
this point in time due to memory pressure.
The GitHub issue tracker is below:
* https://github.com/SELinuxProject/selinux-kernel/issues/3
Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'fs/notify/inotify')
0 files changed, 0 insertions, 0 deletions