Skip to content

Socketpair #75

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions