android_kernel_google_msm/include
Lorenzo Colitti afd1d2b38a net: inet: Support UID-based routing in IP protocols.
- Use the UID in routing lookups made by protocol connect() and
  sendmsg() functions.
- Make sure that routing lookups triggered by incoming packets
  (e.g., Path MTU discovery) take the UID of the socket into
  account.
- For packets not associated with a userspace socket, (e.g., ping
  replies) use UID 0 inside the user namespace corresponding to
  the network namespace the socket belongs to. This allows
  all namespaces to apply routing and iptables rules to
  kernel-originated traffic in that namespaces by matching UID 0.
  This is better than using the UID of the kernel socket that is
  sending the traffic, because the UID of kernel sockets created
  at namespace creation time (e.g., the per-processor ICMP and
  TCP sockets) is the UID of the user that created the socket,
  which might not be mapped in the namespace.

Bug: 16355602
Change-Id: I910504b508948057912bc188fd1e8aca28294de3
Tested: compiles allnoconfig, allyesconfig, allmodconfig
Tested: https://android-review.googlesource.com/253302
Signed-off-by: Lorenzo Colitti <lorenzo@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Kevin F. Haggerty <haggertk@lineageos.org>
2023-02-18 18:38:56 +01:00
..
acpi
asm-generic locks: rename file-private locks to "open file description locks" 2021-01-24 09:56:22 +00:00
crypto
drm
keys
linux BACKPORT: ipc: add COMPAT_SHMLBA support 2023-02-18 18:32:08 +01:00
math-emu
media
misc
mtd
net net: inet: Support UID-based routing in IP protocols. 2023-02-18 18:38:56 +01:00
pcmcia
rdma
rxrpc
scsi
sound
target
trace
uapi/linux shm: add memfd_create() syscall 2020-10-25 02:37:54 -04:00
video
xen
Kbuild Revert "shm: add memfd.h to export list" 2020-12-12 13:05:55 +03:00