forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitedb4ef4
committed
Fix compilation warnings with libselinux 3.1 in contrib/sepgsql/
Upstream SELinux has recently marked security_context_t as officiallydeprecated, causing warnings with -Wdeprecated-declarations. This isconsidered as legacy code for some time now by upstream assecurity_context_t got removed from most of the code tree during thedevelopment of 2.3 back in 2014.This removes all the references to security_context_t in sepgsql/ to beconsistent with SELinux, fixing the warnings. Note that this does notimpact the minimum version of libselinux supported.This has been applied first as1f32136 for 14~, but no other branchesgot the call. This is in line with the recent project policy to have nowarnings in branches where builds should still be supported (9.2~ as oftoday). Per discussion with Tom Lane and Álvaro Herrera.Reviewed-by: Tom LaneDiscussion:https://postgr.es/m/20200813012735.GC11663@paquier.xyzDiscussion:https://postgr.es/m/20221103181028.raqta27jcuypor4l@alvherre.pgsqlBackpatch-through: 9.21 parent2cc7ed2 commitedb4ef4
3 files changed
+12
-12
lines changedLines changed: 5 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
121 | 121 |
| |
122 | 122 |
| |
123 | 123 |
| |
124 |
| - | |
| 124 | + | |
125 | 125 |
| |
126 | 126 |
| |
127 | 127 |
| |
| |||
461 | 461 |
| |
462 | 462 |
| |
463 | 463 |
| |
464 |
| - | |
| 464 | + | |
465 | 465 |
| |
466 |
| - | |
| 466 | + | |
467 | 467 |
| |
468 | 468 |
| |
469 | 469 |
| |
| |||
498 | 498 |
| |
499 | 499 |
| |
500 | 500 |
| |
501 |
| - | |
| 501 | + | |
502 | 502 |
| |
503 | 503 |
| |
504 | 504 |
| |
| |||
740 | 740 |
| |
741 | 741 |
| |
742 | 742 |
| |
743 |
| - | |
| 743 | + | |
744 | 744 |
| |
745 | 745 |
| |
746 | 746 |
| |
|
Lines changed: 5 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
767 | 767 |
| |
768 | 768 |
| |
769 | 769 |
| |
770 |
| - | |
771 |
| - | |
| 770 | + | |
| 771 | + | |
772 | 772 |
| |
773 | 773 |
| |
774 | 774 |
| |
| |||
839 | 839 |
| |
840 | 840 |
| |
841 | 841 |
| |
842 |
| - | |
| 842 | + | |
843 | 843 |
| |
844 | 844 |
| |
845 | 845 |
| |
| |||
854 | 854 |
| |
855 | 855 |
| |
856 | 856 |
| |
857 |
| - | |
858 |
| - | |
| 857 | + | |
| 858 | + | |
859 | 859 |
| |
860 | 860 |
| |
861 | 861 |
| |
|
Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
177 | 177 |
| |
178 | 178 |
| |
179 | 179 |
| |
180 |
| - | |
| 180 | + | |
181 | 181 |
| |
182 | 182 |
| |
183 | 183 |
| |
| |||
225 | 225 |
| |
226 | 226 |
| |
227 | 227 |
| |
228 |
| - | |
| 228 | + | |
229 | 229 |
| |
230 | 230 |
| |
231 | 231 |
| |
|
0 commit comments
Comments
(0)