Skip to content

Commit

Permalink
fix for 3.16
Browse files Browse the repository at this point in the history
  • Loading branch information
greatyao committed Dec 30, 2015
1 parent bdd2d2c commit 522c80a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions adore-ng.c
Original file line number Diff line number Diff line change
Expand Up @@ -215,9 +215,13 @@ int should_be_hidden(pid_t pid)
return 0;
}
#ifndef cap_set_full
#ifndef CAP_FULL_SET
# define CAP_FULL_SET ((kernel_cap_t){{ ~0, ~0 }})
#endif
#ifndef cap_set_full
# define cap_set_full(c) do { (c) = ((kernel_cap_t){{ ~0, ~0 }}); } while (0)
#endif
#endif

#if (LINUX_VERSION_CODE < KERNEL_VERSION(3, 9, 0))
#define PATCH_UID
Expand Down

0 comments on commit 522c80a

Please sign in to comment.