Skip to content

SHM_SHMEM_OPEN probes are buggy #256

@haesbaert

Description

@haesbaert
	if ((fd = shm_open("/shm_open-ohmyohmy", O_CREAT | O_RDWR, 0600)) == -1)
		err(1, "shm_open");

This should be a SHM_OPEN event, but it shows up as a FILE event because of O_CREAT.
We only get a SHM_OPEN event when we shm_open(2) an existing thing.

I've worked around it in quark-test but it should be fixed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions