kernel-fxtec-pro1x/net/xfrm
Alistair Delva c0be21f504 ANDROID: Temporarily disable XFRM_USER_COMPAT filtering
Before 5.10-rc1, the upstream kernel blocked any compat calls into XFRM
code with EOPNOTSUPP, however Android kernels had been patching this
check out and made userspace match the 64-bit kernel netlink format
instead.

When the new XFRM_USER_COMPAT feature landed, it added a similar check
in two places which returns EOPNOTSUPP only if the XFRM_USER_COMPAT
feature is disabled, however that is currently always the case for
Android kernels and we do not want to filter these callers.

While we work to remove the userspace compatibility mess, disable the
filtering of compat calls when XFRM_USER_COMPAT is disabled. If the
XFRM_USER_COMPAT feature is enabled, nothing changes.

Bug: 163141236
Bug: 172541864
Signed-off-by: Alistair Delva <adelva@google.com>
Change-Id: Ifbea109070650dfcb4f93a3cc692c18a8d11ab44
2020-11-05 18:12:45 +00:00
..
Kconfig BACKPORT: xfrm/compat: Add 32=>64-bit messages translator 2020-11-01 17:06:09 +00:00
Makefile BACKPORT: xfrm: Provide API to register translator module 2020-11-01 17:05:43 +00:00
xfrm_algo.c ANDROID: net: xfrm: make PF_KEY SHA256 use RFC-compliant truncation. 2018-12-05 09:48:10 -08:00
xfrm_compat.c BACKPORT: xfrm/compat: Translate 32-bit user_policy from sockptr 2020-11-01 20:38:04 -08:00
xfrm_device.c xfrm: Fix double ESP trailer insertion in IPsec crypto offload. 2020-06-30 23:17:10 -04:00
xfrm_hash.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
xfrm_hash.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
xfrm_input.c xfrm: allow to accept packets with ipv6 NEXTHDR_HOP in xfrm_input 2020-06-03 08:19:44 +02:00
xfrm_interface.c xfrmi: drop ignore_df check before updating pmtu 2020-10-14 10:31:23 +02:00
xfrm_ipcomp.c net: xfrm: use preempt-safe this_cpu_read() in ipcomp_alloc_tfms() 2018-03-13 07:46:37 +01:00
xfrm_output.c xfrm: fix a NULL-ptr deref in xfrm_local_error 2020-06-03 08:19:45 +02:00
xfrm_policy.c xfrm: fix a warning in xfrm_policy_insert_list 2020-06-03 08:19:45 +02:00
xfrm_proc.c proc: introduce proc_create_net_single 2018-05-16 07:24:30 +02:00
xfrm_replay.c xfrm: Fix ESN sequence number handling for IPsec GSO packets. 2018-03-01 08:14:50 +01:00
xfrm_state.c ANDROID: Temporarily disable XFRM_USER_COMPAT filtering 2020-11-05 18:12:45 +00:00
xfrm_sysctl.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
xfrm_user.c ANDROID: Temporarily disable XFRM_USER_COMPAT filtering 2020-11-05 18:12:45 +00:00