Skip to content

ptrace-kmod.c compile on x64 systems #2

@egilas

Description

@egilas

The file:
https://github.com/Kabot/Unix-Privilege-Escalation-Exploits-Pack/blob/master/2003/ptrace-kmod.c

won't compile with -m32 on x64 systems. Solution is to

//#include <sys/user.h>
#include <sys/reg.h>
#include <asm-i386/user.h>
//#include <linux/user.h>

and compile with gcc -m32

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions