update 0001-fix-libselinux-deprecated.patch.
This commit is contained in:
parent
a0b83b72c1
commit
9087f05a12
@ -41,7 +41,7 @@ index ac5028e..c09a2d0 100644
|
|||||||
}
|
}
|
||||||
|
|
||||||
- if (avc_init("libreswan", NULL, NULL, NULL, NULL) == 0)
|
- if (avc_init("libreswan", NULL, NULL, NULL, NULL) == 0)
|
||||||
+ int within_range(char *sl, char *range)
|
+ if (avc_open(NULL, 0) == 0)
|
||||||
selinux_ready = 1;
|
selinux_ready = 1;
|
||||||
else
|
else
|
||||||
DBG_log("selinux: could not initialize avc.");
|
DBG_log("selinux: could not initialize avc.");
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user