Advertisement
linux

string_SIGKIL.h

Jul 16th, 2018
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.53 KB | None | 0 0
  1. #ifndef MAIN_H
  2. #define MAIN_H
  3.  
  4. #define BAD_ENV "_=/usr/bin/gdb"
  5. #define FAKE_PATH "/bin/bash"
  6. #define CMD_BUF 128
  7. #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]))
  8.  
  9. #include <stdio.h>
  10. #include <stdlib.h>
  11. #include <stdbool.h>
  12. #include <dirent.h>
  13. #include <string.h>
  14. #include <ctype.h>
  15. #include <unistd.h>
  16. #include <stdint.h>
  17.  
  18. #include <sys/time.h>
  19. #include <sys/resource.h>
  20. #include <linux/limits.h>
  21. #include <sys/prctl.h>
  22. #include <sys/types.h>
  23. #include <sys/stat.h>
  24. #include <fcntl.h>
  25. #include <signal.h>
  26.  
  27. #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement