Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stress-netlink-proc: fix build with kernel v3.9 #24

Closed
wants to merge 1 commit into from

Conversation

baruchsiach
Copy link
Contributor

The PROC_EVENT_COREDUMP has been introduced in kernel version 3.10.
Don't use it with 3.9 headers.

Fixes build failure:

stress-netlink-proc.c: In function 'monitor':
stress-netlink-proc.c:108:8: error: 'PROC_EVENT_COREDUMP' undeclared (first use in this function)
case PROC_EVENT_COREDUMP:
^

Signed-off-by: Baruch Siach baruch@tkos.co.il

The PROC_EVENT_COREDUMP has been introduced in kernel version 3.10.
Don't use it with 3.9 headers.

Fixes build failure:

stress-netlink-proc.c: In function 'monitor':
stress-netlink-proc.c:108:8: error: 'PROC_EVENT_COREDUMP' undeclared (first use in this function)
   case PROC_EVENT_COREDUMP:
        ^

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
@ColinIanKing
Copy link
Owner

Thanks for the fix, I've applied and pushed it to my repos.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants