commit faa51040ccfe19adb99fcfd7402b7c54374e7cb0
Author: Arkadiusz MiĆkiewicz <[email protected]>
Date: Thu Feb 2 13:43:24 2023 +0100
Rel 3; we don't have howl anymore; patch from fc; builds
xinetd-2.3.15-remove-deprecated-flask.h.patch | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
---
diff --git a/xinetd-2.3.15-remove-deprecated-flask.h.patch
b/xinetd-2.3.15-remove-deprecated-flask.h.patch
new file mode 100644
index 0000000..1cb4e54
--- /dev/null
+++ b/xinetd-2.3.15-remove-deprecated-flask.h.patch
@@ -0,0 +1,20 @@
+diff -up xinetd-2.3.15/xinetd/child.c.remove-flaskh
xinetd-2.3.15/xinetd/child.c
+--- xinetd-2.3.15/xinetd/child.c.remove-flaskh 2020-04-07 12:28:52.538123162
+0200
++++ xinetd-2.3.15/xinetd/child.c 2020-04-07 12:28:58.980980069 +0200
+@@ -33,7 +33,6 @@
+ #endif
+ #ifdef LABELED_NET
+ #include <selinux/selinux.h>
+-#include <selinux/flask.h>
+ #include <selinux/context.h>
+ #endif
+
+@@ -551,7 +550,7 @@ static int set_context_from_socket( cons
+ if (!(new_context = context_str(bcon)))
+ goto fail;
+
+- if (security_compute_create(new_context, exec_context, SECCLASS_PROCESS,
++ if (security_compute_create(new_context, exec_context,
string_to_security_class("process"),
+ &new_exec_context) < 0)
+ goto fail;
+
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/xinetd.git/commitdiff/faa51040ccfe19adb99fcfd7402b7c54374e7cb0
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit