diff options
| author | Luca Boccassi <[email protected]> | 2024-09-25 21:01:33 +0000 |
|---|---|---|
| committer | Fan Wu <[email protected]> | 2024-10-17 18:37:13 +0000 |
| commit | 579941899db4f972507df3bf783518e606bb095a (patch) | |
| tree | 45046a8e51b280f0f36d22e70d52ccbcf2797510 /rust/helpers/signal.c | |
| parent | Linux 6.12-rc3 (diff) | |
| download | kernel-579941899db4f972507df3bf783518e606bb095a.tar.gz kernel-579941899db4f972507df3bf783518e606bb095a.zip | |
ipe: return -ESTALE instead of -EINVAL on update when new policy has a lower version
When loading policies in userspace we want a recognizable error when an
update attempts to use an old policy, as that is an error that needs
to be treated differently from an invalid policy. Use -ESTALE as it is
clear enough for an update mechanism.
Signed-off-by: Luca Boccassi <[email protected]>
Reviewed-by: Serge Hallyn <[email protected]>
Signed-off-by: Fan Wu <[email protected]>
Diffstat (limited to 'rust/helpers/signal.c')
0 files changed, 0 insertions, 0 deletions
