pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Fix compilation warnings with libselinux 3.1 in contrib/sepgsql/ 10+ messages / 1 participants [nested] [flat]
* pgsql: Fix compilation warnings with libselinux 3.1 in contrib/sepgsql/ @ 2020-08-14 00:31 Michael Paquier <michael@paquier.xyz> 0 siblings, 0 replies; 10+ messages in thread From: Michael Paquier @ 2020-08-14 00:31 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Fix compilation warnings with libselinux 3.1 in contrib/sepgsql/ Upstream SELinux has recently marked security_context_t as officially deprecated, causing warnings with -Wdeprecated-declarations. This is considered as legacy code for some time now by upstream as security_context_t got removed from most of the code tree during the development of 2.3 back in 2014. This removes all the references to security_context_t in sepgsql/ to be consistent with SELinux, fixing the warnings. Note that this does not impact the minimum version of libselinux supported. Reviewed-by: Tom Lane Discussion: https://postgr.es/m/20200813012735.GC11663@paquier.xyz Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/1f32136a9960df2e135e7b36363ea1f087b514a0 Modified Files -------------- contrib/sepgsql/label.c | 10 +++++----- contrib/sepgsql/selinux.c | 10 +++++----- contrib/sepgsql/uavc.c | 4 ++-- 3 files changed, 12 insertions(+), 12 deletions(-) ^ permalink raw reply [nested|flat] 10+ messages in thread
* pgsql: Fix compilation warnings with libselinux 3.1 in contrib/sepgsql/ @ 2022-11-09 00:41 Michael Paquier <michael@paquier.xyz> 0 siblings, 0 replies; 10+ messages in thread From: Michael Paquier @ 2022-11-09 00:41 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Fix compilation warnings with libselinux 3.1 in contrib/sepgsql/ Upstream SELinux has recently marked security_context_t as officially deprecated, causing warnings with -Wdeprecated-declarations. This is considered as legacy code for some time now by upstream as security_context_t got removed from most of the code tree during the development of 2.3 back in 2014. This removes all the references to security_context_t in sepgsql/ to be consistent with SELinux, fixing the warnings. Note that this does not impact the minimum version of libselinux supported. This has been applied first as 1f32136 for 14~, but no other branches got the call. This is in line with the recent project policy to have no warnings in branches where builds should still be supported (9.2~ as of today). Per discussion with Tom Lane and Álvaro Herrera. Reviewed-by: Tom Lane Discussion: https://postgr.es/m/20200813012735.GC11663@paquier.xyz Discussion: https://postgr.es/m/20221103181028.raqta27jcuypor4l@alvherre.pgsql Backpatch-through: 9.2 Branch ------ REL_13_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/c304c069d14805b1e2e034ec01236077139091cf Modified Files -------------- contrib/sepgsql/label.c | 10 +++++----- contrib/sepgsql/selinux.c | 10 +++++----- contrib/sepgsql/uavc.c | 4 ++-- 3 files changed, 12 insertions(+), 12 deletions(-) ^ permalink raw reply [nested|flat] 10+ messages in thread
* pgsql: Fix compilation warnings with libselinux 3.1 in contrib/sepgsql/ @ 2022-11-09 00:41 Michael Paquier <michael@paquier.xyz> 0 siblings, 0 replies; 10+ messages in thread From: Michael Paquier @ 2022-11-09 00:41 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Fix compilation warnings with libselinux 3.1 in contrib/sepgsql/ Upstream SELinux has recently marked security_context_t as officially deprecated, causing warnings with -Wdeprecated-declarations. This is considered as legacy code for some time now by upstream as security_context_t got removed from most of the code tree during the development of 2.3 back in 2014. This removes all the references to security_context_t in sepgsql/ to be consistent with SELinux, fixing the warnings. Note that this does not impact the minimum version of libselinux supported. This has been applied first as 1f32136 for 14~, but no other branches got the call. This is in line with the recent project policy to have no warnings in branches where builds should still be supported (9.2~ as of today). Per discussion with Tom Lane and Álvaro Herrera. Reviewed-by: Tom Lane Discussion: https://postgr.es/m/20200813012735.GC11663@paquier.xyz Discussion: https://postgr.es/m/20221103181028.raqta27jcuypor4l@alvherre.pgsql Backpatch-through: 9.2 Branch ------ REL_12_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/edb4ef48d85542ff5fefd9eada998f40f06d3c83 Modified Files -------------- contrib/sepgsql/label.c | 10 +++++----- contrib/sepgsql/selinux.c | 10 +++++----- contrib/sepgsql/uavc.c | 4 ++-- 3 files changed, 12 insertions(+), 12 deletions(-) ^ permalink raw reply [nested|flat] 10+ messages in thread
* pgsql: Fix compilation warnings with libselinux 3.1 in contrib/sepgsql/ @ 2022-11-09 00:41 Michael Paquier <michael@paquier.xyz> 0 siblings, 0 replies; 10+ messages in thread From: Michael Paquier @ 2022-11-09 00:41 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Fix compilation warnings with libselinux 3.1 in contrib/sepgsql/ Upstream SELinux has recently marked security_context_t as officially deprecated, causing warnings with -Wdeprecated-declarations. This is considered as legacy code for some time now by upstream as security_context_t got removed from most of the code tree during the development of 2.3 back in 2014. This removes all the references to security_context_t in sepgsql/ to be consistent with SELinux, fixing the warnings. Note that this does not impact the minimum version of libselinux supported. This has been applied first as 1f32136 for 14~, but no other branches got the call. This is in line with the recent project policy to have no warnings in branches where builds should still be supported (9.2~ as of today). Per discussion with Tom Lane and Álvaro Herrera. Reviewed-by: Tom Lane Discussion: https://postgr.es/m/20200813012735.GC11663@paquier.xyz Discussion: https://postgr.es/m/20221103181028.raqta27jcuypor4l@alvherre.pgsql Backpatch-through: 9.2 Branch ------ REL_11_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/91723759e450adff35664926a0328fb8a2c02cf4 Modified Files -------------- contrib/sepgsql/label.c | 10 +++++----- contrib/sepgsql/selinux.c | 10 +++++----- contrib/sepgsql/uavc.c | 4 ++-- 3 files changed, 12 insertions(+), 12 deletions(-) ^ permalink raw reply [nested|flat] 10+ messages in thread
* pgsql: Fix compilation warnings with libselinux 3.1 in contrib/sepgsql/ @ 2022-11-09 00:41 Michael Paquier <michael@paquier.xyz> 0 siblings, 0 replies; 10+ messages in thread From: Michael Paquier @ 2022-11-09 00:41 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Fix compilation warnings with libselinux 3.1 in contrib/sepgsql/ Upstream SELinux has recently marked security_context_t as officially deprecated, causing warnings with -Wdeprecated-declarations. This is considered as legacy code for some time now by upstream as security_context_t got removed from most of the code tree during the development of 2.3 back in 2014. This removes all the references to security_context_t in sepgsql/ to be consistent with SELinux, fixing the warnings. Note that this does not impact the minimum version of libselinux supported. This has been applied first as 1f32136 for 14~, but no other branches got the call. This is in line with the recent project policy to have no warnings in branches where builds should still be supported (9.2~ as of today). Per discussion with Tom Lane and Álvaro Herrera. Reviewed-by: Tom Lane Discussion: https://postgr.es/m/20200813012735.GC11663@paquier.xyz Discussion: https://postgr.es/m/20221103181028.raqta27jcuypor4l@alvherre.pgsql Backpatch-through: 9.2 Branch ------ REL_10_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/8f5d4ee6c5a1de2601934139c974bc09bc42edab Modified Files -------------- contrib/sepgsql/label.c | 10 +++++----- contrib/sepgsql/selinux.c | 10 +++++----- contrib/sepgsql/uavc.c | 4 ++-- 3 files changed, 12 insertions(+), 12 deletions(-) ^ permalink raw reply [nested|flat] 10+ messages in thread
* pgsql: Fix compilation warnings with libselinux 3.1 in contrib/sepgsql/ @ 2022-11-09 00:41 Michael Paquier <michael@paquier.xyz> 0 siblings, 0 replies; 10+ messages in thread From: Michael Paquier @ 2022-11-09 00:41 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Fix compilation warnings with libselinux 3.1 in contrib/sepgsql/ Upstream SELinux has recently marked security_context_t as officially deprecated, causing warnings with -Wdeprecated-declarations. This is considered as legacy code for some time now by upstream as security_context_t got removed from most of the code tree during the development of 2.3 back in 2014. This removes all the references to security_context_t in sepgsql/ to be consistent with SELinux, fixing the warnings. Note that this does not impact the minimum version of libselinux supported. This has been applied first as 1f32136 for 14~, but no other branches got the call. This is in line with the recent project policy to have no warnings in branches where builds should still be supported (9.2~ as of today). Per discussion with Tom Lane and Álvaro Herrera. Reviewed-by: Tom Lane Discussion: https://postgr.es/m/20200813012735.GC11663@paquier.xyz Discussion: https://postgr.es/m/20221103181028.raqta27jcuypor4l@alvherre.pgsql Backpatch-through: 9.2 Branch ------ REL9_6_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/b2b9881109def2be4b162149bf67dad8def53869 Modified Files -------------- contrib/sepgsql/label.c | 10 +++++----- contrib/sepgsql/selinux.c | 10 +++++----- contrib/sepgsql/uavc.c | 4 ++-- 3 files changed, 12 insertions(+), 12 deletions(-) ^ permalink raw reply [nested|flat] 10+ messages in thread
* pgsql: Fix compilation warnings with libselinux 3.1 in contrib/sepgsql/ @ 2022-11-09 00:41 Michael Paquier <michael@paquier.xyz> 0 siblings, 0 replies; 10+ messages in thread From: Michael Paquier @ 2022-11-09 00:41 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Fix compilation warnings with libselinux 3.1 in contrib/sepgsql/ Upstream SELinux has recently marked security_context_t as officially deprecated, causing warnings with -Wdeprecated-declarations. This is considered as legacy code for some time now by upstream as security_context_t got removed from most of the code tree during the development of 2.3 back in 2014. This removes all the references to security_context_t in sepgsql/ to be consistent with SELinux, fixing the warnings. Note that this does not impact the minimum version of libselinux supported. This has been applied first as 1f32136 for 14~, but no other branches got the call. This is in line with the recent project policy to have no warnings in branches where builds should still be supported (9.2~ as of today). Per discussion with Tom Lane and Álvaro Herrera. Reviewed-by: Tom Lane Discussion: https://postgr.es/m/20200813012735.GC11663@paquier.xyz Discussion: https://postgr.es/m/20221103181028.raqta27jcuypor4l@alvherre.pgsql Backpatch-through: 9.2 Branch ------ REL9_5_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/40064e103b117a3ea82c81e7fc694f955855c792 Modified Files -------------- contrib/sepgsql/label.c | 10 +++++----- contrib/sepgsql/selinux.c | 10 +++++----- contrib/sepgsql/uavc.c | 4 ++-- 3 files changed, 12 insertions(+), 12 deletions(-) ^ permalink raw reply [nested|flat] 10+ messages in thread
* pgsql: Fix compilation warnings with libselinux 3.1 in contrib/sepgsql/ @ 2022-11-09 00:41 Michael Paquier <michael@paquier.xyz> 0 siblings, 0 replies; 10+ messages in thread From: Michael Paquier @ 2022-11-09 00:41 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Fix compilation warnings with libselinux 3.1 in contrib/sepgsql/ Upstream SELinux has recently marked security_context_t as officially deprecated, causing warnings with -Wdeprecated-declarations. This is considered as legacy code for some time now by upstream as security_context_t got removed from most of the code tree during the development of 2.3 back in 2014. This removes all the references to security_context_t in sepgsql/ to be consistent with SELinux, fixing the warnings. Note that this does not impact the minimum version of libselinux supported. This has been applied first as 1f32136 for 14~, but no other branches got the call. This is in line with the recent project policy to have no warnings in branches where builds should still be supported (9.2~ as of today). Per discussion with Tom Lane and Álvaro Herrera. Reviewed-by: Tom Lane Discussion: https://postgr.es/m/20200813012735.GC11663@paquier.xyz Discussion: https://postgr.es/m/20221103181028.raqta27jcuypor4l@alvherre.pgsql Backpatch-through: 9.2 Branch ------ REL9_4_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/0f5812df659b6e40f910d13896584c3e0e765d76 Modified Files -------------- contrib/sepgsql/label.c | 10 +++++----- contrib/sepgsql/selinux.c | 10 +++++----- contrib/sepgsql/uavc.c | 4 ++-- 3 files changed, 12 insertions(+), 12 deletions(-) ^ permalink raw reply [nested|flat] 10+ messages in thread
* pgsql: Fix compilation warnings with libselinux 3.1 in contrib/sepgsql/ @ 2022-11-09 00:41 Michael Paquier <michael@paquier.xyz> 0 siblings, 0 replies; 10+ messages in thread From: Michael Paquier @ 2022-11-09 00:41 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Fix compilation warnings with libselinux 3.1 in contrib/sepgsql/ Upstream SELinux has recently marked security_context_t as officially deprecated, causing warnings with -Wdeprecated-declarations. This is considered as legacy code for some time now by upstream as security_context_t got removed from most of the code tree during the development of 2.3 back in 2014. This removes all the references to security_context_t in sepgsql/ to be consistent with SELinux, fixing the warnings. Note that this does not impact the minimum version of libselinux supported. This has been applied first as 1f32136 for 14~, but no other branches got the call. This is in line with the recent project policy to have no warnings in branches where builds should still be supported (9.2~ as of today). Per discussion with Tom Lane and Álvaro Herrera. Reviewed-by: Tom Lane Discussion: https://postgr.es/m/20200813012735.GC11663@paquier.xyz Discussion: https://postgr.es/m/20221103181028.raqta27jcuypor4l@alvherre.pgsql Backpatch-through: 9.2 Branch ------ REL9_3_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/a5171b8800f10694f22f2665cc881424a6b2bd72 Modified Files -------------- contrib/sepgsql/label.c | 10 +++++----- contrib/sepgsql/selinux.c | 10 +++++----- contrib/sepgsql/uavc.c | 4 ++-- 3 files changed, 12 insertions(+), 12 deletions(-) ^ permalink raw reply [nested|flat] 10+ messages in thread
* pgsql: Fix compilation warnings with libselinux 3.1 in contrib/sepgsql/ @ 2022-11-09 00:41 Michael Paquier <michael@paquier.xyz> 0 siblings, 0 replies; 10+ messages in thread From: Michael Paquier @ 2022-11-09 00:41 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Fix compilation warnings with libselinux 3.1 in contrib/sepgsql/ Upstream SELinux has recently marked security_context_t as officially deprecated, causing warnings with -Wdeprecated-declarations. This is considered as legacy code for some time now by upstream as security_context_t got removed from most of the code tree during the development of 2.3 back in 2014. This removes all the references to security_context_t in sepgsql/ to be consistent with SELinux, fixing the warnings. Note that this does not impact the minimum version of libselinux supported. This has been applied first as 1f32136 for 14~, but no other branches got the call. This is in line with the recent project policy to have no warnings in branches where builds should still be supported (9.2~ as of today). Per discussion with Tom Lane and Álvaro Herrera. Reviewed-by: Tom Lane Discussion: https://postgr.es/m/20200813012735.GC11663@paquier.xyz Discussion: https://postgr.es/m/20221103181028.raqta27jcuypor4l@alvherre.pgsql Backpatch-through: 9.2 Branch ------ REL9_2_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/c58c0770ac047b78c8d803f29880a2708a7271ff Modified Files -------------- contrib/sepgsql/label.c | 10 +++++----- contrib/sepgsql/selinux.c | 10 +++++----- contrib/sepgsql/uavc.c | 4 ++-- 3 files changed, 12 insertions(+), 12 deletions(-) ^ permalink raw reply [nested|flat] 10+ messages in thread
end of thread, other threads:[~2022-11-09 00:41 UTC | newest] Thread overview: 10+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2020-08-14 00:31 pgsql: Fix compilation warnings with libselinux 3.1 in contrib/sepgsql/ Michael Paquier <michael@paquier.xyz> 2022-11-09 00:41 pgsql: Fix compilation warnings with libselinux 3.1 in contrib/sepgsql/ Michael Paquier <michael@paquier.xyz> 2022-11-09 00:41 pgsql: Fix compilation warnings with libselinux 3.1 in contrib/sepgsql/ Michael Paquier <michael@paquier.xyz> 2022-11-09 00:41 pgsql: Fix compilation warnings with libselinux 3.1 in contrib/sepgsql/ Michael Paquier <michael@paquier.xyz> 2022-11-09 00:41 pgsql: Fix compilation warnings with libselinux 3.1 in contrib/sepgsql/ Michael Paquier <michael@paquier.xyz> 2022-11-09 00:41 pgsql: Fix compilation warnings with libselinux 3.1 in contrib/sepgsql/ Michael Paquier <michael@paquier.xyz> 2022-11-09 00:41 pgsql: Fix compilation warnings with libselinux 3.1 in contrib/sepgsql/ Michael Paquier <michael@paquier.xyz> 2022-11-09 00:41 pgsql: Fix compilation warnings with libselinux 3.1 in contrib/sepgsql/ Michael Paquier <michael@paquier.xyz> 2022-11-09 00:41 pgsql: Fix compilation warnings with libselinux 3.1 in contrib/sepgsql/ Michael Paquier <michael@paquier.xyz> 2022-11-09 00:41 pgsql: Fix compilation warnings with libselinux 3.1 in contrib/sepgsql/ Michael Paquier <michael@paquier.xyz>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox