Skip to content

Socketpair #75

@tfjmp

Description

@tfjmp

One of the two socket pair is not connected. Neither through socket_create nor socker_pair_create.

socket
Expectation is for the second socket to be connected too.

Looking at CamFlow's code it is hard to understand why it is not the case:
https://github.com/CamFlow/camflow-dev/blob/dev/security/provenance/hooks.c#L1796
https://github.com/CamFlow/camflow-dev/blob/dev/security/provenance/hooks.c#L1820

Look at socketpair implementation and understand how security_socketpair is being called.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions