• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* Generated by ./xlat/gen.sh from ./xlat/pr_dumpable.in; do not edit. */
2 #if !(defined(SUID_DUMP_DISABLE) || (defined(HAVE_DECL_SUID_DUMP_DISABLE) && HAVE_DECL_SUID_DUMP_DISABLE))
3 # define SUID_DUMP_DISABLE 0	/* No setuid dumping */
4 #endif
5 #if !(defined(SUID_DUMP_USER) || (defined(HAVE_DECL_SUID_DUMP_USER) && HAVE_DECL_SUID_DUMP_USER))
6 # define SUID_DUMP_USER 1	/* Dump as user of process */
7 #endif
8 #if !(defined(SUID_DUMP_ROOT) || (defined(HAVE_DECL_SUID_DUMP_ROOT) && HAVE_DECL_SUID_DUMP_ROOT))
9 # define SUID_DUMP_ROOT 2	/* Dump as root */
10 #endif
11 
12 #ifdef IN_MPERS
13 
14 # error static const struct xlat pr_dumpable in mpers mode
15 
16 #else
17 
18 static
19 const struct xlat pr_dumpable[] = {
20 /* Defined in include/linux/sched.h */
21  XLAT(SUID_DUMP_DISABLE),
22  XLAT(SUID_DUMP_USER),
23  XLAT(SUID_DUMP_ROOT),
24  XLAT_END
25 };
26 
27 #endif /* !IN_MPERS */
28