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
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_hash.c
xfrm_hash.h
xfrm_input.c
xfrm_interface.c
xfrm_ipcomp.c
xfrm_output.c
xfrm_policy.c
xfrm_proc.c
xfrm_replay.c
xfrm_state.c ANDROID: Temporarily disable XFRM_USER_COMPAT filtering 2020-11-05 18:12:45 +00:00
xfrm_sysctl.c
xfrm_user.c ANDROID: Temporarily disable XFRM_USER_COMPAT filtering 2020-11-05 18:12:45 +00:00