You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix-bug:restrict SO_PASS{CRED,SEC} dump to supported socket families while kernel>=6.16.0
Linux 6.16+ restricts SO_PASSCRED and SO_PASSSEC to AF_UNIX, AF_NETLINK, and AF_BLUETOOTH.
This patch updates criu/sockets.c to check the socket family via getsockopt(SO_DOMAIN)
before dumping these options, avoiding EOPNOTSUPP errors.
Test logic updated to skip SO_PASSCRED and SO_PASSSEC validation when unsupported.
Signed-off-by: Dong Sunchao <[email protected]>
0 commit comments