Skip to content

Warning when compiling seccomp-run.c on recent distributions #20

@olivierpierre

Description

@olivierpierre
make
gcc src/seccomp-run.c -o src/seccomp-run
src/seccomp-run.c:61: warning: "PATH_MAX" redefined
   61 | #define PATH_MAX 2048
      |
In file included from src/seccomp-run.c:42:
/usr/include/linux/limits.h:13: note: this is the location of the previous definition
   13 | #define PATH_MAX        4096    /* # chars in a path name including nul */

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions