[PATCH v2] Implement a %creds trace class

Andrey Zax andrey.zax at gmail.com
Sat Dec 21 12:37:39 UTC 2019


This patch implements a new trace class (%creds) to trace syscalls
related to process credentials.

syscallent headers updated using this command:

sed -i -r -e '/((set|get)[^p]*(uid|gid|groups))|cap(get|set)|prctl/s/(\[.*[[:digit:]]+\] = \{ [[:digit:]],\t)([A-Z|]+)/\1CD|\2/' \
    -e '/((set|get)[^p]*(uid|gid|groups))|cap(get|set)|prctl/s/(\[.*[[:digit:]]+\] = \{ [[:digit:]],\t)0/\1CD/' \
    -e '/arch_prctl/s/CD\|//' \
     linux/*/syscallent*.h

* basic_filters.c (lookup_class): add %creds member to syscall_class[]
* sysent.h: define new TRACE_CREDS flag
* sysent_shorthand_defs.h: define CD alias for TRACE_CREDS
* strace.1.in (.SS Filtering): add description for `-e trace=%creds`
* linux/32/syscallent.h: add CD flag to credentials syscalls
* linux/64/syscallent.h: Likewise.
* linux/alpha/syscallent.h: Likewise.
* linux/arm/syscallent.h: Likewise.
* linux/avr32/syscallent.h: Likewise.
* linux/bfin/syscallent.h: Likewise.
* linux/hppa/syscallent.h: Likewise.
* linux/i386/syscallent.h: Likewise.
* linux/ia64/syscallent.h: Likewise.
* linux/m68k/syscallent.h: Likewise.
* linux/microblaze/syscallent.h: Likewise.
* linux/mips/syscallent-compat.h: Likewise.
* linux/mips/syscallent-n32.h: Likewise.
* linux/mips/syscallent-n64.h: Likewise.
* linux/mips/syscallent-o32.h: Likewise.
* linux/powerpc/syscallent.h: Likewise.
* linux/powerpc64/syscallent.h: Likewise.
* linux/s390/syscallent.h: Likewise.
* linux/s390x/syscallent.h: Likewise.
* linux/sh/syscallent.h: Likewise.
* linux/sh64/syscallent.h: Likewise.
* linux/sparc/syscallent.h: Likewise.
* linux/sparc64/syscallent.h: Likewise.
* linux/x32/syscallent.h: Likewise.
* linux/x86_64/syscallent.h: Likewise.
* linux/xtensa/syscallent.h: Likewise.

Signed-off-by: Andrey Zax <andrey.zax at gmail.com>
---
 basic_filters.c                |  1 +
 linux/32/syscallent.h          | 38 +++++++++---------
 linux/64/syscallent.h          | 38 +++++++++---------
 linux/alpha/syscallent.h       | 38 +++++++++---------
 linux/arm/syscallent.h         | 70 +++++++++++++++++-----------------
 linux/avr32/syscallent.h       | 38 +++++++++---------
 linux/bfin/syscallent.h        | 70 +++++++++++++++++-----------------
 linux/hppa/syscallent.h        | 38 +++++++++---------
 linux/i386/syscallent.h        | 70 +++++++++++++++++-----------------
 linux/ia64/syscallent.h        | 38 +++++++++---------
 linux/m68k/syscallent.h        | 70 +++++++++++++++++-----------------
 linux/microblaze/syscallent.h  | 70 +++++++++++++++++-----------------
 linux/mips/syscallent-compat.h | 68 ++++++++++++++++-----------------
 linux/mips/syscallent-n32.h    | 38 +++++++++---------
 linux/mips/syscallent-n64.h    | 38 +++++++++---------
 linux/mips/syscallent-o32.h    | 38 +++++++++---------
 linux/powerpc/syscallent.h     | 38 +++++++++---------
 linux/powerpc64/syscallent.h   | 38 +++++++++---------
 linux/s390/syscallent.h        | 70 +++++++++++++++++-----------------
 linux/s390x/syscallent.h       | 38 +++++++++---------
 linux/sh/syscallent.h          | 70 +++++++++++++++++-----------------
 linux/sh64/syscallent.h        | 70 +++++++++++++++++-----------------
 linux/sparc/syscallent.h       | 62 +++++++++++++++---------------
 linux/sparc64/syscallent.h     | 38 +++++++++---------
 linux/x32/syscallent.h         | 38 +++++++++---------
 linux/x86_64/syscallent.h      | 38 +++++++++---------
 linux/xtensa/syscallent.h      | 38 +++++++++---------
 strace.1.in                    |  3 ++
 sysent.h                       | 43 +++++++++++----------
 sysent_shorthand_defs.h        |  2 +
 30 files changed, 677 insertions(+), 670 deletions(-)

diff --git a/basic_filters.c b/basic_filters.c
index 5f691eae..31390579 100644
--- a/basic_filters.c
+++ b/basic_filters.c
@@ -152,6 +152,7 @@ lookup_class(const char *s)
 		{ "%file",	TRACE_FILE	},
 		{ "%memory",	TRACE_MEMORY	},
 		{ "%process",	TRACE_PROCESS	},
+		{ "%creds",	TRACE_CREDS },
 		{ "%signal",	TRACE_SIGNAL	},
 		{ "%ipc",	TRACE_IPC	},
 		{ "%net",	TRACE_NETWORK	},
diff --git a/linux/32/syscallent.h b/linux/32/syscallent.h
index ce3f3e94..5b2479a5 100644
--- a/linux/32/syscallent.h
+++ b/linux/32/syscallent.h
@@ -102,8 +102,8 @@
 [ 87] = { 2,	TD,		SEN(timerfd_gettime32),		"timerfd_gettime"	},
 [ 88] = { 4,	TD|TF,		SEN(utimensat_time32),		"utimensat"		},
 [ 89] = { 1,	TF,		SEN(acct),			"acct"			},
-[ 90] = { 2,	0,		SEN(capget),			"capget"		},
-[ 91] = { 2,	0,		SEN(capset),			"capset"		},
+[ 90] = { 2,	CD,		SEN(capget),			"capget"		},
+[ 91] = { 2,	CD,		SEN(capset),			"capset"		},
 [ 92] = { 1,	NF,		SEN(personality),		"personality"		},
 [ 93] = { 1,	TP|SE,		SEN(exit),			"exit"			},
 [ 94] = { 1,	TP|SE,		SEN(exit),			"exit_group"		},
@@ -155,23 +155,23 @@
 [140] = { 3,	0,		SEN(setpriority),		"setpriority"		},
 [141] = { 2,	0,		SEN(getpriority),		"getpriority"		},
 [142] = { 4,	0,		SEN(reboot),			"reboot"		},
-[143] = { 2,	0,		SEN(setregid),			"setregid"		},
-[144] = { 1,	0,		SEN(setgid),			"setgid"		},
-[145] = { 2,	0,		SEN(setreuid),			"setreuid"		},
-[146] = { 1,	0,		SEN(setuid),			"setuid"		},
-[147] = { 3,	0,		SEN(setresuid),			"setresuid"		},
-[148] = { 3,	0,		SEN(getresuid),			"getresuid"		},
-[149] = { 3,	0,		SEN(setresgid),			"setresgid"		},
-[150] = { 3,	0,		SEN(getresgid),			"getresgid"		},
-[151] = { 1,	NF,		SEN(setfsuid),			"setfsuid"		},
-[152] = { 1,	NF,		SEN(setfsgid),			"setfsgid"		},
+[143] = { 2,	CD,		SEN(setregid),			"setregid"		},
+[144] = { 1,	CD,		SEN(setgid),			"setgid"		},
+[145] = { 2,	CD,		SEN(setreuid),			"setreuid"		},
+[146] = { 1,	CD,		SEN(setuid),			"setuid"		},
+[147] = { 3,	CD,		SEN(setresuid),			"setresuid"		},
+[148] = { 3,	CD,		SEN(getresuid),			"getresuid"		},
+[149] = { 3,	CD,		SEN(setresgid),			"setresgid"		},
+[150] = { 3,	CD,		SEN(getresgid),			"getresgid"		},
+[151] = { 1,	CD|NF,		SEN(setfsuid),			"setfsuid"		},
+[152] = { 1,	CD|NF,		SEN(setfsgid),			"setfsgid"		},
 [153] = { 1,	0,		SEN(times),			"times"			},
 [154] = { 2,	0,		SEN(setpgid),			"setpgid"		},
 [155] = { 1,	0,		SEN(getpgid),			"getpgid"		},
 [156] = { 1,	0,		SEN(getsid),			"getsid"		},
 [157] = { 0,	0,		SEN(setsid),			"setsid"		},
-[158] = { 2,	0,		SEN(getgroups),			"getgroups"		},
-[159] = { 2,	0,		SEN(setgroups),			"setgroups"		},
+[158] = { 2,	CD,		SEN(getgroups),			"getgroups"		},
+[159] = { 2,	CD,		SEN(setgroups),			"setgroups"		},
 [160] = { 1,	0,		SEN(uname),			"uname"			},
 [161] = { 2,	0,		SEN(sethostname),		"sethostname"		},
 [162] = { 2,	0,		SEN(setdomainname),		"setdomainname"		},
@@ -179,17 +179,17 @@
 [164] = { 2,	0,		SEN(setrlimit),			"setrlimit"		},
 [165] = { 2,	0,		SEN(getrusage),			"getrusage"		},
 [166] = { 1,	NF,		SEN(umask),			"umask"			},
-[167] = { 5,	0,		SEN(prctl),			"prctl"			},
+[167] = { 5,	CD,		SEN(prctl),			"prctl"			},
 [168] = { 3,	0,		SEN(getcpu),			"getcpu"		},
 [169] = { 2,	0,		SEN(gettimeofday),		"gettimeofday"		},
 [170] = { 2,	0,		SEN(settimeofday),		"settimeofday"		},
 [171] = { 1,	0,		SEN(adjtimex32),		"adjtimex"		},
 [172] = { 0,	PU|NF,		SEN(getpid),			"getpid"		},
 [173] = { 0,	PU|NF,		SEN(getppid),			"getppid"		},
-[174] = { 0,	PU|NF,		SEN(getuid),			"getuid"		},
-[175] = { 0,	PU|NF,		SEN(geteuid),			"geteuid"		},
-[176] = { 0,	PU|NF,		SEN(getgid),			"getgid"		},
-[177] = { 0,	PU|NF,		SEN(getegid),			"getegid"		},
+[174] = { 0,	CD|PU|NF,		SEN(getuid),			"getuid"		},
+[175] = { 0,	CD|PU|NF,		SEN(geteuid),			"geteuid"		},
+[176] = { 0,	CD|PU|NF,		SEN(getgid),			"getgid"		},
+[177] = { 0,	CD|PU|NF,		SEN(getegid),			"getegid"		},
 [178] = { 0,	PU|NF,		SEN(gettid),			"gettid"		},
 [179] = { 1,	0,		SEN(sysinfo),			"sysinfo"		},
 [180] = { 4,	TD,		SEN(mq_open),			"mq_open"		},
diff --git a/linux/64/syscallent.h b/linux/64/syscallent.h
index 5e5fea45..8babd367 100644
--- a/linux/64/syscallent.h
+++ b/linux/64/syscallent.h
@@ -95,8 +95,8 @@
 [ 87] = { 2,	TD,		SEN(timerfd_gettime64),		"timerfd_gettime"	},
 [ 88] = { 4,	TD|TF,		SEN(utimensat_time64),		"utimensat"		},
 [ 89] = { 1,	TF,		SEN(acct),			"acct"			},
-[ 90] = { 2,	0,		SEN(capget),			"capget"		},
-[ 91] = { 2,	0,		SEN(capset),			"capset"		},
+[ 90] = { 2,	CD,		SEN(capget),			"capget"		},
+[ 91] = { 2,	CD,		SEN(capset),			"capset"		},
 [ 92] = { 1,	NF,		SEN(personality),		"personality"		},
 [ 93] = { 1,	TP|SE,		SEN(exit),			"exit"			},
 [ 94] = { 1,	TP|SE,		SEN(exit),			"exit_group"		},
@@ -148,23 +148,23 @@
 [140] = { 3,	0,		SEN(setpriority),		"setpriority"		},
 [141] = { 2,	0,		SEN(getpriority),		"getpriority"		},
 [142] = { 4,	0,		SEN(reboot),			"reboot"		},
-[143] = { 2,	0,		SEN(setregid),			"setregid"		},
-[144] = { 1,	0,		SEN(setgid),			"setgid"		},
-[145] = { 2,	0,		SEN(setreuid),			"setreuid"		},
-[146] = { 1,	0,		SEN(setuid),			"setuid"		},
-[147] = { 3,	0,		SEN(setresuid),			"setresuid"		},
-[148] = { 3,	0,		SEN(getresuid),			"getresuid"		},
-[149] = { 3,	0,		SEN(setresgid),			"setresgid"		},
-[150] = { 3,	0,		SEN(getresgid),			"getresgid"		},
-[151] = { 1,	NF,		SEN(setfsuid),			"setfsuid"		},
-[152] = { 1,	NF,		SEN(setfsgid),			"setfsgid"		},
+[143] = { 2,	CD,		SEN(setregid),			"setregid"		},
+[144] = { 1,	CD,		SEN(setgid),			"setgid"		},
+[145] = { 2,	CD,		SEN(setreuid),			"setreuid"		},
+[146] = { 1,	CD,		SEN(setuid),			"setuid"		},
+[147] = { 3,	CD,		SEN(setresuid),			"setresuid"		},
+[148] = { 3,	CD,		SEN(getresuid),			"getresuid"		},
+[149] = { 3,	CD,		SEN(setresgid),			"setresgid"		},
+[150] = { 3,	CD,		SEN(getresgid),			"getresgid"		},
+[151] = { 1,	CD|NF,		SEN(setfsuid),			"setfsuid"		},
+[152] = { 1,	CD|NF,		SEN(setfsgid),			"setfsgid"		},
 [153] = { 1,	0,		SEN(times),			"times"			},
 [154] = { 2,	0,		SEN(setpgid),			"setpgid"		},
 [155] = { 1,	0,		SEN(getpgid),			"getpgid"		},
 [156] = { 1,	0,		SEN(getsid),			"getsid"		},
 [157] = { 0,	0,		SEN(setsid),			"setsid"		},
-[158] = { 2,	0,		SEN(getgroups),			"getgroups"		},
-[159] = { 2,	0,		SEN(setgroups),			"setgroups"		},
+[158] = { 2,	CD,		SEN(getgroups),			"getgroups"		},
+[159] = { 2,	CD,		SEN(setgroups),			"setgroups"		},
 [160] = { 1,	0,		SEN(uname),			"uname"			},
 [161] = { 2,	0,		SEN(sethostname),		"sethostname"		},
 [162] = { 2,	0,		SEN(setdomainname),		"setdomainname"		},
@@ -172,17 +172,17 @@
 [164] = { 2,	0,		SEN(setrlimit),			"setrlimit"		},
 [165] = { 2,	0,		SEN(getrusage),			"getrusage"		},
 [166] = { 1,	NF,		SEN(umask),			"umask"			},
-[167] = { 5,	0,		SEN(prctl),			"prctl"			},
+[167] = { 5,	CD,		SEN(prctl),			"prctl"			},
 [168] = { 3,	0,		SEN(getcpu),			"getcpu"		},
 [169] = { 2,	0,		SEN(gettimeofday),		"gettimeofday"		},
 [170] = { 2,	0,		SEN(settimeofday),		"settimeofday"		},
 [171] = { 1,	0,		SEN(adjtimex64),		"adjtimex"		},
 [172] = { 0,	PU|NF,		SEN(getpid),			"getpid"		},
 [173] = { 0,	PU|NF,		SEN(getppid),			"getppid"		},
-[174] = { 0,	PU|NF,		SEN(getuid),			"getuid"		},
-[175] = { 0,	PU|NF,		SEN(geteuid),			"geteuid"		},
-[176] = { 0,	PU|NF,		SEN(getgid),			"getgid"		},
-[177] = { 0,	PU|NF,		SEN(getegid),			"getegid"		},
+[174] = { 0,	CD|PU|NF,		SEN(getuid),			"getuid"		},
+[175] = { 0,	CD|PU|NF,		SEN(geteuid),			"geteuid"		},
+[176] = { 0,	CD|PU|NF,		SEN(getgid),			"getgid"		},
+[177] = { 0,	CD|PU|NF,		SEN(getegid),			"getegid"		},
 [178] = { 0,	PU|NF,		SEN(gettid),			"gettid"		},
 [179] = { 1,	0,		SEN(sysinfo),			"sysinfo"		},
 [180] = { 4,	TD,		SEN(mq_open),			"mq_open"		},
diff --git a/linux/alpha/syscallent.h b/linux/alpha/syscallent.h
index b4026cc1..a0dabe80 100644
--- a/linux/alpha/syscallent.h
+++ b/linux/alpha/syscallent.h
@@ -30,8 +30,8 @@
 [ 20] = { 0,	PU|NF,		SEN(getxpid),			"getxpid"		},
 [ 21] = { 4,	0,		SEN(printargs),			"osf_mount"		},
 [ 22] = { 2,	TF,		SEN(umount2),			"umount"		},
-[ 23] = { 1,	0,		SEN(setuid),			"setuid"		},
-[ 24] = { 0,	PU|NF,		SEN(getxuid),			"getxuid"		},
+[ 23] = { 1,	CD,		SEN(setuid),			"setuid"		},
+[ 24] = { 0,	CD|PU|NF,		SEN(getxuid),			"getxuid"		},
 [ 25] = { 5,	0,		SEN(printargs),			"exec_with_loader"	}, /* not implemented */
 [ 26] = { 4,	0,		SEN(ptrace),			"ptrace"		},
 [ 27] = { 5,	0,		SEN(printargs),			"osf_nrecvmsg"		}, /* not implemented */
@@ -54,7 +54,7 @@
 [ 44] = { 5,	0,		SEN(printargs),			"osf_profil"		}, /* not implemented */
 [ 45] = { 3,	TD|TF,		SEN(open),			"open"			},
 [ 46] = { 5,	0,		SEN(printargs),			"osf_old_sigaction"	}, /* not implemented */
-[ 47] = { 0,	PU|NF,		SEN(getxgid),			"getxgid"		},
+[ 47] = { 0,	CD|PU|NF,		SEN(getxgid),			"getxgid"		},
 [ 48] = { 2,	TS,		SEN(osf_sigprocmask),		"osf_sigprocmask"	},
 [ 49] = { 5,	0,		SEN(printargs),			"osf_getlogin"		}, /* not implemented */
 [ 50] = { 5,	0,		SEN(printargs),			"osf_setlogin"		}, /* not implemented */
@@ -86,8 +86,8 @@
 [ 76] = { 0,	0,		SEN(vhangup),			"vhangup"		},
 [ 77] = { 5,	0,		SEN(printargs),			"osf_kmodcall"		}, /* not implemented */
 [ 78] = { 5,	TM,		SEN(printargs),			"osf_mincore"		}, /* not implemented */
-[ 79] = { 2,	0,		SEN(getgroups),			"getgroups"		},
-[ 80] = { 2,	0,		SEN(setgroups),			"setgroups"		},
+[ 79] = { 2,	CD,		SEN(getgroups),			"getgroups"		},
+[ 80] = { 2,	CD,		SEN(setgroups),			"setgroups"		},
 [ 81] = { 5,	0,		SEN(printargs),			"osf_old_getpgrp"	}, /* not implemented */
 [ 82] = { 2,	0,		SEN(setpgrp),			"setpgrp"		},
 [ 83] = { 3,	0,		SEN(osf_setitimer),		"osf_setitimer"		},
@@ -133,13 +133,13 @@
 [123] = { 3,	TD,		SEN(fchown),			"fchown"		},
 [124] = { 2,	TD,		SEN(fchmod),			"fchmod"		},
 [125] = { 6,	TN,		SEN(recvfrom),			"recvfrom"		},
-[126] = { 2,	0,		SEN(setreuid),			"setreuid"		},
-[127] = { 2,	0,		SEN(setregid),			"setregid"		},
+[126] = { 2,	CD,		SEN(setreuid),			"setreuid"		},
+[127] = { 2,	CD,		SEN(setregid),			"setregid"		},
 [128] = { 2,	TF,		SEN(rename),			"rename"		},
 [129] = { 2,	TF,		SEN(truncate),			"truncate"		},
 [130] = { 2,	TD,		SEN(ftruncate),			"ftruncate"		},
 [131] = { 2,	TD,		SEN(flock),			"flock"			},
-[132] = { 1,	0,		SEN(setgid),			"setgid"		},
+[132] = { 1,	CD,		SEN(setgid),			"setgid"		},
 [133] = { 6,	TN,		SEN(sendto),			"sendto"		},
 [134] = { 2,	TN,		SEN(shutdown),			"shutdown"		},
 [135] = { 4,	TN,		SEN(socketpair),		"socketpair"		},
@@ -269,8 +269,8 @@
 [322] = { 2,	TF,		SEN(swapon),			"swapon"		},
 [323] = { 1,	0,		SEN(times),			"times"			},
 [324] = { 1,	NF,		SEN(personality),		"personality"		},
-[325] = { 1,	NF,		SEN(setfsuid),			"setfsuid"		},
-[326] = { 1,	NF,		SEN(setfsgid),			"setfsgid"		},
+[325] = { 1,	CD|NF,		SEN(setfsuid),			"setfsuid"		},
+[326] = { 1,	CD|NF,		SEN(setfsgid),			"setfsgid"		},
 [327] = { 2,	TSFA,		SEN(ustat),			"ustat"			},
 [328] = { 2,	TF|TSF|TSFA,	SEN(statfs),			"statfs"		},
 [329] = { 2,	TD|TFSF|TSFA,	SEN(fstatfs),			"fstatfs"		},
@@ -287,12 +287,12 @@
 [340] = { 2,	0,		SEN(nanosleep_time64),		"nanosleep"		},
 [341] = { 5,	TM|SI,		SEN(mremap),			"mremap"		},
 [342] = { 3,	0,		SEN(nfsservctl),		"nfsservctl"		}, /* not implemented */
-[343] = { 3,	0,		SEN(setresuid),			"setresuid"		},
-[344] = { 3,	0,		SEN(getresuid),			"getresuid"		},
+[343] = { 3,	CD,		SEN(setresuid),			"setresuid"		},
+[344] = { 3,	CD,		SEN(getresuid),			"getresuid"		},
 [345] = { 5,	0,		SEN(printargs),			"pciconfig_read"	},
 [346] = { 5,	0,		SEN(printargs),			"pciconfig_write"	},
 [347] = { 5,	0,		SEN(query_module),		"query_module"		}, /* not implemented */
-[348] = { 5,	0,		SEN(prctl),			"prctl"			},
+[348] = { 5,	CD,		SEN(prctl),			"prctl"			},
 [349] = { 4,	TD,		SEN(pread),			"pread64"		},
 [350] = { 4,	TD,		SEN(pwrite),			"pwrite64"		},
 [351] = { 0,	TS,		SEN(rt_sigreturn),		"rt_sigreturn"		},
@@ -312,11 +312,11 @@
 [365] = { 4,	TP,		SEN(wait4),			"wait4"			},
 [366] = { 1,	0,		SEN(adjtimex64),		"adjtimex"		},
 [367] = { 2,	TF,		SEN(getcwd),			"getcwd"		},
-[368] = { 2,	0,		SEN(capget),			"capget"		},
-[369] = { 2,	0,		SEN(capset),			"capset"		},
+[368] = { 2,	CD,		SEN(capget),			"capget"		},
+[369] = { 2,	CD,		SEN(capset),			"capset"		},
 [370] = { 4,	TD|TN,		SEN(sendfile),			"sendfile"		},
-[371] = { 3,	0,		SEN(setresgid),			"setresgid"		},
-[372] = { 3,	0,		SEN(getresgid),			"getresgid"		},
+[371] = { 3,	CD,		SEN(setresgid),			"setresgid"		},
+[372] = { 3,	CD,		SEN(getresgid),			"getresgid"		},
 [373] = { 4,	0,		SEN(printargs),			"dipc"			}, /* not implemented */
 [374] = { 2,	TF,		SEN(pivotroot),			"pivot_root"		},
 [375] = { 3,	TM,		SEN(mincore),			"mincore"		},
@@ -473,8 +473,8 @@
 [527] = { 4,	0,		SEN(rseq),			"rseq"			},
 [528] = { 3,	TF|TSF|TSFA,	SEN(statfs64),			"statfs64"		},
 [529] = { 3,	TD|TFSF|TSFA,	SEN(fstatfs64),			"fstatfs64"		},
-[530] = { 0,	PU|NF,		SEN(getegid),			"getegid"		},
-[531] = { 0,	PU|NF,		SEN(geteuid),			"geteuid"		},
+[530] = { 0,	CD|PU|NF,		SEN(getegid),			"getegid"		},
+[531] = { 0,	CD|PU|NF,		SEN(geteuid),			"geteuid"		},
 [532] = { 0,	PU|NF,		SEN(getppid),			"getppid"		},
 /* all other architectures have common numbers for new syscalls, alpha is the exception */
 /* 534 - 424 == 110 */
diff --git a/linux/arm/syscallent.h b/linux/arm/syscallent.h
index 5c5c1254..058ced45 100644
--- a/linux/arm/syscallent.h
+++ b/linux/arm/syscallent.h
@@ -30,8 +30,8 @@
 [ 20] = { 0,	PU|NF,		SEN(getpid),			"getpid"		},
 [ 21] = { 5,	TF,		SEN(mount),			"mount"			},
 [ 22] = { 1,	TF,		SEN(umount),			"umount"		},
-[ 23] = { 1,	0,		SEN(setuid16),			"setuid"		},
-[ 24] = { 0,	PU|NF,		SEN(getuid16),			"getuid"		},
+[ 23] = { 1,	CD,		SEN(setuid16),			"setuid"		},
+[ 24] = { 0,	CD|PU|NF,		SEN(getuid16),			"getuid"		},
 [ 25] = { 1,	0,		SEN(stime),			"stime"			},
 [ 26] = { 4,	0,		SEN(ptrace),			"ptrace"		},
 [ 27] = { 1,	0,		SEN(alarm),			"alarm"			},
@@ -53,11 +53,11 @@
 [ 43] = { 1,	0,		SEN(times),			"times"			},
 [ 44] = { 0,	0,		SEN(prof),			"prof"			},
 [ 45] = { 1,	TM|SI,		SEN(brk),			"brk"			},
-[ 46] = { 1,	0,		SEN(setgid16),			"setgid"		},
-[ 47] = { 0,	PU|NF,		SEN(getgid16),			"getgid"		},
+[ 46] = { 1,	CD,		SEN(setgid16),			"setgid"		},
+[ 47] = { 0,	CD|PU|NF,		SEN(getgid16),			"getgid"		},
 [ 48] = { 2,	TS,		SEN(signal),			"signal"		},
-[ 49] = { 0,	PU|NF,		SEN(geteuid16),			"geteuid"		},
-[ 50] = { 0,	PU|NF,		SEN(getegid16),			"getegid"		},
+[ 49] = { 0,	CD|PU|NF,		SEN(geteuid16),			"geteuid"		},
+[ 50] = { 0,	CD|PU|NF,		SEN(getegid16),			"getegid"		},
 [ 51] = { 1,	TF,		SEN(acct),			"acct"			},
 [ 52] = { 2,	TF,		SEN(umount2),			"umount2"		},
 [ 53] = { 0,	0,		SEN(lock),			"lock"			},
@@ -77,8 +77,8 @@
 [ 67] = { 3,	TS,		SEN(sigaction),			"sigaction"		},
 [ 68] = { 0,	TS,		SEN(sgetmask),			"sgetmask"		},
 [ 69] = { 1,	TS,		SEN(ssetmask),			"ssetmask"		},
-[ 70] = { 2,	0,		SEN(setreuid16),		"setreuid"		},
-[ 71] = { 2,	0,		SEN(setregid16),		"setregid"		},
+[ 70] = { 2,	CD,		SEN(setreuid16),		"setreuid"		},
+[ 71] = { 2,	CD,		SEN(setregid16),		"setregid"		},
 [ 72] = { 3,	TS,		SEN(sigsuspend),		"sigsuspend"		},
 [ 73] = { 1,	TS,		SEN(sigpending),		"sigpending"		},
 [ 74] = { 2,	0,		SEN(sethostname),		"sethostname"		},
@@ -87,8 +87,8 @@
 [ 77] = { 2,	0,		SEN(getrusage),			"getrusage"		},
 [ 78] = { 2,	0,		SEN(gettimeofday),		"gettimeofday"		},
 [ 79] = { 2,	0,		SEN(settimeofday),		"settimeofday"		},
-[ 80] = { 2,	0,		SEN(getgroups16),		"getgroups"		},
-[ 81] = { 2,	0,		SEN(setgroups16),		"setgroups"		},
+[ 80] = { 2,	CD,		SEN(getgroups16),		"getgroups"		},
+[ 81] = { 2,	CD,		SEN(setgroups16),		"setgroups"		},
 [ 82] = { 1,	TD,		SEN(oldselect),			"select"		},
 [ 83] = { 2,	TF,		SEN(symlink),			"symlink"		},
 [ 84] = { 2,	TF|TLST|TSTA,	SEN(oldlstat),			"oldlstat"		},
@@ -145,8 +145,8 @@
 [135] = { 3,	0,		SEN(sysfs),			"sysfs"			},
 [136] = { 1,	NF,		SEN(personality),		"personality"		},
 [137] = { 5,	0,		SEN(afs_syscall),		"afs_syscall"		},
-[138] = { 1,	NF,		SEN(setfsuid16),		"setfsuid"		},
-[139] = { 1,	NF,		SEN(setfsgid16),		"setfsgid"		},
+[138] = { 1,	CD|NF,		SEN(setfsuid16),		"setfsuid"		},
+[139] = { 1,	CD|NF,		SEN(setfsgid16),		"setfsgid"		},
 [140] = { 5,	TD,		SEN(llseek),			"_llseek"		},
 [141] = { 3,	TD,		SEN(getdents),			"getdents"		},
 [142] = { 5,	TD,		SEN(select),			"_newselect"		},
@@ -171,15 +171,15 @@
 [161] = { 2,	0,		SEN(sched_rr_get_interval_time32),"sched_rr_get_interval"},
 [162] = { 2,	0,		SEN(nanosleep_time32),		"nanosleep"		},
 [163] = { 5,	TM|SI,		SEN(mremap),			"mremap"		},
-[164] = { 3,	0,		SEN(setresuid16),		"setresuid"		},
-[165] = { 3,	0,		SEN(getresuid16),		"getresuid"		},
+[164] = { 3,	CD,		SEN(setresuid16),		"setresuid"		},
+[165] = { 3,	CD,		SEN(getresuid16),		"getresuid"		},
 [166] = { 5,	0,		SEN(vm86),			"vm86"			},
 [167] = { 5,	0,		SEN(query_module),		"query_module"		},
 [168] = { 3,	TD,		SEN(poll_time32),		"poll"			},
 [169] = { 3,	0,		SEN(nfsservctl),		"nfsservctl"		},
-[170] = { 3,	0,		SEN(setresgid16),		"setresgid"		},
-[171] = { 3,	0,		SEN(getresgid16),		"getresgid"		},
-[172] = { 5,	0,		SEN(prctl),			"prctl"			},
+[170] = { 3,	CD,		SEN(setresgid16),		"setresgid"		},
+[171] = { 3,	CD,		SEN(getresgid16),		"getresgid"		},
+[172] = { 5,	CD,		SEN(prctl),			"prctl"			},
 [173] = { 0,	TS,		SEN(rt_sigreturn),		"rt_sigreturn"		},
 [174] = { 4,	TS,		SEN(rt_sigaction),		"rt_sigaction"		},
 [175] = { 4,	TS,		SEN(rt_sigprocmask),		"rt_sigprocmask"	},
@@ -191,8 +191,8 @@
 [181] = { 6,	TD,		SEN(pwrite),			"pwrite64"		},
 [182] = { 3,	TF,		SEN(chown16),			"chown"			},
 [183] = { 2,	TF,		SEN(getcwd),			"getcwd"		},
-[184] = { 2,	0,		SEN(capget),			"capget"		},
-[185] = { 2,	0,		SEN(capset),			"capset"		},
+[184] = { 2,	CD,		SEN(capget),			"capget"		},
+[185] = { 2,	CD,		SEN(capset),			"capset"		},
 [186] = { 2,	TS,		SEN(sigaltstack),		"sigaltstack"		},
 [187] = { 4,	TD|TN,		SEN(sendfile),			"sendfile"		},
 [188] = { 5,	TN,		SEN(getpmsg),			"getpmsg"		},
@@ -206,24 +206,24 @@
 [196] = { 2,	TF|TLST|TSTA,	SEN(lstat64),			"lstat64"		},
 [197] = { 2,	TD|TFST|TSTA,	SEN(fstat64),			"fstat64"		},
 [198] = { 3,	TF,		SEN(chown),			"lchown32"		},
-[199] = { 0,	PU|NF,		SEN(getuid),			"getuid32"		},
-[200] = { 0,	PU|NF,		SEN(getgid),			"getgid32"		},
-[201] = { 0,	PU|NF,		SEN(geteuid),			"geteuid32"		},
-[202] = { 0,	PU|NF,		SEN(geteuid),			"getegid32"		},
-[203] = { 2,	0,		SEN(setreuid),			"setreuid32"		},
-[204] = { 2,	0,		SEN(setregid),			"setregid32"		},
-[205] = { 2,	0,		SEN(getgroups),			"getgroups32"		},
-[206] = { 2,	0,		SEN(setgroups),			"setgroups32"		},
+[199] = { 0,	CD|PU|NF,		SEN(getuid),			"getuid32"		},
+[200] = { 0,	CD|PU|NF,		SEN(getgid),			"getgid32"		},
+[201] = { 0,	CD|PU|NF,		SEN(geteuid),			"geteuid32"		},
+[202] = { 0,	CD|PU|NF,		SEN(geteuid),			"getegid32"		},
+[203] = { 2,	CD,		SEN(setreuid),			"setreuid32"		},
+[204] = { 2,	CD,		SEN(setregid),			"setregid32"		},
+[205] = { 2,	CD,		SEN(getgroups),			"getgroups32"		},
+[206] = { 2,	CD,		SEN(setgroups),			"setgroups32"		},
 [207] = { 3,	TD,		SEN(fchown),			"fchown32"		},
-[208] = { 3,	0,		SEN(setresuid),			"setresuid32"		},
-[209] = { 3,	0,		SEN(getresuid),			"getresuid32"		},
-[210] = { 3,	0,		SEN(setresgid),			"setresgid32"		},
-[211] = { 3,	0,		SEN(getresgid),			"getresgid32"		},
+[208] = { 3,	CD,		SEN(setresuid),			"setresuid32"		},
+[209] = { 3,	CD,		SEN(getresuid),			"getresuid32"		},
+[210] = { 3,	CD,		SEN(setresgid),			"setresgid32"		},
+[211] = { 3,	CD,		SEN(getresgid),			"getresgid32"		},
 [212] = { 3,	TF,		SEN(chown),			"chown32"		},
-[213] = { 1,	0,		SEN(setuid),			"setuid32"		},
-[214] = { 1,	0,		SEN(setgid),			"setgid32"		},
-[215] = { 1,	NF,		SEN(setfsuid),			"setfsuid32"		},
-[216] = { 1,	NF,		SEN(setfsgid),			"setfsgid32"		},
+[213] = { 1,	CD,		SEN(setuid),			"setuid32"		},
+[214] = { 1,	CD,		SEN(setgid),			"setgid32"		},
+[215] = { 1,	CD|NF,		SEN(setfsuid),			"setfsuid32"		},
+[216] = { 1,	CD|NF,		SEN(setfsgid),			"setfsgid32"		},
 [217] = { 3,	TD,		SEN(getdents64),		"getdents64"		},
 [218] = { 2,	TF,		SEN(pivotroot),			"pivot_root"		},
 [219] = { 3,	TM,		SEN(mincore),			"mincore"		},
diff --git a/linux/avr32/syscallent.h b/linux/avr32/syscallent.h
index eb764b20..96eede02 100644
--- a/linux/avr32/syscallent.h
+++ b/linux/avr32/syscallent.h
@@ -29,8 +29,8 @@
 [ 20] = { 0,	PU|NF,		SEN(getpid),			"getpid"		},
 [ 21] = { 5,	TF,		SEN(mount),			"mount"			},
 [ 22] = { 1,	TF,		SEN(umount2),			"umount2"		},
-[ 23] = { 1,	0,		SEN(setuid),			"setuid"		},
-[ 24] = { 0,	PU|NF,		SEN(getuid),			"getuid"		},
+[ 23] = { 1,	CD,		SEN(setuid),			"setuid"		},
+[ 24] = { 0,	CD|PU|NF,		SEN(getuid),			"getuid"		},
 [ 25] = { 1,	0,		SEN(stime),			"stime"			},
 [ 26] = { 4,	0,		SEN(ptrace),			"ptrace"		},
 [ 27] = { 1,	0,		SEN(alarm),			"alarm"			},
@@ -52,22 +52,22 @@
 [ 43] = { 1,	0,		SEN(times),			"times"			},
 [ 44] = { 5,	TP,		SEN(clone),			"clone"			},
 [ 45] = { 1,	TM|SI,		SEN(brk),			"brk"			},
-[ 46] = { 1,	0,		SEN(setgid),			"setgid"		},
-[ 47] = { 0,	PU|NF,		SEN(getgid),			"getgid"		},
+[ 46] = { 1,	CD,		SEN(setgid),			"setgid"		},
+[ 47] = { 0,	CD|PU|NF,		SEN(getgid),			"getgid"		},
 [ 48] = { 2,	TF,		SEN(getcwd),			"getcwd"		},
-[ 49] = { 0,	PU|NF,		SEN(geteuid),			"geteuid"		},
-[ 50] = { 0,	PU|NF,		SEN(getegid),			"getegid"		},
+[ 49] = { 0,	CD|PU|NF,		SEN(geteuid),			"geteuid"		},
+[ 50] = { 0,	CD|PU|NF,		SEN(getegid),			"getegid"		},
 [ 51] = { 1,	TF,		SEN(acct),			"acct"			},
-[ 52] = { 1,	NF,		SEN(setfsuid),			"setfsuid"		},
-[ 53] = { 1,	NF,		SEN(setfsgid),			"setfsgid"		},
+[ 52] = { 1,	CD|NF,		SEN(setfsuid),			"setfsuid"		},
+[ 53] = { 1,	CD|NF,		SEN(setfsgid),			"setfsgid"		},
 [ 54] = { 3,	TD,		SEN(ioctl),			"ioctl"			},
 [ 55] = { 3,	TD,		SEN(fcntl),			"fcntl"			},
 [ 56] = { 2,	0,		SEN(setpgid),			"setpgid"		},
 [ 57] = { 5,	TM|SI,		SEN(mremap),			"mremap"		},
-[ 58] = { 3,	0,		SEN(setresuid),			"setresuid"		},
-[ 59] = { 3,	0,		SEN(getresuid),			"getresuid"		},
-[ 60] = { 2,	0,		SEN(setreuid),			"setreuid"		},
-[ 61] = { 2,	0,		SEN(setregid),			"setregid"		},
+[ 58] = { 3,	CD,		SEN(setresuid),			"setresuid"		},
+[ 59] = { 3,	CD,		SEN(getresuid),			"getresuid"		},
+[ 60] = { 2,	CD,		SEN(setreuid),			"setreuid"		},
+[ 61] = { 2,	CD,		SEN(setregid),			"setregid"		},
 [ 62] = { 2,	TSFA,		SEN(ustat),			"ustat"			},
 [ 63] = { 2,	TD,		SEN(dup2),			"dup2"			},
 [ 64] = { 0,	PU|NF,		SEN(getppid),			"getppid"		},
@@ -86,8 +86,8 @@
 [ 77] = { 2,	0,		SEN(getrusage),			"getrusage"		},
 [ 78] = { 2,	0,		SEN(gettimeofday),		"gettimeofday"		},
 [ 79] = { 2,	0,		SEN(settimeofday),		"settimeofday"		},
-[ 80] = { 2,	0,		SEN(getgroups),			"getgroups"		},
-[ 81] = { 2,	0,		SEN(setgroups),			"setgroups"		},
+[ 80] = { 2,	CD,		SEN(getgroups),			"getgroups"		},
+[ 81] = { 2,	CD,		SEN(setgroups),			"setgroups"		},
 [ 82] = { 5,	TD,		SEN(select),			"select"		},
 [ 83] = { 2,	TF,		SEN(symlink),			"symlink"		},
 [ 84] = { 1,	TD,		SEN(fchdir),			"fchdir"		},
@@ -152,9 +152,9 @@
 [143] = { 2,	0,		SEN(nanosleep_time32),		"nanosleep"		},
 [144] = { 3,	TD,		SEN(poll_time32),		"poll"			},
 [145] = { 3,	0,		SEN(nfsservctl),		"nfsservctl"		},
-[146] = { 3,	0,		SEN(setresgid),			"setresgid"		},
-[147] = { 3,	0,		SEN(getresgid),			"getresgid"		},
-[148] = { 5,	0,		SEN(prctl),			"prctl"			},
+[146] = { 3,	CD,		SEN(setresgid),			"setresgid"		},
+[147] = { 3,	CD,		SEN(getresgid),			"getresgid"		},
+[148] = { 5,	CD,		SEN(prctl),			"prctl"			},
 [149] = { 3,	TN,		SEN(socket),			"socket"		},
 [150] = { 3,	TN,		SEN(bind),			"bind"			},
 [151] = { 3,	TN,		SEN(connect),			"connect"		},
@@ -201,8 +201,8 @@
 [192] = { 6,	0,		SEN(futex_time32),		"futex"			},
 [193] = { 3,	0,		SEN(sched_setaffinity),		"sched_setaffinity"	},
 [194] = { 3,	0,		SEN(sched_getaffinity),		"sched_getaffinity"	},
-[195] = { 2,	0,		SEN(capget),			"capget"		},
-[196] = { 2,	0,		SEN(capset),			"capset"		},
+[195] = { 2,	CD,		SEN(capget),			"capget"		},
+[196] = { 2,	CD,		SEN(capset),			"capset"		},
 [197] = { 2,	TM,		SEN(io_setup),			"io_setup"		},
 [198] = { 1,	TM,		SEN(io_destroy),		"io_destroy"		},
 [199] = { 5,	0,		SEN(io_getevents_time32),	"io_getevents"		},
diff --git a/linux/bfin/syscallent.h b/linux/bfin/syscallent.h
index aabdb974..f46ae092 100644
--- a/linux/bfin/syscallent.h
+++ b/linux/bfin/syscallent.h
@@ -30,8 +30,8 @@
 [ 20] = { 0,	PU|NF,		SEN(getpid),			"getpid"		},
 [ 21] = { 5,	TF,		SEN(mount),			"mount"			},
 [ 22] = { 1,	TF,		SEN(umount),			"umount"		},
-[ 23] = { 1,	0,		SEN(setuid16),			"setuid"		},
-[ 24] = { 0,	PU|NF,		SEN(getuid16),			"getuid"		},
+[ 23] = { 1,	CD,		SEN(setuid16),			"setuid"		},
+[ 24] = { 0,	CD|PU|NF,		SEN(getuid16),			"getuid"		},
 [ 25] = { 1,	0,		SEN(stime),			"stime"			},
 [ 26] = { 4,	0,		SEN(ptrace),			"ptrace"		},
 [ 27] = { 1,	0,		SEN(alarm),			"alarm"			},
@@ -53,11 +53,11 @@
 [ 43] = { 1,	0,		SEN(times),			"times"			},
 [ 44] = { 0,	0,		SEN(prof),			"prof"			},
 [ 45] = { 1,	TM|SI,		SEN(brk),			"brk"			},
-[ 46] = { 1,	0,		SEN(setgid16),			"setgid"		},
-[ 47] = { 0,	PU|NF,		SEN(getgid16),			"getgid"		},
+[ 46] = { 1,	CD,		SEN(setgid16),			"setgid"		},
+[ 47] = { 0,	CD|PU|NF,		SEN(getgid16),			"getgid"		},
 [ 48] = { 2,	TS,		SEN(signal),			"signal"		},
-[ 49] = { 0,	PU|NF,		SEN(geteuid16),			"geteuid"		},
-[ 50] = { 0,	PU|NF,		SEN(getegid16),			"getegid"		},
+[ 49] = { 0,	CD|PU|NF,		SEN(geteuid16),			"geteuid"		},
+[ 50] = { 0,	CD|PU|NF,		SEN(getegid16),			"getegid"		},
 [ 51] = { 1,	TF,		SEN(acct),			"acct"			},
 [ 52] = { 2,	TF,		SEN(umount2),			"umount2"		},
 [ 53] = { 0,	0,		SEN(lock),			"lock"			},
@@ -77,8 +77,8 @@
 [ 67] = { 3,	TS,		SEN(sigaction),			"sigaction"		},
 [ 68] = { 0,	TS,		SEN(sgetmask),			"sgetmask"		},
 [ 69] = { 1,	TS,		SEN(ssetmask),			"ssetmask"		},
-[ 70] = { 2,	0,		SEN(setreuid16),		"setreuid"		},
-[ 71] = { 2,	0,		SEN(setregid16),		"setregid"		},
+[ 70] = { 2,	CD,		SEN(setreuid16),		"setreuid"		},
+[ 71] = { 2,	CD,		SEN(setregid16),		"setregid"		},
 [ 72] = { 3,	TS,		SEN(sigsuspend),		"sigsuspend"		},
 [ 73] = { 1,	TS,		SEN(sigpending),		"sigpending"		},
 [ 74] = { 2,	0,		SEN(sethostname),		"sethostname"		},
@@ -87,8 +87,8 @@
 [ 77] = { 2,	0,		SEN(getrusage),			"getrusage"		},
 [ 78] = { 2,	0,		SEN(gettimeofday),		"gettimeofday"		},
 [ 79] = { 2,	0,		SEN(settimeofday),		"settimeofday"		},
-[ 80] = { 2,	0,		SEN(getgroups16),		"getgroups"		},
-[ 81] = { 2,	0,		SEN(setgroups16),		"setgroups"		},
+[ 80] = { 2,	CD,		SEN(getgroups16),		"getgroups"		},
+[ 81] = { 2,	CD,		SEN(setgroups16),		"setgroups"		},
 [ 82] = { 1,	TD,		SEN(oldselect),			"select"		},
 [ 83] = { 2,	TF,		SEN(symlink),			"symlink"		},
 [ 84] = { 2,	TF|TLST|TSTA,	SEN(oldlstat),			"oldlstat"		},
@@ -145,8 +145,8 @@
 [135] = { 3,	0,		SEN(sysfs),			"sysfs"			},
 [136] = { 1,	NF,		SEN(personality),		"personality"		},
 [137] = { 5,	0,		SEN(afs_syscall),		"afs_syscall"		},
-[138] = { 1,	NF,		SEN(setfsuid16),		"setfsuid"		},
-[139] = { 1,	NF,		SEN(setfsgid16),		"setfsgid"		},
+[138] = { 1,	CD|NF,		SEN(setfsuid16),		"setfsuid"		},
+[139] = { 1,	CD|NF,		SEN(setfsgid16),		"setfsgid"		},
 [140] = { 5,	TD,		SEN(llseek),			"_llseek"		},
 [141] = { 3,	TD,		SEN(getdents),			"getdents"		},
 [142] = { 5,	TD,		SEN(select),			"_newselect"		},
@@ -171,15 +171,15 @@
 [161] = { 2,	0,		SEN(sched_rr_get_interval_time32),"sched_rr_get_interval"},
 [162] = { 2,	0,		SEN(nanosleep_time32),		"nanosleep"		},
 [163] = { 5,	TM|SI,		SEN(mremap),			"mremap"		},
-[164] = { 3,	0,		SEN(setresuid16),		"setresuid"		},
-[165] = { 3,	0,		SEN(getresuid16),		"getresuid"		},
+[164] = { 3,	CD,		SEN(setresuid16),		"setresuid"		},
+[165] = { 3,	CD,		SEN(getresuid16),		"getresuid"		},
 [166] = { 5,	0,		SEN(vm86),			"vm86"			},
 [167] = { 5,	0,		SEN(query_module),		"query_module"		},
 [168] = { 3,	TD,		SEN(poll_time32),		"poll"			},
 [169] = { 3,	0,		SEN(nfsservctl),		"nfsservctl"		},
-[170] = { 3,	0,		SEN(setresgid16),		"setresgid"		},
-[171] = { 3,	0,		SEN(getresgid16),		"getresgid"		},
-[172] = { 5,	0,		SEN(prctl),			"prctl"			},
+[170] = { 3,	CD,		SEN(setresgid16),		"setresgid"		},
+[171] = { 3,	CD,		SEN(getresgid16),		"getresgid"		},
+[172] = { 5,	CD,		SEN(prctl),			"prctl"			},
 [173] = { 0,	TS,		SEN(rt_sigreturn),		"rt_sigreturn"		},
 [174] = { 4,	TS,		SEN(rt_sigaction),		"rt_sigaction"		},
 [175] = { 4,	TS,		SEN(rt_sigprocmask),		"rt_sigprocmask"	},
@@ -191,8 +191,8 @@
 [181] = { 5,	TD,		SEN(pwrite),			"pwrite"		},
 [182] = { 3,	TF,		SEN(chown16),			"lchown"		},
 [183] = { 2,	TF,		SEN(getcwd),			"getcwd"		},
-[184] = { 2,	0,		SEN(capget),			"capget"		},
-[185] = { 2,	0,		SEN(capset),			"capset"		},
+[184] = { 2,	CD,		SEN(capget),			"capget"		},
+[185] = { 2,	CD,		SEN(capset),			"capset"		},
 [186] = { 2,	TS,		SEN(sigaltstack),		"sigaltstack"		},
 [187] = { 4,	TD|TN,		SEN(sendfile),			"sendfile"		},
 [188] = { 5,	TN,		SEN(getpmsg),			"getpmsg"		},
@@ -206,24 +206,24 @@
 [196] = { 2,	TF|TLST|TSTA,	SEN(lstat64),			"lstat64"		},
 [197] = { 2,	TD|TFST|TSTA,	SEN(fstat64),			"fstat64"		},
 [198] = { 3,	TF,		SEN(chown),			"chown32"		},
-[199] = { 0,	PU|NF,		SEN(getuid),			"getuid32"		},
-[200] = { 0,	PU|NF,		SEN(getgid),			"getgid32"		},
-[201] = { 0,	PU|NF,		SEN(geteuid),			"geteuid32"		},
-[202] = { 0,	PU|NF,		SEN(geteuid),			"getegid32"		},
-[203] = { 2,	0,		SEN(setreuid),			"setreuid32"		},
-[204] = { 2,	0,		SEN(setregid),			"setregid32"		},
-[205] = { 2,	0,		SEN(getgroups),			"getgroups32"		},
-[206] = { 2,	0,		SEN(setgroups),			"setgroups32"		},
+[199] = { 0,	CD|PU|NF,		SEN(getuid),			"getuid32"		},
+[200] = { 0,	CD|PU|NF,		SEN(getgid),			"getgid32"		},
+[201] = { 0,	CD|PU|NF,		SEN(geteuid),			"geteuid32"		},
+[202] = { 0,	CD|PU|NF,		SEN(geteuid),			"getegid32"		},
+[203] = { 2,	CD,		SEN(setreuid),			"setreuid32"		},
+[204] = { 2,	CD,		SEN(setregid),			"setregid32"		},
+[205] = { 2,	CD,		SEN(getgroups),			"getgroups32"		},
+[206] = { 2,	CD,		SEN(setgroups),			"setgroups32"		},
 [207] = { 3,	TD,		SEN(fchown),			"fchown32"		},
-[208] = { 3,	0,		SEN(setresuid),			"setresuid32"		},
-[209] = { 3,	0,		SEN(getresuid),			"getresuid32"		},
-[210] = { 3,	0,		SEN(setresgid),			"setresgid32"		},
-[211] = { 3,	0,		SEN(getresgid),			"getresgid32"		},
+[208] = { 3,	CD,		SEN(setresuid),			"setresuid32"		},
+[209] = { 3,	CD,		SEN(getresuid),			"getresuid32"		},
+[210] = { 3,	CD,		SEN(setresgid),			"setresgid32"		},
+[211] = { 3,	CD,		SEN(getresgid),			"getresgid32"		},
 [212] = { 3,	TF,		SEN(chown),			"lchown32"		},
-[213] = { 1,	0,		SEN(setuid),			"setuid32"		},
-[214] = { 1,	0,		SEN(setgid),			"setgid32"		},
-[215] = { 1,	NF,		SEN(setfsuid),			"setfsuid32"		},
-[216] = { 1,	NF,		SEN(setfsgid),			"setfsgid32"		},
+[213] = { 1,	CD,		SEN(setuid),			"setuid32"		},
+[214] = { 1,	CD,		SEN(setgid),			"setgid32"		},
+[215] = { 1,	CD|NF,		SEN(setfsuid),			"setfsuid32"		},
+[216] = { 1,	CD|NF,		SEN(setfsgid),			"setfsgid32"		},
 [217] = { 2,	TF,		SEN(pivotroot),			"pivot_root"		},
 [218] = { 3,	TM,		SEN(mincore),			"mincore"		},
 [219] = { 3,	TM,		SEN(madvise),			"madvise"		},
diff --git a/linux/hppa/syscallent.h b/linux/hppa/syscallent.h
index 7227acfd..0d71146e 100644
--- a/linux/hppa/syscallent.h
+++ b/linux/hppa/syscallent.h
@@ -26,8 +26,8 @@
 [ 20] = { 0,	PU|NF,		SEN(getpid),			"getpid"		},
 [ 21] = { 5,	TF,		SEN(mount),			"mount"			},
 [ 22] = { 3,	TN,		SEN(bind),			"bind"			},
-[ 23] = { 1,	0,		SEN(setuid),			"setuid"		},
-[ 24] = { 0,	PU|NF,		SEN(getuid),			"getuid"		},
+[ 23] = { 1,	CD,		SEN(setuid),			"setuid"		},
+[ 24] = { 0,	CD|PU|NF,		SEN(getuid),			"getuid"		},
 [ 25] = { 1,	0,		SEN(stime),			"stime"			},
 [ 26] = { 4,	0,		SEN(ptrace),			"ptrace"		},
 [ 27] = { 1,	0,		SEN(alarm),			"alarm"			},
@@ -49,11 +49,11 @@
 [ 43] = { 1,	0,		SEN(times),			"times"			},
 [ 44] = { 3,	TN,		SEN(getsockname),		"getsockname"		},
 [ 45] = { 1,	TM|SI,		SEN(brk),			"brk"			},
-[ 46] = { 1,	0,		SEN(setgid),			"setgid"		},
-[ 47] = { 0,	PU|NF,		SEN(getgid),			"getgid"		},
+[ 46] = { 1,	CD,		SEN(setgid),			"setgid"		},
+[ 47] = { 0,	CD|PU|NF,		SEN(getgid),			"getgid"		},
 [ 48] = { 2,	TS,		SEN(signal),			"signal"		},
-[ 49] = { 0,	PU|NF,		SEN(geteuid),			"geteuid"		},
-[ 50] = { 0,	PU|NF,		SEN(getegid),			"getegid"		},
+[ 49] = { 0,	CD|PU|NF,		SEN(geteuid),			"geteuid"		},
+[ 50] = { 0,	CD|PU|NF,		SEN(getegid),			"getegid"		},
 [ 51] = { 1,	TF,		SEN(acct),			"acct"			},
 [ 52] = { 2,	TF,		SEN(umount2),			"umount2"		},
 [ 53] = { 3,	TN,		SEN(getpeername),		"getpeername"		},
@@ -73,8 +73,8 @@
 [ 67] = { 2,	TF,		SEN(pivotroot),			"pivot_root"		},
 [ 68] = { 0,	TS,		SEN(sgetmask),			"sgetmask"		},
 [ 69] = { 1,	TS,		SEN(ssetmask),			"ssetmask"		},
-[ 70] = { 2,	0,		SEN(setreuid),			"setreuid"		},
-[ 71] = { 2,	0,		SEN(setregid),			"setregid"		},
+[ 70] = { 2,	CD,		SEN(setreuid),			"setreuid"		},
+[ 71] = { 2,	CD,		SEN(setregid),			"setregid"		},
 [ 72] = { 3,	TM,		SEN(mincore),			"mincore"		},
 [ 73] = { 1,	TS,		SEN(sigpending),		"sigpending"		},
 [ 74] = { 2,	0,		SEN(sethostname),		"sethostname"		},
@@ -83,8 +83,8 @@
 [ 77] = { 2,	0,		SEN(getrusage),			"getrusage"		},
 [ 78] = { 2,	0,		SEN(gettimeofday),		"gettimeofday"		},
 [ 79] = { 2,	0,		SEN(settimeofday),		"settimeofday"		},
-[ 80] = { 2,	0,		SEN(getgroups),			"getgroups"		},
-[ 81] = { 2,	0,		SEN(setgroups),			"setgroups"		},
+[ 80] = { 2,	CD,		SEN(getgroups),			"getgroups"		},
+[ 81] = { 2,	CD,		SEN(setgroups),			"setgroups"		},
 [ 82] = { 6,	TN,		SEN(sendto),			"sendto"		},
 [ 83] = { 2,	TF,		SEN(symlink),			"symlink"		},
 [ 84] = { 2,	TF|TLST|TSTA,	SEN(lstat),			"lstat"			},
@@ -109,8 +109,8 @@
 [103] = { 3,	0,		SEN(syslog),			"syslog"		},
 [104] = { 3,	0,		SEN(setitimer),			"setitimer"		},
 [105] = { 2,	0,		SEN(getitimer),			"getitimer"		},
-[106] = { 2,	0,		SEN(capget),			"capget"		},
-[107] = { 2,	0,		SEN(capset),			"capset"		},
+[106] = { 2,	CD,		SEN(capget),			"capget"		},
+[107] = { 2,	CD,		SEN(capset),			"capset"		},
 [108] = { 5,	TD,		SEN(pread),			"pread64"		},
 [109] = { 5,	TD,		SEN(pwrite),			"pwrite64"		},
 [110] = { 2,	TF,		SEN(getcwd),			"getcwd"		},
@@ -141,8 +141,8 @@
 [135] = { 3,	0,		SEN(sysfs),			"sysfs"			},
 [136] = { 1,	NF,		SEN(personality),		"personality"		},
 [137] = { 5,	0,		SEN(afs_syscall),		"afs_syscall"		},
-[138] = { 1,	NF,		SEN(setfsuid),			"setfsuid"		},
-[139] = { 1,	NF,		SEN(setfsgid),			"setfsgid"		},
+[138] = { 1,	CD|NF,		SEN(setfsuid),			"setfsuid"		},
+[139] = { 1,	CD|NF,		SEN(setfsgid),			"setfsgid"		},
 [140] = { 5,	TD,		SEN(llseek),			"_llseek"		},
 [141] = { 3,	TD,		SEN(getdents),			"getdents"		},
 [142] = { 5,	TD,		SEN(select),			"_newselect"		},
@@ -167,15 +167,15 @@
 [161] = { 2,	0,		SEN(sched_rr_get_interval_time32),"sched_rr_get_interval"},
 [162] = { 2,	0,		SEN(nanosleep_time32),		"nanosleep"		},
 [163] = { 5,	TM|SI,		SEN(mremap),			"mremap"		},
-[164] = { 3,	0,		SEN(setresuid),			"setresuid"		},
-[165] = { 3,	0,		SEN(getresuid),			"getresuid"		},
+[164] = { 3,	CD,		SEN(setresuid),			"setresuid"		},
+[165] = { 3,	CD,		SEN(getresuid),			"getresuid"		},
 [166] = { 2,	TS,		SEN(sigaltstack),		"sigaltstack"		},
 [167] = { 5,	0,		SEN(query_module),		"query_module"		},
 [168] = { 3,	TD,		SEN(poll_time32),		"poll"			},
 [169] = { 3,	0,		SEN(nfsservctl),		"nfsservctl"		},
-[170] = { 3,	0,		SEN(setresgid),			"setresgid"		},
-[171] = { 3,	0,		SEN(getresgid),			"getresgid"		},
-[172] = { 5,	0,		SEN(prctl),			"prctl"			},
+[170] = { 3,	CD,		SEN(setresgid),			"setresgid"		},
+[171] = { 3,	CD,		SEN(getresgid),			"getresgid"		},
+[172] = { 5,	CD,		SEN(prctl),			"prctl"			},
 [173] = { 0,	TS,		SEN(rt_sigreturn),		"rt_sigreturn"		},
 [174] = { 4,	TS,		SEN(rt_sigaction),		"rt_sigaction"		},
 [175] = { 4,	TS,		SEN(rt_sigprocmask),		"rt_sigprocmask"	},
diff --git a/linux/i386/syscallent.h b/linux/i386/syscallent.h
index e2a62985..e4c81064 100644
--- a/linux/i386/syscallent.h
+++ b/linux/i386/syscallent.h
@@ -30,8 +30,8 @@
 [ 20] = { 0,	PU|NF,		SEN(getpid),			"getpid"		},
 [ 21] = { 5,	TF,		SEN(mount),			"mount"			},
 [ 22] = { 1,	TF,		SEN(umount),			"umount"		},
-[ 23] = { 1,	0,		SEN(setuid16),			"setuid"		},
-[ 24] = { 0,	PU|NF,		SEN(getuid16),			"getuid"		},
+[ 23] = { 1,	CD,		SEN(setuid16),			"setuid"		},
+[ 24] = { 0,	CD|PU|NF,		SEN(getuid16),			"getuid"		},
 [ 25] = { 1,	0,		SEN(stime),			"stime"			},
 [ 26] = { 4,	0,		SEN(ptrace),			"ptrace"		},
 [ 27] = { 1,	0,		SEN(alarm),			"alarm"			},
@@ -53,11 +53,11 @@
 [ 43] = { 1,	0,		SEN(times),			"times"			},
 [ 44] = { 0,	0,		SEN(prof),			"prof"			},
 [ 45] = { 1,	TM|SI,		SEN(brk),			"brk"			},
-[ 46] = { 1,	0,		SEN(setgid16),			"setgid"		},
-[ 47] = { 0,	PU|NF,		SEN(getgid16),			"getgid"		},
+[ 46] = { 1,	CD,		SEN(setgid16),			"setgid"		},
+[ 47] = { 0,	CD|PU|NF,		SEN(getgid16),			"getgid"		},
 [ 48] = { 2,	TS,		SEN(signal),			"signal"		},
-[ 49] = { 0,	PU|NF,		SEN(geteuid16),			"geteuid"		},
-[ 50] = { 0,	PU|NF,		SEN(getegid16),			"getegid"		},
+[ 49] = { 0,	CD|PU|NF,		SEN(geteuid16),			"geteuid"		},
+[ 50] = { 0,	CD|PU|NF,		SEN(getegid16),			"getegid"		},
 [ 51] = { 1,	TF,		SEN(acct),			"acct"			},
 [ 52] = { 2,	TF,		SEN(umount2),			"umount2"		},
 [ 53] = { 0,	0,		SEN(lock),			"lock"			},
@@ -77,8 +77,8 @@
 [ 67] = { 3,	TS,		SEN(sigaction),			"sigaction"		},
 [ 68] = { 0,	TS,		SEN(sgetmask),			"sgetmask"		},
 [ 69] = { 1,	TS,		SEN(ssetmask),			"ssetmask"		},
-[ 70] = { 2,	0,		SEN(setreuid16),		"setreuid"		},
-[ 71] = { 2,	0,		SEN(setregid16),		"setregid"		},
+[ 70] = { 2,	CD,		SEN(setreuid16),		"setreuid"		},
+[ 71] = { 2,	CD,		SEN(setregid16),		"setregid"		},
 [ 72] = { 3,	TS,		SEN(sigsuspend),		"sigsuspend"		},
 [ 73] = { 1,	TS,		SEN(sigpending),		"sigpending"		},
 [ 74] = { 2,	0,		SEN(sethostname),		"sethostname"		},
@@ -87,8 +87,8 @@
 [ 77] = { 2,	0,		SEN(getrusage),			"getrusage"		},
 [ 78] = { 2,	0,		SEN(gettimeofday),		"gettimeofday"		},
 [ 79] = { 2,	0,		SEN(settimeofday),		"settimeofday"		},
-[ 80] = { 2,	0,		SEN(getgroups16),		"getgroups"		},
-[ 81] = { 2,	0,		SEN(setgroups16),		"setgroups"		},
+[ 80] = { 2,	CD,		SEN(getgroups16),		"getgroups"		},
+[ 81] = { 2,	CD,		SEN(setgroups16),		"setgroups"		},
 [ 82] = { 1,	TD,		SEN(oldselect),			"select"		},
 [ 83] = { 2,	TF,		SEN(symlink),			"symlink"		},
 [ 84] = { 2,	TF|TLST|TSTA,	SEN(oldlstat),			"oldlstat"		},
@@ -145,8 +145,8 @@
 [135] = { 3,	0,		SEN(sysfs),			"sysfs"			},
 [136] = { 1,	NF,		SEN(personality),		"personality"		},
 [137] = { 5,	0,		SEN(afs_syscall),		"afs_syscall"		},
-[138] = { 1,	NF,		SEN(setfsuid16),		"setfsuid"		},
-[139] = { 1,	NF,		SEN(setfsgid16),		"setfsgid"		},
+[138] = { 1,	CD|NF,		SEN(setfsuid16),		"setfsuid"		},
+[139] = { 1,	CD|NF,		SEN(setfsgid16),		"setfsgid"		},
 [140] = { 5,	TD,		SEN(llseek),			"_llseek"		},
 [141] = { 3,	TD,		SEN(getdents),			"getdents"		},
 [142] = { 5,	TD,		SEN(select),			"_newselect"		},
@@ -171,15 +171,15 @@
 [161] = { 2,	0,		SEN(sched_rr_get_interval_time32),"sched_rr_get_interval"},
 [162] = { 2,	0,		SEN(nanosleep_time32),		"nanosleep"		},
 [163] = { 5,	TM|SI,		SEN(mremap),			"mremap"		},
-[164] = { 3,	0,		SEN(setresuid16),		"setresuid"		},
-[165] = { 3,	0,		SEN(getresuid16),		"getresuid"		},
+[164] = { 3,	CD,		SEN(setresuid16),		"setresuid"		},
+[165] = { 3,	CD,		SEN(getresuid16),		"getresuid"		},
 [166] = { 5,	0,		SEN(vm86),			"vm86"			},
 [167] = { 5,	0,		SEN(query_module),		"query_module"		},
 [168] = { 3,	TD,		SEN(poll_time32),		"poll"			},
 [169] = { 3,	0,		SEN(nfsservctl),		"nfsservctl"		},
-[170] = { 3,	0,		SEN(setresgid16),		"setresgid"		},
-[171] = { 3,	0,		SEN(getresgid16),		"getresgid"		},
-[172] = { 5,	0,		SEN(prctl),			"prctl"			},
+[170] = { 3,	CD,		SEN(setresgid16),		"setresgid"		},
+[171] = { 3,	CD,		SEN(getresgid16),		"getresgid"		},
+[172] = { 5,	CD,		SEN(prctl),			"prctl"			},
 [173] = { 0,	TS,		SEN(rt_sigreturn),		"rt_sigreturn"		},
 [174] = { 4,	TS,		SEN(rt_sigaction),		"rt_sigaction"		},
 [175] = { 4,	TS,		SEN(rt_sigprocmask),		"rt_sigprocmask"	},
@@ -191,8 +191,8 @@
 [181] = { 5,	TD,		SEN(pwrite),			"pwrite64"		},
 [182] = { 3,	TF,		SEN(chown16),			"chown"			},
 [183] = { 2,	TF,		SEN(getcwd),			"getcwd"		},
-[184] = { 2,	0,		SEN(capget),			"capget"		},
-[185] = { 2,	0,		SEN(capset),			"capset"		},
+[184] = { 2,	CD,		SEN(capget),			"capget"		},
+[185] = { 2,	CD,		SEN(capset),			"capset"		},
 [186] = { 2,	TS,		SEN(sigaltstack),		"sigaltstack"		},
 [187] = { 4,	TD|TN,		SEN(sendfile),			"sendfile"		},
 [188] = { 5,	TN,		SEN(getpmsg),			"getpmsg"		},
@@ -206,24 +206,24 @@
 [196] = { 2,	TF|TLST|TSTA,	SEN(lstat64),			"lstat64"		},
 [197] = { 2,	TD|TFST|TSTA,	SEN(fstat64),			"fstat64"		},
 [198] = { 3,	TF,		SEN(chown),			"lchown32"		},
-[199] = { 0,	PU|NF,		SEN(getuid),			"getuid32"		},
-[200] = { 0,	PU|NF,		SEN(getgid),			"getgid32"		},
-[201] = { 0,	PU|NF,		SEN(geteuid),			"geteuid32"		},
-[202] = { 0,	PU|NF,		SEN(getegid),			"getegid32"		},
-[203] = { 2,	0,		SEN(setreuid),			"setreuid32"		},
-[204] = { 2,	0,		SEN(setregid),			"setregid32"		},
-[205] = { 2,	0,		SEN(getgroups),			"getgroups32"		},
-[206] = { 2,	0,		SEN(setgroups),			"setgroups32"		},
+[199] = { 0,	CD|PU|NF,		SEN(getuid),			"getuid32"		},
+[200] = { 0,	CD|PU|NF,		SEN(getgid),			"getgid32"		},
+[201] = { 0,	CD|PU|NF,		SEN(geteuid),			"geteuid32"		},
+[202] = { 0,	CD|PU|NF,		SEN(getegid),			"getegid32"		},
+[203] = { 2,	CD,		SEN(setreuid),			"setreuid32"		},
+[204] = { 2,	CD,		SEN(setregid),			"setregid32"		},
+[205] = { 2,	CD,		SEN(getgroups),			"getgroups32"		},
+[206] = { 2,	CD,		SEN(setgroups),			"setgroups32"		},
 [207] = { 3,	TD,		SEN(fchown),			"fchown32"		},
-[208] = { 3,	0,		SEN(setresuid),			"setresuid32"		},
-[209] = { 3,	0,		SEN(getresuid),			"getresuid32"		},
-[210] = { 3,	0,		SEN(setresgid),			"setresgid32"		},
-[211] = { 3,	0,		SEN(getresgid),			"getresgid32"		},
+[208] = { 3,	CD,		SEN(setresuid),			"setresuid32"		},
+[209] = { 3,	CD,		SEN(getresuid),			"getresuid32"		},
+[210] = { 3,	CD,		SEN(setresgid),			"setresgid32"		},
+[211] = { 3,	CD,		SEN(getresgid),			"getresgid32"		},
 [212] = { 3,	TF,		SEN(chown),			"chown32"		},
-[213] = { 1,	0,		SEN(setuid),			"setuid32"		},
-[214] = { 1,	0,		SEN(setgid),			"setgid32"		},
-[215] = { 1,	NF,		SEN(setfsuid),			"setfsuid32"		},
-[216] = { 1,	NF,		SEN(setfsgid),			"setfsgid32"		},
+[213] = { 1,	CD,		SEN(setuid),			"setuid32"		},
+[214] = { 1,	CD,		SEN(setgid),			"setgid32"		},
+[215] = { 1,	CD|NF,		SEN(setfsuid),			"setfsuid32"		},
+[216] = { 1,	CD|NF,		SEN(setfsgid),			"setfsgid32"		},
 [217] = { 2,	TF,		SEN(pivotroot),			"pivot_root"		},
 [218] = { 3,	TM,		SEN(mincore),			"mincore"		},
 [219] = { 3,	TM,		SEN(madvise),			"madvise"		},
diff --git a/linux/ia64/syscallent.h b/linux/ia64/syscallent.h
index eb1d7d89..74967224 100644
--- a/linux/ia64/syscallent.h
+++ b/linux/ia64/syscallent.h
@@ -41,9 +41,9 @@
 [BASE_NR +  18] = { 0,	PU|NF,		SEN(getppid),			"getppid"		},
 [BASE_NR +  19] = { 5,	TF,		SEN(mount),			"mount"			},
 [BASE_NR +  20] = { 2,	TF,		SEN(umount2),			"umount"		},
-[BASE_NR +  21] = { 1,	0,		SEN(setuid),			"setuid"		},
-[BASE_NR +  22] = { 0,	PU|NF,		SEN(getuid),			"getuid"		},
-[BASE_NR +  23] = { 0,	PU|NF,		SEN(geteuid),			"geteuid"		},
+[BASE_NR +  21] = { 1,	CD,		SEN(setuid),			"setuid"		},
+[BASE_NR +  22] = { 0,	CD|PU|NF,		SEN(getuid),			"getuid"		},
+[BASE_NR +  23] = { 0,	CD|PU|NF,		SEN(geteuid),			"geteuid"		},
 [BASE_NR +  24] = { 4,	0,		SEN(ptrace),			"ptrace"		},
 [BASE_NR +  25] = { 2,	TF,		SEN(access),			"access"		},
 [BASE_NR +  26] = { 0,	0,		SEN(sync),			"sync"			},
@@ -57,9 +57,9 @@
 [BASE_NR +  34] = { 0,	TD,		SEN(pipe),			"pipe"			},
 [BASE_NR +  35] = { 1,	0,		SEN(times),			"times"			},
 [BASE_NR +  36] = { 1,	TM|SI,		SEN(brk),			"brk"			},
-[BASE_NR +  37] = { 1,	0,		SEN(setgid),			"setgid"		},
-[BASE_NR +  38] = { 0,	PU|NF,		SEN(getgid),			"getgid"		},
-[BASE_NR +  39] = { 0,	PU|NF,		SEN(getegid),			"getegid"		},
+[BASE_NR +  37] = { 1,	CD,		SEN(setgid),			"setgid"		},
+[BASE_NR +  38] = { 0,	CD|PU|NF,		SEN(getgid),			"getgid"		},
+[BASE_NR +  39] = { 0,	CD|PU|NF,		SEN(getegid),			"getegid"		},
 [BASE_NR +  40] = { 1,	TF,		SEN(acct),			"acct"			},
 [BASE_NR +  41] = { 3,	TD,		SEN(ioctl),			"ioctl"			},
 [BASE_NR +  42] = { 3,	TD,		SEN(fcntl),			"fcntl"			},
@@ -67,14 +67,14 @@
 [BASE_NR +  44] = { 1,	TF,		SEN(chroot),			"chroot"		},
 [BASE_NR +  45] = { 2,	TSFA,		SEN(ustat),			"ustat"			},
 [BASE_NR +  46] = { 2,	TD,		SEN(dup2),			"dup2"			},
-[BASE_NR +  47] = { 2,	0,		SEN(setreuid),			"setreuid"		},
-[BASE_NR +  48] = { 2,	0,		SEN(setregid),			"setregid"		},
-[BASE_NR +  49] = { 3,	0,		SEN(getresuid),			"getresuid"		},
-[BASE_NR +  50] = { 3,	0,		SEN(setresuid),			"setresuid"		},
-[BASE_NR +  51] = { 3,	0,		SEN(getresgid),			"getresgid"		},
-[BASE_NR +  52] = { 3,	0,		SEN(setresgid),			"setresgid"		},
-[BASE_NR +  53] = { 2,	0,		SEN(getgroups),			"getgroups"		},
-[BASE_NR +  54] = { 2,	0,		SEN(setgroups),			"setgroups"		},
+[BASE_NR +  47] = { 2,	CD,		SEN(setreuid),			"setreuid"		},
+[BASE_NR +  48] = { 2,	CD,		SEN(setregid),			"setregid"		},
+[BASE_NR +  49] = { 3,	CD,		SEN(getresuid),			"getresuid"		},
+[BASE_NR +  50] = { 3,	CD,		SEN(setresuid),			"setresuid"		},
+[BASE_NR +  51] = { 3,	CD,		SEN(getresgid),			"getresgid"		},
+[BASE_NR +  52] = { 3,	CD,		SEN(setresgid),			"setresgid"		},
+[BASE_NR +  53] = { 2,	CD,		SEN(getgroups),			"getgroups"		},
+[BASE_NR +  54] = { 2,	CD,		SEN(setgroups),			"setgroups"		},
 [BASE_NR +  55] = { 1,	0,		SEN(getpgid),			"getpgid"		},
 [BASE_NR +  56] = { 2,	0,		SEN(setpgid),			"setpgid"		},
 [BASE_NR +  57] = { 0,	0,		SEN(setsid),			"setsid"		},
@@ -138,8 +138,8 @@
 [BASE_NR + 115] = { 3,	0,		SEN(sysfs),			"sysfs"			},
 [BASE_NR + 116] = { 1,	NF,		SEN(personality),		"personality"		},
 [BASE_NR + 117] = { 5,	0,		SEN(afs_syscall),		"afs_syscall"		},
-[BASE_NR + 118] = { 1,	NF,		SEN(setfsuid),			"setfsuid"		},
-[BASE_NR + 119] = { 1,	NF,		SEN(setfsgid),			"setfsgid"		},
+[BASE_NR + 118] = { 1,	CD|NF,		SEN(setfsuid),			"setfsuid"		},
+[BASE_NR + 119] = { 1,	CD|NF,		SEN(setfsgid),			"setfsgid"		},
 [BASE_NR + 120] = { 3,	TD,		SEN(getdents),			"getdents"		},
 [BASE_NR + 121] = { 2,	TD,		SEN(flock),			"flock"			},
 [BASE_NR + 122] = { 3,	TD,		SEN(readv),			"readv"			},
@@ -166,7 +166,7 @@
 [BASE_NR + 143] = { 2,	0,		SEN(sched_rr_get_interval_time64),"sched_rr_get_interval"},
 [BASE_NR + 144] = { 2,	0,		SEN(nanosleep_time64),		"nanosleep"		},
 [BASE_NR + 145] = { 3,	0,		SEN(nfsservctl),		"nfsservctl"		},
-[BASE_NR + 146] = { 5,	0,		SEN(prctl),			"prctl"			},
+[BASE_NR + 146] = { 5,	CD,		SEN(prctl),			"prctl"			},
 [BASE_NR + 147] = { 0,	PU|NF,		SEN(getpagesize),		"getpagesize"		},
 [BASE_NR + 148] = { 6,	TD|TM|SI,	SEN(mmap_pgoff),		"mmap2"			},
 [BASE_NR + 149] = { 5,	0,		SEN(printargs),			"pciconfig_read"	},
@@ -181,8 +181,8 @@
 [BASE_NR + 158] = { 2,	TS,		SEN(rt_sigsuspend),		"rt_sigsuspend"		},
 [BASE_NR + 159] = { 4,	TS,		SEN(rt_sigtimedwait_time64),	"rt_sigtimedwait"	},
 [BASE_NR + 160] = { 2,	TF,		SEN(getcwd),			"getcwd"		},
-[BASE_NR + 161] = { 2,	0,		SEN(capget),			"capget"		},
-[BASE_NR + 162] = { 2,	0,		SEN(capset),			"capset"		},
+[BASE_NR + 161] = { 2,	CD,		SEN(capget),			"capget"		},
+[BASE_NR + 162] = { 2,	CD,		SEN(capset),			"capset"		},
 [BASE_NR + 163] = { 4,	TD|TN,		SEN(sendfile),			"sendfile"		},
 [BASE_NR + 164] = { 5,	TN,		SEN(getpmsg),			"getpmsg"		},
 [BASE_NR + 165] = { 5,	TN,		SEN(putpmsg),			"putpmsg"		},
diff --git a/linux/m68k/syscallent.h b/linux/m68k/syscallent.h
index 72c56c0b..226175f1 100644
--- a/linux/m68k/syscallent.h
+++ b/linux/m68k/syscallent.h
@@ -30,8 +30,8 @@
 [ 20] = { 0,	PU|NF,		SEN(getpid),			"getpid"		},
 [ 21] = { 5,	TF,		SEN(mount),			"mount"			},
 [ 22] = { 1,	TF,		SEN(umount),			"umount"		},
-[ 23] = { 1,	0,		SEN(setuid16),			"setuid"		},
-[ 24] = { 0,	PU|NF,		SEN(getuid16),			"getuid"		},
+[ 23] = { 1,	CD,		SEN(setuid16),			"setuid"		},
+[ 24] = { 0,	CD|PU|NF,		SEN(getuid16),			"getuid"		},
 [ 25] = { 1,	0,		SEN(stime),			"stime"			},
 [ 26] = { 4,	0,		SEN(ptrace),			"ptrace"		},
 [ 27] = { 1,	0,		SEN(alarm),			"alarm"			},
@@ -53,11 +53,11 @@
 [ 43] = { 1,	0,		SEN(times),			"times"			},
 [ 44] = { 0,	0,		SEN(prof),			"prof"			},
 [ 45] = { 1,	TM|SI,		SEN(brk),			"brk"			},
-[ 46] = { 1,	0,		SEN(setgid16),			"setgid"		},
-[ 47] = { 0,	PU|NF,		SEN(getgid16),			"getgid"		},
+[ 46] = { 1,	CD,		SEN(setgid16),			"setgid"		},
+[ 47] = { 0,	CD|PU|NF,		SEN(getgid16),			"getgid"		},
 [ 48] = { 2,	TS,		SEN(signal),			"signal"		},
-[ 49] = { 0,	PU|NF,		SEN(geteuid16),			"geteuid"		},
-[ 50] = { 0,	PU|NF,		SEN(getegid16),			"getegid"		},
+[ 49] = { 0,	CD|PU|NF,		SEN(geteuid16),			"geteuid"		},
+[ 50] = { 0,	CD|PU|NF,		SEN(getegid16),			"getegid"		},
 [ 51] = { 1,	TF,		SEN(acct),			"acct"			},
 [ 52] = { 2,	TF,		SEN(umount2),			"umount2"		},
 [ 53] = { 0,	0,		SEN(lock),			"lock"			},
@@ -77,8 +77,8 @@
 [ 67] = { 3,	TS,		SEN(sigaction),			"sigaction"		},
 [ 68] = { 0,	TS,		SEN(sgetmask),			"sgetmask"		},
 [ 69] = { 1,	TS,		SEN(ssetmask),			"ssetmask"		},
-[ 70] = { 2,	0,		SEN(setreuid16),		"setreuid"		},
-[ 71] = { 2,	0,		SEN(setregid16),		"setregid"		},
+[ 70] = { 2,	CD,		SEN(setreuid16),		"setreuid"		},
+[ 71] = { 2,	CD,		SEN(setregid16),		"setregid"		},
 [ 72] = { 3,	TS,		SEN(sigsuspend),		"sigsuspend"		},
 [ 73] = { 1,	TS,		SEN(sigpending),		"sigpending"		},
 [ 74] = { 2,	0,		SEN(sethostname),		"sethostname"		},
@@ -87,8 +87,8 @@
 [ 77] = { 2,	0,		SEN(getrusage),			"getrusage"		},
 [ 78] = { 2,	0,		SEN(gettimeofday),		"gettimeofday"		},
 [ 79] = { 2,	0,		SEN(settimeofday),		"settimeofday"		},
-[ 80] = { 2,	0,		SEN(getgroups16),		"getgroups"		},
-[ 81] = { 2,	0,		SEN(setgroups16),		"setgroups"		},
+[ 80] = { 2,	CD,		SEN(getgroups16),		"getgroups"		},
+[ 81] = { 2,	CD,		SEN(setgroups16),		"setgroups"		},
 [ 82] = { 1,	TD,		SEN(oldselect),			"select"		},
 [ 83] = { 2,	TF,		SEN(symlink),			"symlink"		},
 [ 84] = { 2,	TF|TLST|TSTA,	SEN(oldlstat),			"oldlstat"		},
@@ -145,8 +145,8 @@
 [135] = { 3,	0,		SEN(sysfs),			"sysfs"			},
 [136] = { 1,	NF,		SEN(personality),		"personality"		},
 [137] = { 5,	0,		SEN(afs_syscall),		"afs_syscall"		},
-[138] = { 1,	NF,		SEN(setfsuid16),		"setfsuid"		},
-[139] = { 1,	NF,		SEN(setfsgid16),		"setfsgid"		},
+[138] = { 1,	CD|NF,		SEN(setfsuid16),		"setfsuid"		},
+[139] = { 1,	CD|NF,		SEN(setfsgid16),		"setfsgid"		},
 [140] = { 5,	TD,		SEN(llseek),			"_llseek"		},
 [141] = { 3,	TD,		SEN(getdents),			"getdents"		},
 [142] = { 5,	TD,		SEN(select),			"_newselect"		},
@@ -171,15 +171,15 @@
 [161] = { 2,	0,		SEN(sched_rr_get_interval_time32),"sched_rr_get_interval"},
 [162] = { 2,	0,		SEN(nanosleep_time32),		"nanosleep"		},
 [163] = { 5,	TM|SI,		SEN(mremap),			"mremap"		},
-[164] = { 3,	0,		SEN(setresuid16),		"setresuid"		},
-[165] = { 3,	0,		SEN(getresuid16),		"getresuid"		},
+[164] = { 3,	CD,		SEN(setresuid16),		"setresuid"		},
+[165] = { 3,	CD,		SEN(getresuid16),		"getresuid"		},
 [166] = { 0,	PU|NF,		SEN(getpagesize),		"getpagesize"		},
 [167] = { 5,	0,		SEN(query_module),		"query_module"		},
 [168] = { 3,	TD,		SEN(poll_time32),		"poll"			},
 [169] = { 3,	0,		SEN(nfsservctl),		"nfsservctl"		},
-[170] = { 3,	0,		SEN(setresgid16),		"setresgid"		},
-[171] = { 3,	0,		SEN(getresgid16),		"getresgid"		},
-[172] = { 5,	0,		SEN(prctl),			"prctl"			},
+[170] = { 3,	CD,		SEN(setresgid16),		"setresgid"		},
+[171] = { 3,	CD,		SEN(getresgid16),		"getresgid"		},
+[172] = { 5,	CD,		SEN(prctl),			"prctl"			},
 [173] = { 0,	TS,		SEN(rt_sigreturn),		"rt_sigreturn"		},
 [174] = { 4,	TS,		SEN(rt_sigaction),		"rt_sigaction"		},
 [175] = { 4,	TS,		SEN(rt_sigprocmask),		"rt_sigprocmask"	},
@@ -191,8 +191,8 @@
 [181] = { 5,	TD,		SEN(pwrite),			"pwrite64"		},
 [182] = { 3,	TF,		SEN(chown16),			"lchown"		},
 [183] = { 2,	TF,		SEN(getcwd),			"getcwd"		},
-[184] = { 2,	0,		SEN(capget),			"capget"		},
-[185] = { 2,	0,		SEN(capset),			"capset"		},
+[184] = { 2,	CD,		SEN(capget),			"capget"		},
+[185] = { 2,	CD,		SEN(capset),			"capset"		},
 [186] = { 2,	TS,		SEN(sigaltstack),		"sigaltstack"		},
 [187] = { 4,	TD|TN,		SEN(sendfile),			"sendfile"		},
 [188] = { 5,	TN,		SEN(getpmsg),			"getpmsg"		},
@@ -206,24 +206,24 @@
 [196] = { 2,	TF|TLST|TSTA,	SEN(lstat64),			"lstat64"		},
 [197] = { 2,	TD|TFST|TSTA,	SEN(fstat64),			"fstat64"		},
 [198] = { 3,	TF,		SEN(chown),			"chown32"		},
-[199] = { 0,	PU|NF,		SEN(getuid),			"getuid32"		},
-[200] = { 0,	PU|NF,		SEN(getgid),			"getgid32"		},
-[201] = { 0,	PU|NF,		SEN(geteuid),			"geteuid32"		},
-[202] = { 0,	PU|NF,		SEN(geteuid),			"getegid32"		},
-[203] = { 2,	0,		SEN(setreuid),			"setreuid32"		},
-[204] = { 2,	0,		SEN(setregid),			"setregid32"		},
-[205] = { 2,	0,		SEN(getgroups),			"getgroups32"		},
-[206] = { 2,	0,		SEN(setgroups),			"setgroups32"		},
+[199] = { 0,	CD|PU|NF,		SEN(getuid),			"getuid32"		},
+[200] = { 0,	CD|PU|NF,		SEN(getgid),			"getgid32"		},
+[201] = { 0,	CD|PU|NF,		SEN(geteuid),			"geteuid32"		},
+[202] = { 0,	CD|PU|NF,		SEN(geteuid),			"getegid32"		},
+[203] = { 2,	CD,		SEN(setreuid),			"setreuid32"		},
+[204] = { 2,	CD,		SEN(setregid),			"setregid32"		},
+[205] = { 2,	CD,		SEN(getgroups),			"getgroups32"		},
+[206] = { 2,	CD,		SEN(setgroups),			"setgroups32"		},
 [207] = { 3,	TD,		SEN(fchown),			"fchown32"		},
-[208] = { 3,	0,		SEN(setresuid),			"setresuid32"		},
-[209] = { 3,	0,		SEN(getresuid),			"getresuid32"		},
-[210] = { 3,	0,		SEN(setresgid),			"setresgid32"		},
-[211] = { 3,	0,		SEN(getresgid),			"getresgid32"		},
+[208] = { 3,	CD,		SEN(setresuid),			"setresuid32"		},
+[209] = { 3,	CD,		SEN(getresuid),			"getresuid32"		},
+[210] = { 3,	CD,		SEN(setresgid),			"setresgid32"		},
+[211] = { 3,	CD,		SEN(getresgid),			"getresgid32"		},
 [212] = { 3,	TF,		SEN(chown),			"lchown32"		},
-[213] = { 1,	0,		SEN(setuid),			"setuid32"		},
-[214] = { 1,	0,		SEN(setgid),			"setgid32"		},
-[215] = { 1,	NF,		SEN(setfsuid),			"setfsuid32"		},
-[216] = { 1,	NF,		SEN(setfsgid),			"setfsgid32"		},
+[213] = { 1,	CD,		SEN(setuid),			"setuid32"		},
+[214] = { 1,	CD,		SEN(setgid),			"setgid32"		},
+[215] = { 1,	CD|NF,		SEN(setfsuid),			"setfsuid32"		},
+[216] = { 1,	CD|NF,		SEN(setfsgid),			"setfsgid32"		},
 [217] = { 2,	TF,		SEN(pivotroot),			"pivot_root"		},
 [218 ... 219] = { },
 [220] = { 3,	TD,		SEN(getdents64),		"getdents64"		},
diff --git a/linux/microblaze/syscallent.h b/linux/microblaze/syscallent.h
index 40c19ce9..cd70cb54 100644
--- a/linux/microblaze/syscallent.h
+++ b/linux/microblaze/syscallent.h
@@ -30,8 +30,8 @@
 [ 20] = { 0,	PU|NF,		SEN(getpid),			"getpid"		},
 [ 21] = { 5,	TF,		SEN(mount),			"mount"			},
 [ 22] = { 1,	TF,		SEN(umount),			"umount"		},
-[ 23] = { 1,	0,		SEN(setuid16),			"setuid"		},
-[ 24] = { 0,	PU|NF,		SEN(getuid16),			"getuid"		},
+[ 23] = { 1,	CD,		SEN(setuid16),			"setuid"		},
+[ 24] = { 0,	CD|PU|NF,		SEN(getuid16),			"getuid"		},
 [ 25] = { 1,	0,		SEN(stime),			"stime"			},
 [ 26] = { 4,	0,		SEN(ptrace),			"ptrace"		},
 [ 27] = { 1,	0,		SEN(alarm),			"alarm"			},
@@ -53,11 +53,11 @@
 [ 43] = { 1,	0,		SEN(times),			"times"			},
 [ 44] = { 0,	0,		SEN(prof),			"prof"			},
 [ 45] = { 1,	TM|SI,		SEN(brk),			"brk"			},
-[ 46] = { 1,	0,		SEN(setgid16),			"setgid"		},
-[ 47] = { 0,	PU|NF,		SEN(getgid16),			"getgid"		},
+[ 46] = { 1,	CD,		SEN(setgid16),			"setgid"		},
+[ 47] = { 0,	CD|PU|NF,		SEN(getgid16),			"getgid"		},
 [ 48] = { 2,	TS,		SEN(signal),			"signal"		},
-[ 49] = { 0,	PU|NF,		SEN(geteuid16),			"geteuid"		},
-[ 50] = { 0,	PU|NF,		SEN(getegid16),			"getegid"		},
+[ 49] = { 0,	CD|PU|NF,		SEN(geteuid16),			"geteuid"		},
+[ 50] = { 0,	CD|PU|NF,		SEN(getegid16),			"getegid"		},
 [ 51] = { 1,	TF,		SEN(acct),			"acct"			},
 [ 52] = { 2,	TF,		SEN(umount2),			"umount2"		},
 [ 53] = { 0,	0,		SEN(lock),			"lock"			},
@@ -77,8 +77,8 @@
 [ 67] = { 3,	TS,		SEN(sigaction),			"sigaction"		},
 [ 68] = { 0,	TS,		SEN(sgetmask),			"sgetmask"		},
 [ 69] = { 1,	TS,		SEN(ssetmask),			"ssetmask"		},
-[ 70] = { 2,	0,		SEN(setreuid16),		"setreuid"		},
-[ 71] = { 2,	0,		SEN(setregid16),		"setregid"		},
+[ 70] = { 2,	CD,		SEN(setreuid16),		"setreuid"		},
+[ 71] = { 2,	CD,		SEN(setregid16),		"setregid"		},
 [ 72] = { 3,	TS,		SEN(sigsuspend),		"sigsuspend"		},
 [ 73] = { 1,	TS,		SEN(sigpending),		"sigpending"		},
 [ 74] = { 2,	0,		SEN(sethostname),		"sethostname"		},
@@ -87,8 +87,8 @@
 [ 77] = { 2,	0,		SEN(getrusage),			"getrusage"		},
 [ 78] = { 2,	0,		SEN(gettimeofday),		"gettimeofday"		},
 [ 79] = { 2,	0,		SEN(settimeofday),		"settimeofday"		},
-[ 80] = { 2,	0,		SEN(getgroups16),		"getgroups"		},
-[ 81] = { 2,	0,		SEN(setgroups16),		"setgroups"		},
+[ 80] = { 2,	CD,		SEN(getgroups16),		"getgroups"		},
+[ 81] = { 2,	CD,		SEN(setgroups16),		"setgroups"		},
 [ 82] = { 1,	TD,		SEN(oldselect),			"select"		},
 [ 83] = { 2,	TF,		SEN(symlink),			"symlink"		},
 [ 84] = { 2,	TF|TLST|TSTA,	SEN(oldlstat),			"oldlstat"		},
@@ -145,8 +145,8 @@
 [135] = { 3,	0,		SEN(sysfs),			"sysfs"			},
 [136] = { 1,	NF,		SEN(personality),		"personality"		},
 [137] = { 5,	0,		SEN(afs_syscall),		"afs_syscall"		},
-[138] = { 1,	NF,		SEN(setfsuid16),		"setfsuid"		},
-[139] = { 1,	NF,		SEN(setfsgid16),		"setfsgid"		},
+[138] = { 1,	CD|NF,		SEN(setfsuid16),		"setfsuid"		},
+[139] = { 1,	CD|NF,		SEN(setfsgid16),		"setfsgid"		},
 [140] = { 5,	TD,		SEN(llseek),			"_llseek"		},
 [141] = { 3,	TD,		SEN(getdents),			"getdents"		},
 [142] = { 5,	TD,		SEN(select),			"_newselect"		},
@@ -171,15 +171,15 @@
 [161] = { 2,	0,		SEN(sched_rr_get_interval_time32),"sched_rr_get_interval"},
 [162] = { 2,	0,		SEN(nanosleep_time32),		"nanosleep"		},
 [163] = { 5,	TM|SI,		SEN(mremap),			"mremap"		},
-[164] = { 3,	0,		SEN(setresuid16),		"setresuid"		},
-[165] = { 3,	0,		SEN(getresuid16),		"getresuid"		},
+[164] = { 3,	CD,		SEN(setresuid16),		"setresuid"		},
+[165] = { 3,	CD,		SEN(getresuid16),		"getresuid"		},
 [166] = { 5,	0,		SEN(vm86),			"vm86"			},
 [167] = { 5,	0,		SEN(query_module),		"query_module"		},
 [168] = { 3,	TD,		SEN(poll_time32),		"poll"			},
 [169] = { 3,	0,		SEN(nfsservctl),		"nfsservctl"		},
-[170] = { 3,	0,		SEN(setresgid16),		"setresgid"		},
-[171] = { 3,	0,		SEN(getresgid16),		"getresgid"		},
-[172] = { 5,	0,		SEN(prctl),			"prctl"			},
+[170] = { 3,	CD,		SEN(setresgid16),		"setresgid"		},
+[171] = { 3,	CD,		SEN(getresgid16),		"getresgid"		},
+[172] = { 5,	CD,		SEN(prctl),			"prctl"			},
 [173] = { 0,	TS,		SEN(rt_sigreturn),		"rt_sigreturn"		},
 [174] = { 4,	TS,		SEN(rt_sigaction),		"rt_sigaction"		},
 [175] = { 4,	TS,		SEN(rt_sigprocmask),		"rt_sigprocmask"	},
@@ -191,8 +191,8 @@
 [181] = { 5,	TD,		SEN(pwrite),			"pwrite64"		},
 [182] = { 3,	TF,		SEN(chown16),			"chown"			},
 [183] = { 2,	TF,		SEN(getcwd),			"getcwd"		},
-[184] = { 2,	0,		SEN(capget),			"capget"		},
-[185] = { 2,	0,		SEN(capset),			"capset"		},
+[184] = { 2,	CD,		SEN(capget),			"capget"		},
+[185] = { 2,	CD,		SEN(capset),			"capset"		},
 [186] = { 2,	TS,		SEN(sigaltstack),		"sigaltstack"		},
 [187] = { 4,	TD|TN,		SEN(sendfile),			"sendfile"		},
 [188] = { 5,	TN,		SEN(getpmsg),			"getpmsg"		},
@@ -206,24 +206,24 @@
 [196] = { 2,	TF|TLST|TSTA,	SEN(lstat64),			"lstat64"		},
 [197] = { 2,	TD|TFST|TSTA,	SEN(fstat64),			"fstat64"		},
 [198] = { 3,	TF,		SEN(chown),			"lchown32"		},
-[199] = { 0,	PU|NF,		SEN(getuid),			"getuid32"		},
-[200] = { 0,	PU|NF,		SEN(getgid),			"getgid32"		},
-[201] = { 0,	PU|NF,		SEN(geteuid),			"geteuid32"		},
-[202] = { 0,	PU|NF,		SEN(geteuid),			"getegid32"		},
-[203] = { 2,	0,		SEN(setreuid),			"setreuid32"		},
-[204] = { 2,	0,		SEN(setregid),			"setregid32"		},
-[205] = { 2,	0,		SEN(getgroups),			"getgroups32"		},
-[206] = { 2,	0,		SEN(setgroups),			"setgroups32"		},
+[199] = { 0,	CD|PU|NF,		SEN(getuid),			"getuid32"		},
+[200] = { 0,	CD|PU|NF,		SEN(getgid),			"getgid32"		},
+[201] = { 0,	CD|PU|NF,		SEN(geteuid),			"geteuid32"		},
+[202] = { 0,	CD|PU|NF,		SEN(geteuid),			"getegid32"		},
+[203] = { 2,	CD,		SEN(setreuid),			"setreuid32"		},
+[204] = { 2,	CD,		SEN(setregid),			"setregid32"		},
+[205] = { 2,	CD,		SEN(getgroups),			"getgroups32"		},
+[206] = { 2,	CD,		SEN(setgroups),			"setgroups32"		},
 [207] = { 3,	TD,		SEN(fchown),			"fchown32"		},
-[208] = { 3,	0,		SEN(setresuid),			"setresuid32"		},
-[209] = { 3,	0,		SEN(getresuid),			"getresuid32"		},
-[210] = { 3,	0,		SEN(setresgid),			"setresgid32"		},
-[211] = { 3,	0,		SEN(getresgid),			"getresgid32"		},
+[208] = { 3,	CD,		SEN(setresuid),			"setresuid32"		},
+[209] = { 3,	CD,		SEN(getresuid),			"getresuid32"		},
+[210] = { 3,	CD,		SEN(setresgid),			"setresgid32"		},
+[211] = { 3,	CD,		SEN(getresgid),			"getresgid32"		},
 [212] = { 3,	TF,		SEN(chown),			"chown32"		},
-[213] = { 1,	0,		SEN(setuid),			"setuid32"		},
-[214] = { 1,	0,		SEN(setgid),			"setgid32"		},
-[215] = { 1,	NF,		SEN(setfsuid),			"setfsuid32"		},
-[216] = { 1,	NF,		SEN(setfsgid),			"setfsgid32"		},
+[213] = { 1,	CD,		SEN(setuid),			"setuid32"		},
+[214] = { 1,	CD,		SEN(setgid),			"setgid32"		},
+[215] = { 1,	CD|NF,		SEN(setfsuid),			"setfsuid32"		},
+[216] = { 1,	CD|NF,		SEN(setfsgid),			"setfsgid32"		},
 [217] = { 2,	TF,		SEN(pivotroot),			"pivot_root"		},
 [218] = { 3,	TM,		SEN(mincore),			"mincore"		},
 [219] = { 3,	TM,		SEN(madvise),			"madvise"		},
diff --git a/linux/mips/syscallent-compat.h b/linux/mips/syscallent-compat.h
index fce44a27..a281b358 100644
--- a/linux/mips/syscallent-compat.h
+++ b/linux/mips/syscallent-compat.h
@@ -28,8 +28,8 @@
 [  20] = { 0,	0,	SEN(printargs),		"svr4_getpid"	},
 [  21] = { 0,	0,	SEN(printargs),		"svr4_mount"	},
 [  22] = { 0,	0,	SEN(printargs),		"svr4_umount"	},
-[  23] = { 0,	0,	SEN(printargs),		"svr4_setuid"	},
-[  24] = { 0,	0,	SEN(printargs),		"svr4_getuid"	},
+[  23] = { 0,	CD,	SEN(printargs),		"svr4_setuid"	},
+[  24] = { 0,	CD,	SEN(printargs),		"svr4_getuid"	},
 [  25] = { 0,	0,	SEN(printargs),		"svr4_stime"	},
 [  26] = { 0,	0,	SEN(printargs),		"svr4_ptrace"	},
 [  27] = { 0,	0,	SEN(printargs),		"svr4_alarm"	},
@@ -51,8 +51,8 @@
 [  43] = { 0,	0,	SEN(printargs),		"svr4_times"	},
 [  44] = { 0,	0,	SEN(printargs),		"svr4_profil"	},
 [  45] = { 0,	0,	SEN(printargs),		"svr4_plock"	},
-[  46] = { 0,	0,	SEN(printargs),		"svr4_setgid"	},
-[  47] = { 0,	0,	SEN(printargs),		"svr4_getgid"	},
+[  46] = { 0,	CD,	SEN(printargs),		"svr4_setgid"	},
+[  47] = { 0,	CD,	SEN(printargs),		"svr4_getgid"	},
 [  48] = { 0,	0,	SEN(printargs),		"svr4_sig"	},
 [  49] = { 0,	0,	SEN(printargs),		"svr4_msgsys"	},
 [  50] = { 0,	0,	SEN(printargs),		"svr4_sysmips"	},
@@ -91,8 +91,8 @@
 [  88] = { 0,	TF|TLST|TSTA,SEN(printargs),		"svr4_lstat"	},
 [  89] = { 0,	0,	SEN(printargs),		"svr4_symlink"	},
 [  90] = { 0,	0,	SEN(printargs),		"svr4_readlink"	},
-[  91] = { 0,	0,	SEN(printargs),		"svr4_setgroups"	},
-[  92] = { 0,	0,	SEN(printargs),		"svr4_getgroups"	},
+[  91] = { 0,	CD,	SEN(printargs),		"svr4_setgroups"	},
+[  92] = { 0,	CD,	SEN(printargs),		"svr4_getgroups"	},
 [  93] = { 0,	0,	SEN(printargs),		"svr4_fchmod"	},
 [  94] = { 0,	0,	SEN(printargs),		"svr4_fchown"	},
 [  95] = { 0,	0,	SEN(printargs),		"svr4_sigprocmask"	},
@@ -136,12 +136,12 @@
 [ 133] = { 0,	0,	SEN(printargs),		"svr4_putpmsg"	},
 [ 134] = { 0,	0,	SEN(printargs),		"svr4_rename"	},
 [ 135] = { 0,	0,	SEN(printargs),		"svr4_nuname"	},
-[ 136] = { 0,	0,	SEN(printargs),		"svr4_setegid"	},
+[ 136] = { 0,	CD,	SEN(printargs),		"svr4_setegid"	},
 [ 137] = { 0,	0,	SEN(printargs),		"svr4_sysconf"	},
 [ 138] = { 0,	0,	SEN(printargs),		"svr4_adjtime"	},
 [ 139] = { 0,	0,	SEN(printargs),		"svr4_sysinfo"	},
 [ 140] = { },
-[ 141] = { 0,	0,	SEN(printargs),		"svr4_seteuid"	},
+[ 141] = { 0,	CD,	SEN(printargs),		"svr4_seteuid"	},
 [ 142] = { 0,	0,	SEN(printargs),		"svr4_PYRAMID_statis"	},
 [ 143] = { 0,	0,	SEN(printargs),		"svr4_PYRAMID_tuning"	},
 [ 144] = { 0,	0,	SEN(printargs),		"svr4_PYRAMID_forcerr"	},
@@ -179,8 +179,8 @@
 [1020] = { 0,	0,	SEN(printargs),		"sysv_getpid"	},
 [1021] = { 0,	0,	SEN(printargs),		"sysv_mount"	},
 [1022] = { 0,	0,	SEN(printargs),		"sysv_umount"	},
-[1023] = { 0,	0,	SEN(printargs),		"sysv_setuid"	},
-[1024] = { 0,	0,	SEN(printargs),		"sysv_getuid"	},
+[1023] = { 0,	CD,	SEN(printargs),		"sysv_setuid"	},
+[1024] = { 0,	CD,	SEN(printargs),		"sysv_getuid"	},
 [1025] = { 0,	0,	SEN(printargs),		"sysv_stime"	},
 [1026] = { 0,	0,	SEN(printargs),		"sysv_ptrace"	},
 [1027] = { 0,	0,	SEN(printargs),		"sysv_alarm"	},
@@ -202,8 +202,8 @@
 [1043] = { 0,	0,	SEN(printargs),		"sysv_times"	},
 [1044] = { 0,	0,	SEN(printargs),		"sysv_profil"	},
 [1045] = { 0,	0,	SEN(printargs),		"sysv_plock"	},
-[1046] = { 0,	0,	SEN(printargs),		"sysv_setgid"	},
-[1047] = { 0,	0,	SEN(printargs),		"sysv_getgid"	},
+[1046] = { 0,	CD,	SEN(printargs),		"sysv_setgid"	},
+[1047] = { 0,	CD,	SEN(printargs),		"sysv_getgid"	},
 [1048] = { 0,	0,	SEN(printargs),		"sysv_sig"	},
 [1049] = { 0,	0,	SEN(printargs),		"sysv_msgsys"	},
 [1050] = { 0,	0,	SEN(printargs),		"sysv_sysmips"	},
@@ -274,14 +274,14 @@
 [1120] = { 0,	0,	SEN(printargs),		"sysv_getfh"	},
 [1121] = { 0,	0,	SEN(printargs),		"sysv_async_daemon"	},
 [1122] = { 0,	0,	SEN(printargs),		"sysv_exportfs"	},
-[1123] = { 0,	0,	SEN(printargs),		"sysv_setregid"	},
-[1124] = { 0,	0,	SEN(printargs),		"sysv_setreuid"	},
+[1123] = { 0,	CD,	SEN(printargs),		"sysv_setregid"	},
+[1124] = { 0,	CD,	SEN(printargs),		"sysv_setreuid"	},
 [1125] = { 0,	0,	SEN(printargs),		"sysv_getitimer"	},
 [1126] = { 0,	0,	SEN(printargs),		"sysv_setitimer"	},
 [1127] = { 0,	0,	SEN(printargs),		"sysv_adjtime"	},
 [1128] = { 0,	0,	SEN(printargs),		"sysv_BSD_getime"	},
 [1129] = { 0,	0,	SEN(printargs),		"sysv_sproc"	},
-[1130] = { 0,	0,	SEN(printargs),		"sysv_prctl"	},
+[1130] = { 0,	CD,	SEN(printargs),		"sysv_prctl"	},
 [1131] = { 0,	0,	SEN(printargs),		"sysv_procblk"	},
 [1132] = { 0,	0,	SEN(printargs),		"sysv_sprocsp"	},
 [1133] = { 0,	0,	SEN(printargs),		"sysv_sgigsc"	},
@@ -364,8 +364,8 @@
 [2020] = { 0,	0,	SEN(printargs),		"bsd43_getpid"	},
 [2021] = { 0,	0,	SEN(printargs),		"bsd43_oldmount"	},
 [2022] = { 0,	0,	SEN(printargs),		"bsd43_umount"	},
-[2023] = { 0,	0,	SEN(printargs),		"bsd43_setuid"	},
-[2024] = { 0,	0,	SEN(printargs),		"bsd43_getuid"	},
+[2023] = { 0,	CD,	SEN(printargs),		"bsd43_setuid"	},
+[2024] = { 0,	CD,	SEN(printargs),		"bsd43_getuid"	},
 [2025] = { 0,	0,	SEN(printargs),		"bsd43_stime"	},
 [2026] = { 0,	0,	SEN(printargs),		"bsd43_ptrace"	},
 [2027] = { 0,	0,	SEN(printargs),		"bsd43_alarm"	},
@@ -387,8 +387,8 @@
 [2043] = { 0,	0,	SEN(printargs),		"bsd43_times"	},
 [2044] = { 0,	0,	SEN(printargs),		"bsd43_profil"	},
 [2045] = { 0,	0,	SEN(printargs),		"bsd43_msgsys"	},
-[2046] = { 0,	0,	SEN(printargs),		"bsd43_setgid"	},
-[2047] = { 0,	0,	SEN(printargs),		"bsd43_getgid"	},
+[2046] = { 0,	CD,	SEN(printargs),		"bsd43_setgid"	},
+[2047] = { 0,	CD,	SEN(printargs),		"bsd43_getgid"	},
 [2048] = { 0,	0,	SEN(printargs),		"bsd43_ssig"	},
 [2049] = { },
 [2050] = { },
@@ -420,8 +420,8 @@
 [2076] = { 0,	0,	SEN(printargs),		"bsd43_vhangup"	},
 [2077] = { 0,	0,	SEN(printargs),		"bsd43_vlimit"	},
 [2078] = { 0,	TM,	SEN(printargs),		"bsd43_mincore"	},
-[2079] = { 0,	0,	SEN(printargs),		"bsd43_getgroups"	},
-[2080] = { 0,	0,	SEN(printargs),		"bsd43_setgroups"	},
+[2079] = { 0,	CD,	SEN(printargs),		"bsd43_getgroups"	},
+[2080] = { 0,	CD,	SEN(printargs),		"bsd43_setgroups"	},
 [2081] = { 0,	0,	SEN(printargs),		"bsd43_getpgrp"	},
 [2082] = { 0,	0,	SEN(printargs),		"bsd43_setpgrp"	},
 [2083] = { 0,	0,	SEN(printargs),		"bsd43_setitimer"	},
@@ -467,8 +467,8 @@
 [2123] = { 0,	0,	SEN(printargs),		"bsd43_fchown"	},
 [2124] = { 0,	0,	SEN(printargs),		"bsd43_fchmod"	},
 [2125] = { 0,	0,	SEN(printargs),		"bsd43_oldrecvfrom"	},
-[2126] = { 0,	0,	SEN(printargs),		"bsd43_setreuid"	},
-[2127] = { 0,	0,	SEN(printargs),		"bsd43_setregid"	},
+[2126] = { 0,	CD,	SEN(printargs),		"bsd43_setreuid"	},
+[2127] = { 0,	CD,	SEN(printargs),		"bsd43_setregid"	},
 [2128] = { 0,	0,	SEN(printargs),		"bsd43_rename"	},
 [2129] = { 0,	0,	SEN(printargs),		"bsd43_truncate"	},
 [2130] = { 0,	0,	SEN(printargs),		"bsd43_ftruncate"	},
@@ -557,8 +557,8 @@
 [3020] = { 0,	0,	SEN(printargs),		"posix_getpid"	},
 [3021] = { 0,	0,	SEN(printargs),		"posix_mount"	},
 [3022] = { 0,	0,	SEN(printargs),		"posix_umount"	},
-[3023] = { 0,	0,	SEN(printargs),		"posix_setuid"	},
-[3024] = { 0,	0,	SEN(printargs),		"posix_getuid"	},
+[3023] = { 0,	CD,	SEN(printargs),		"posix_setuid"	},
+[3024] = { 0,	CD,	SEN(printargs),		"posix_getuid"	},
 [3025] = { 0,	0,	SEN(printargs),		"posix_stime"	},
 [3026] = { 0,	0,	SEN(printargs),		"posix_ptrace"	},
 [3027] = { 0,	0,	SEN(printargs),		"posix_alarm"	},
@@ -580,8 +580,8 @@
 [3043] = { 0,	0,	SEN(printargs),		"posix_times"	},
 [3044] = { 0,	0,	SEN(printargs),		"posix_profil"	},
 [3045] = { 0,	0,	SEN(printargs),		"posix_lock"	},
-[3046] = { 0,	0,	SEN(printargs),		"posix_setgid"	},
-[3047] = { 0,	0,	SEN(printargs),		"posix_getgid"	},
+[3046] = { 0,	CD,	SEN(printargs),		"posix_setgid"	},
+[3047] = { 0,	CD,	SEN(printargs),		"posix_getgid"	},
 [3048] = { 0,	0,	SEN(printargs),		"posix_sig"	},
 [3049] = { 0,	0,	SEN(printargs),		"posix_msgsys"	},
 [3050] = { 0,	0,	SEN(printargs),		"posix_sysmips"	},
@@ -652,14 +652,14 @@
 [3120] = { 0,	0,	SEN(printargs),		"posix_nfs_getfh"	},
 [3121] = { 0,	0,	SEN(printargs),		"posix_async_daemon"	},
 [3122] = { 0,	0,	SEN(printargs),		"posix_exportfs"	},
-[3123] = { 0,	0,	SEN(printargs),		"posix_SGI_setregid"	},
-[3124] = { 0,	0,	SEN(printargs),		"posix_SGI_setreuid"	},
+[3123] = { 0,	CD,	SEN(printargs),		"posix_SGI_setregid"	},
+[3124] = { 0,	CD,	SEN(printargs),		"posix_SGI_setreuid"	},
 [3125] = { 0,	0,	SEN(printargs),		"posix_getitimer"	},
 [3126] = { 0,	0,	SEN(printargs),		"posix_setitimer"	},
 [3127] = { 0,	0,	SEN(printargs),		"posix_adjtime"	},
 [3128] = { 0,	0,	SEN(printargs),		"posix_SGI_bsdgettime"	},
 [3129] = { 0,	0,	SEN(printargs),		"posix_SGI_sproc"	},
-[3130] = { 0,	0,	SEN(printargs),		"posix_SGI_prctl"	},
+[3130] = { 0,	CD,	SEN(printargs),		"posix_SGI_prctl"	},
 [3131] = { 0,	0,	SEN(printargs),		"posix_SGI_blkproc"	},
 [3132] = { },
 [3133] = { 0,	0,	SEN(printargs),		"posix_SGI_sgigsc"	},
@@ -684,11 +684,11 @@
 [3156] = { 0,	TM|SI,	SEN(printargs),		"posix_munmap"	},
 [3157] = { 0,	TM,	SEN(printargs),		"posix_madvise"	},
 [3158] = { 0,	0,	SEN(printargs),		"posix_BSD_getpagesize"	},
-[3159] = { 0,	0,	SEN(printargs),		"posix_setreuid"	},
-[3160] = { 0,	0,	SEN(printargs),		"posix_setregid"	},
+[3159] = { 0,	CD,	SEN(printargs),		"posix_setreuid"	},
+[3160] = { 0,	CD,	SEN(printargs),		"posix_setregid"	},
 [3161] = { 0,	0,	SEN(printargs),		"posix_setpgid"	},
-[3162] = { 0,	0,	SEN(printargs),		"posix_getgroups"	},
-[3163] = { 0,	0,	SEN(printargs),		"posix_setgroups"	},
+[3162] = { 0,	CD,	SEN(printargs),		"posix_getgroups"	},
+[3163] = { 0,	CD,	SEN(printargs),		"posix_setgroups"	},
 [3164] = { 0,	0,	SEN(printargs),		"posix_gettimeofday"	},
 [3165] = { 0,	0,	SEN(printargs),		"posix_getrusage"	},
 [3166] = { 0,	0,	SEN(printargs),		"posix_getrlimit"	},
diff --git a/linux/mips/syscallent-n32.h b/linux/mips/syscallent-n32.h
index 38fcfbc2..22cfc5f1 100644
--- a/linux/mips/syscallent-n32.h
+++ b/linux/mips/syscallent-n32.h
@@ -108,31 +108,31 @@
 [BASE_NR +  97] = { 1,	0,		SEN(sysinfo),			"sysinfo"		},
 [BASE_NR +  98] = { 1,	0,		SEN(times),			"times"			},
 [BASE_NR +  99] = { 4,	0,		SEN(ptrace),			"ptrace"		},
-[BASE_NR + 100] = { 0,	PU|NF,		SEN(getuid),			"getuid"		},
+[BASE_NR + 100] = { 0,	CD|PU|NF,		SEN(getuid),			"getuid"		},
 [BASE_NR + 101] = { 3,	0,		SEN(syslog),			"syslog"		},
-[BASE_NR + 102] = { 0,	PU|NF,		SEN(getgid),			"getgid"		},
-[BASE_NR + 103] = { 1,	0,		SEN(setuid),			"setuid"		},
-[BASE_NR + 104] = { 1,	0,		SEN(setgid),			"setgid"		},
-[BASE_NR + 105] = { 0,	PU|NF,		SEN(geteuid),			"geteuid"		},
-[BASE_NR + 106] = { 0,	PU|NF,		SEN(getegid),			"getegid"		},
+[BASE_NR + 102] = { 0,	CD|PU|NF,		SEN(getgid),			"getgid"		},
+[BASE_NR + 103] = { 1,	CD,		SEN(setuid),			"setuid"		},
+[BASE_NR + 104] = { 1,	CD,		SEN(setgid),			"setgid"		},
+[BASE_NR + 105] = { 0,	CD|PU|NF,		SEN(geteuid),			"geteuid"		},
+[BASE_NR + 106] = { 0,	CD|PU|NF,		SEN(getegid),			"getegid"		},
 [BASE_NR + 107] = { 2,	0,		SEN(setpgid),			"setpgid"		},
 [BASE_NR + 108] = { 0,	PU|NF,		SEN(getppid),			"getppid"		},
 [BASE_NR + 109] = { 0,	PU|NF,		SEN(getpgrp),			"getpgrp"		},
 [BASE_NR + 110] = { 0,	0,		SEN(setsid),			"setsid"		},
-[BASE_NR + 111] = { 2,	0,		SEN(setreuid),			"setreuid"		},
-[BASE_NR + 112] = { 2,	0,		SEN(setregid),			"setregid"		},
-[BASE_NR + 113] = { 2,	0,		SEN(getgroups),			"getgroups"		},
-[BASE_NR + 114] = { 2,	0,		SEN(setgroups),			"setgroups"		},
-[BASE_NR + 115] = { 3,	0,		SEN(setresuid),			"setresuid"		},
-[BASE_NR + 116] = { 3,	0,		SEN(getresuid),			"getresuid"		},
-[BASE_NR + 117] = { 3,	0,		SEN(setresgid),			"setresgid"		},
-[BASE_NR + 118] = { 3,	0,		SEN(getresgid),			"getresgid"		},
+[BASE_NR + 111] = { 2,	CD,		SEN(setreuid),			"setreuid"		},
+[BASE_NR + 112] = { 2,	CD,		SEN(setregid),			"setregid"		},
+[BASE_NR + 113] = { 2,	CD,		SEN(getgroups),			"getgroups"		},
+[BASE_NR + 114] = { 2,	CD,		SEN(setgroups),			"setgroups"		},
+[BASE_NR + 115] = { 3,	CD,		SEN(setresuid),			"setresuid"		},
+[BASE_NR + 116] = { 3,	CD,		SEN(getresuid),			"getresuid"		},
+[BASE_NR + 117] = { 3,	CD,		SEN(setresgid),			"setresgid"		},
+[BASE_NR + 118] = { 3,	CD,		SEN(getresgid),			"getresgid"		},
 [BASE_NR + 119] = { 1,	0,		SEN(getpgid),			"getpgid"		},
-[BASE_NR + 120] = { 1,	NF,		SEN(setfsuid),			"setfsuid"		},
-[BASE_NR + 121] = { 1,	NF,		SEN(setfsgid),			"setfsgid"		},
+[BASE_NR + 120] = { 1,	CD|NF,		SEN(setfsuid),			"setfsuid"		},
+[BASE_NR + 121] = { 1,	CD|NF,		SEN(setfsgid),			"setfsgid"		},
 [BASE_NR + 122] = { 1,	0,		SEN(getsid),			"getsid"		},
-[BASE_NR + 123] = { 2,	0,		SEN(capget),			"capget"		},
-[BASE_NR + 124] = { 2,	0,		SEN(capset),			"capset"		},
+[BASE_NR + 123] = { 2,	CD,		SEN(capget),			"capget"		},
+[BASE_NR + 124] = { 2,	CD,		SEN(capset),			"capset"		},
 [BASE_NR + 125] = { 2,	TS,		SEN(rt_sigpending),		"rt_sigpending"		},
 [BASE_NR + 126] = { 4,	TS,		SEN(rt_sigtimedwait_time32),	"rt_sigtimedwait"	},
 [BASE_NR + 127] = { 3,	TS,		SEN(rt_sigqueueinfo),		"rt_sigqueueinfo"	},
@@ -161,7 +161,7 @@
 [BASE_NR + 150] = { 0,	0,		SEN(vhangup),			"vhangup"		},
 [BASE_NR + 151] = { 2,	TF,		SEN(pivotroot),			"pivot_root"		},
 [BASE_NR + 152] = { 1,	0,		SEN(sysctl),			"_sysctl"		},
-[BASE_NR + 153] = { 5,	0,		SEN(prctl),			"prctl"			},
+[BASE_NR + 153] = { 5,	CD,		SEN(prctl),			"prctl"			},
 [BASE_NR + 154] = { 1,	0,		SEN(adjtimex32),		"adjtimex"		},
 [BASE_NR + 155] = { 2,	0,		SEN(setrlimit),			"setrlimit"		},
 [BASE_NR + 156] = { 1,	TF,		SEN(chroot),			"chroot"		},
diff --git a/linux/mips/syscallent-n64.h b/linux/mips/syscallent-n64.h
index d8abb2b0..fe1aa111 100644
--- a/linux/mips/syscallent-n64.h
+++ b/linux/mips/syscallent-n64.h
@@ -108,31 +108,31 @@
 [BASE_NR +  97] = { 1,	0,		SEN(sysinfo),			"sysinfo"		},
 [BASE_NR +  98] = { 1,	0,		SEN(times),			"times"			},
 [BASE_NR +  99] = { 4,	0,		SEN(ptrace),			"ptrace"		},
-[BASE_NR + 100] = { 0,	PU|NF,		SEN(getuid),			"getuid"		},
+[BASE_NR + 100] = { 0,	CD|PU|NF,		SEN(getuid),			"getuid"		},
 [BASE_NR + 101] = { 3,	0,		SEN(syslog),			"syslog"		},
-[BASE_NR + 102] = { 0,	PU|NF,		SEN(getgid),			"getgid"		},
-[BASE_NR + 103] = { 1,	0,		SEN(setuid),			"setuid"		},
-[BASE_NR + 104] = { 1,	0,		SEN(setgid),			"setgid"		},
-[BASE_NR + 105] = { 0,	PU|NF,		SEN(geteuid),			"geteuid"		},
-[BASE_NR + 106] = { 0,	PU|NF,		SEN(getegid),			"getegid"		},
+[BASE_NR + 102] = { 0,	CD|PU|NF,		SEN(getgid),			"getgid"		},
+[BASE_NR + 103] = { 1,	CD,		SEN(setuid),			"setuid"		},
+[BASE_NR + 104] = { 1,	CD,		SEN(setgid),			"setgid"		},
+[BASE_NR + 105] = { 0,	CD|PU|NF,		SEN(geteuid),			"geteuid"		},
+[BASE_NR + 106] = { 0,	CD|PU|NF,		SEN(getegid),			"getegid"		},
 [BASE_NR + 107] = { 2,	0,		SEN(setpgid),			"setpgid"		},
 [BASE_NR + 108] = { 0,	PU|NF,		SEN(getppid),			"getppid"		},
 [BASE_NR + 109] = { 0,	PU|NF,		SEN(getpgrp),			"getpgrp"		},
 [BASE_NR + 110] = { 0,	0,		SEN(setsid),			"setsid"		},
-[BASE_NR + 111] = { 2,	0,		SEN(setreuid),			"setreuid"		},
-[BASE_NR + 112] = { 2,	0,		SEN(setregid),			"setregid"		},
-[BASE_NR + 113] = { 2,	0,		SEN(getgroups),			"getgroups"		},
-[BASE_NR + 114] = { 2,	0,		SEN(setgroups),			"setgroups"		},
-[BASE_NR + 115] = { 3,	0,		SEN(setresuid),			"setresuid"		},
-[BASE_NR + 116] = { 3,	0,		SEN(getresuid),			"getresuid"		},
-[BASE_NR + 117] = { 3,	0,		SEN(setresgid),			"setresgid"		},
-[BASE_NR + 118] = { 3,	0,		SEN(getresgid),			"getresgid"		},
+[BASE_NR + 111] = { 2,	CD,		SEN(setreuid),			"setreuid"		},
+[BASE_NR + 112] = { 2,	CD,		SEN(setregid),			"setregid"		},
+[BASE_NR + 113] = { 2,	CD,		SEN(getgroups),			"getgroups"		},
+[BASE_NR + 114] = { 2,	CD,		SEN(setgroups),			"setgroups"		},
+[BASE_NR + 115] = { 3,	CD,		SEN(setresuid),			"setresuid"		},
+[BASE_NR + 116] = { 3,	CD,		SEN(getresuid),			"getresuid"		},
+[BASE_NR + 117] = { 3,	CD,		SEN(setresgid),			"setresgid"		},
+[BASE_NR + 118] = { 3,	CD,		SEN(getresgid),			"getresgid"		},
 [BASE_NR + 119] = { 1,	0,		SEN(getpgid),			"getpgid"		},
-[BASE_NR + 120] = { 1,	NF,		SEN(setfsuid),			"setfsuid"		},
-[BASE_NR + 121] = { 1,	NF,		SEN(setfsgid),			"setfsgid"		},
+[BASE_NR + 120] = { 1,	CD|NF,		SEN(setfsuid),			"setfsuid"		},
+[BASE_NR + 121] = { 1,	CD|NF,		SEN(setfsgid),			"setfsgid"		},
 [BASE_NR + 122] = { 1,	0,		SEN(getsid),			"getsid"		},
-[BASE_NR + 123] = { 2,	0,		SEN(capget),			"capget"		},
-[BASE_NR + 124] = { 2,	0,		SEN(capset),			"capset"		},
+[BASE_NR + 123] = { 2,	CD,		SEN(capget),			"capget"		},
+[BASE_NR + 124] = { 2,	CD,		SEN(capset),			"capset"		},
 [BASE_NR + 125] = { 2,	TS,		SEN(rt_sigpending),		"rt_sigpending"		},
 [BASE_NR + 126] = { 4,	TS,		SEN(rt_sigtimedwait_time64),	"rt_sigtimedwait"	},
 [BASE_NR + 127] = { 3,	TS,		SEN(rt_sigqueueinfo),		"rt_sigqueueinfo"	},
@@ -161,7 +161,7 @@
 [BASE_NR + 150] = { 0,	0,		SEN(vhangup),			"vhangup"		},
 [BASE_NR + 151] = { 2,	TF,		SEN(pivotroot),			"pivot_root"		},
 [BASE_NR + 152] = { 1,	0,		SEN(sysctl),			"_sysctl"		},
-[BASE_NR + 153] = { 5,	0,		SEN(prctl),			"prctl"			},
+[BASE_NR + 153] = { 5,	CD,		SEN(prctl),			"prctl"			},
 [BASE_NR + 154] = { 1,	0,		SEN(adjtimex64),		"adjtimex"		},
 [BASE_NR + 155] = { 2,	0,		SEN(setrlimit),			"setrlimit"		},
 [BASE_NR + 156] = { 1,	TF,		SEN(chroot),			"chroot"		},
diff --git a/linux/mips/syscallent-o32.h b/linux/mips/syscallent-o32.h
index 650179d2..3109f934 100644
--- a/linux/mips/syscallent-o32.h
+++ b/linux/mips/syscallent-o32.h
@@ -32,8 +32,8 @@
 [BASE_NR +  20] = { 0,	PU|NF,		SEN(getpid),			"getpid"		},
 [BASE_NR +  21] = { 5,	TF,		SEN(mount),			"mount"			},
 [BASE_NR +  22] = { 1,	TF,		SEN(umount),			"umount"		},
-[BASE_NR +  23] = { 1,	0,		SEN(setuid),			"setuid"		},
-[BASE_NR +  24] = { 0,	PU|NF,		SEN(getuid),			"getuid"		},
+[BASE_NR +  23] = { 1,	CD,		SEN(setuid),			"setuid"		},
+[BASE_NR +  24] = { 0,	CD|PU|NF,		SEN(getuid),			"getuid"		},
 [BASE_NR +  25] = { 1,	0,		SEN(stime),			"stime"			},
 [BASE_NR +  26] = { 4,	0,		SEN(ptrace),			"ptrace"		},
 [BASE_NR +  27] = { 1,	0,		SEN(alarm),			"alarm"			},
@@ -55,11 +55,11 @@
 [BASE_NR +  43] = { 1,	0,		SEN(times),			"times"			},
 [BASE_NR +  44] = { 0,	0,		SEN(prof),			"prof"			},
 [BASE_NR +  45] = { 1,	TM|SI,		SEN(brk),			"brk"			},
-[BASE_NR +  46] = { 1,	0,		SEN(setgid),			"setgid"		},
-[BASE_NR +  47] = { 0,	PU|NF,		SEN(getgid),			"getgid"		},
+[BASE_NR +  46] = { 1,	CD,		SEN(setgid),			"setgid"		},
+[BASE_NR +  47] = { 0,	CD|PU|NF,		SEN(getgid),			"getgid"		},
 [BASE_NR +  48] = { 2,	TS,		SEN(signal),			"signal"		},
-[BASE_NR +  49] = { 0,	PU|NF,		SEN(geteuid),			"geteuid"		},
-[BASE_NR +  50] = { 0,	PU|NF,		SEN(getegid),			"getegid"		},
+[BASE_NR +  49] = { 0,	CD|PU|NF,		SEN(geteuid),			"geteuid"		},
+[BASE_NR +  50] = { 0,	CD|PU|NF,		SEN(getegid),			"getegid"		},
 [BASE_NR +  51] = { 1,	TF,		SEN(acct),			"acct"			},
 [BASE_NR +  52] = { 2,	TF,		SEN(umount2),			"umount2"		},
 [BASE_NR +  53] = { 0,	0,		SEN(lock),			"lock"			},
@@ -79,8 +79,8 @@
 [BASE_NR +  67] = { 3,	TS,		SEN(sigaction),			"sigaction"		},
 [BASE_NR +  68] = { 0,	TS,		SEN(sgetmask),			"sgetmask"		},
 [BASE_NR +  69] = { 1,	TS,		SEN(ssetmask),			"ssetmask"		},
-[BASE_NR +  70] = { 2,	0,		SEN(setreuid),			"setreuid"		},
-[BASE_NR +  71] = { 2,	0,		SEN(setregid),			"setregid"		},
+[BASE_NR +  70] = { 2,	CD,		SEN(setreuid),			"setreuid"		},
+[BASE_NR +  71] = { 2,	CD,		SEN(setregid),			"setregid"		},
 [BASE_NR +  72] = { 1,	TS,		SEN(sigsuspend),		"sigsuspend"		},
 [BASE_NR +  73] = { 1,	TS,		SEN(sigpending),		"sigpending"		},
 [BASE_NR +  74] = { 2,	0,		SEN(sethostname),		"sethostname"		},
@@ -89,8 +89,8 @@
 [BASE_NR +  77] = { 2,	0,		SEN(getrusage),			"getrusage"		},
 [BASE_NR +  78] = { 2,	0,		SEN(gettimeofday),		"gettimeofday"		},
 [BASE_NR +  79] = { 2,	0,		SEN(settimeofday),		"settimeofday"		},
-[BASE_NR +  80] = { 2,	0,		SEN(getgroups),			"getgroups"		},
-[BASE_NR +  81] = { 2,	0,		SEN(setgroups),			"setgroups"		},
+[BASE_NR +  80] = { 2,	CD,		SEN(getgroups),			"getgroups"		},
+[BASE_NR +  81] = { 2,	CD,		SEN(setgroups),			"setgroups"		},
 [BASE_NR +  82] = { 0,	0,		SEN(printargs),			"reserved82"		},
 [BASE_NR +  83] = { 2,	TF,		SEN(symlink),			"symlink"		},
 [BASE_NR +  84] = { 2,	TF|TLST|TSTA,	SEN(oldlstat),			"oldlstat"		},
@@ -147,8 +147,8 @@
 [BASE_NR + 135] = { 3,	0,		SEN(sysfs),			"sysfs"			},
 [BASE_NR + 136] = { 1,	NF,		SEN(personality),		"personality"		},
 [BASE_NR + 137] = { 0,	0,		SEN(afs_syscall),		"afs_syscall"		},
-[BASE_NR + 138] = { 1,	NF,		SEN(setfsuid),			"setfsuid"		},
-[BASE_NR + 139] = { 1,	NF,		SEN(setfsgid),			"setfsgid"		},
+[BASE_NR + 138] = { 1,	CD|NF,		SEN(setfsuid),			"setfsuid"		},
+[BASE_NR + 139] = { 1,	CD|NF,		SEN(setfsgid),			"setfsgid"		},
 [BASE_NR + 140] = { 5,	TD,		SEN(llseek),			"_llseek"		},
 [BASE_NR + 141] = { 3,	TD,		SEN(getdents),			"getdents"		},
 [BASE_NR + 142] = { 5,	TD,		SEN(select),			"_newselect"		},
@@ -194,14 +194,14 @@
 [BASE_NR + 182] = { 2,	TN,		SEN(shutdown),			"shutdown"		},
 [BASE_NR + 183] = { 3,	TN,		SEN(socket),			"socket"		},
 [BASE_NR + 184] = { 4,	TN,		SEN(socketpair),		"socketpair"		},
-[BASE_NR + 185] = { 3,	0,		SEN(setresuid),			"setresuid"		},
-[BASE_NR + 186] = { 3,	0,		SEN(getresuid),			"getresuid"		},
+[BASE_NR + 185] = { 3,	CD,		SEN(setresuid),			"setresuid"		},
+[BASE_NR + 186] = { 3,	CD,		SEN(getresuid),			"getresuid"		},
 [BASE_NR + 187] = { 5,	0,		SEN(query_module),		"query_module"		},
 [BASE_NR + 188] = { 3,	TD,		SEN(poll_time32),		"poll"			},
 [BASE_NR + 189] = { 3,	0,		SEN(nfsservctl),		"nfsservctl"		},
-[BASE_NR + 190] = { 3,	0,		SEN(setresgid),			"setresgid"		},
-[BASE_NR + 191] = { 3,	0,		SEN(getresgid),			"getresgid"		},
-[BASE_NR + 192] = { 5,	0,		SEN(prctl),			"prctl"			},
+[BASE_NR + 190] = { 3,	CD,		SEN(setresgid),			"setresgid"		},
+[BASE_NR + 191] = { 3,	CD,		SEN(getresgid),			"getresgid"		},
+[BASE_NR + 192] = { 5,	CD,		SEN(prctl),			"prctl"			},
 [BASE_NR + 193] = { 0,	TS,		SEN(rt_sigreturn),		"rt_sigreturn"		},
 [BASE_NR + 194] = { 4,	TS,		SEN(rt_sigaction),		"rt_sigaction"		},
 [BASE_NR + 195] = { 4,	TS,		SEN(rt_sigprocmask),		"rt_sigprocmask"	},
@@ -213,8 +213,8 @@
 [BASE_NR + 201] = { 6,	TD,		SEN(pwrite),			"pwrite64"		},
 [BASE_NR + 202] = { 3,	TF,		SEN(chown),			"chown"			},
 [BASE_NR + 203] = { 2,	TF,		SEN(getcwd),			"getcwd"		},
-[BASE_NR + 204] = { 2,	0,		SEN(capget),			"capget"		},
-[BASE_NR + 205] = { 2,	0,		SEN(capset),			"capset"		},
+[BASE_NR + 204] = { 2,	CD,		SEN(capget),			"capget"		},
+[BASE_NR + 205] = { 2,	CD,		SEN(capset),			"capset"		},
 [BASE_NR + 206] = { 2,	TS,		SEN(sigaltstack),		"sigaltstack"		},
 [BASE_NR + 207] = { 4,	TD|TN,		SEN(sendfile),			"sendfile"		},
 [BASE_NR + 208] = { 5,	TN,		SEN(getpmsg),			"getpmsg"		},
diff --git a/linux/powerpc/syscallent.h b/linux/powerpc/syscallent.h
index 104a6e23..6d68ebbe 100644
--- a/linux/powerpc/syscallent.h
+++ b/linux/powerpc/syscallent.h
@@ -30,8 +30,8 @@
 [ 20] = { 0,	PU|NF,		SEN(getpid),			"getpid"		},
 [ 21] = { 5,	TF,		SEN(mount),			"mount"			},
 [ 22] = { 1,	TF,		SEN(umount),			"umount"		},
-[ 23] = { 1,	0,		SEN(setuid),			"setuid"		},
-[ 24] = { 0,	PU|NF,		SEN(getuid),			"getuid"		},
+[ 23] = { 1,	CD,		SEN(setuid),			"setuid"		},
+[ 24] = { 0,	CD|PU|NF,		SEN(getuid),			"getuid"		},
 [ 25] = { 1,	0,		SEN(stime),			"stime"			},
 [ 26] = { 4,	0,		SEN(ptrace),			"ptrace"		},
 [ 27] = { 1,	0,		SEN(alarm),			"alarm"			},
@@ -53,11 +53,11 @@
 [ 43] = { 1,	0,		SEN(times),			"times"			},
 [ 44] = { 0,	0,		SEN(prof),			"prof"			},
 [ 45] = { 1,	TM|SI,		SEN(brk),			"brk"			},
-[ 46] = { 1,	0,		SEN(setgid),			"setgid"		},
-[ 47] = { 0,	PU|NF,		SEN(getgid),			"getgid"		},
+[ 46] = { 1,	CD,		SEN(setgid),			"setgid"		},
+[ 47] = { 0,	CD|PU|NF,		SEN(getgid),			"getgid"		},
 [ 48] = { 2,	TS,		SEN(signal),			"signal"		},
-[ 49] = { 0,	PU|NF,		SEN(geteuid),			"geteuid"		},
-[ 50] = { 0,	PU|NF,		SEN(getegid),			"getegid"		},
+[ 49] = { 0,	CD|PU|NF,		SEN(geteuid),			"geteuid"		},
+[ 50] = { 0,	CD|PU|NF,		SEN(getegid),			"getegid"		},
 [ 51] = { 1,	TF,		SEN(acct),			"acct"			},
 [ 52] = { 2,	TF,		SEN(umount2),			"umount2"		},
 [ 53] = { 0,	0,		SEN(lock),			"lock"			},
@@ -77,8 +77,8 @@
 [ 67] = { 3,	TS,		SEN(sigaction),			"sigaction"		},
 [ 68] = { 0,	TS,		SEN(sgetmask),			"sgetmask"		},
 [ 69] = { 1,	TS,		SEN(ssetmask),			"ssetmask"		},
-[ 70] = { 2,	0,		SEN(setreuid),			"setreuid"		},
-[ 71] = { 2,	0,		SEN(setregid),			"setregid"		},
+[ 70] = { 2,	CD,		SEN(setreuid),			"setreuid"		},
+[ 71] = { 2,	CD,		SEN(setregid),			"setregid"		},
 [ 72] = { 1,	TS,		SEN(sigsuspend),		"sigsuspend"		},
 [ 73] = { 1,	TS,		SEN(sigpending),		"sigpending"		},
 [ 74] = { 2,	0,		SEN(sethostname),		"sethostname"		},
@@ -87,8 +87,8 @@
 [ 77] = { 2,	0,		SEN(getrusage),			"getrusage"		},
 [ 78] = { 2,	0,		SEN(gettimeofday),		"gettimeofday"		},
 [ 79] = { 2,	0,		SEN(settimeofday),		"settimeofday"		},
-[ 80] = { 2,	0,		SEN(getgroups),			"getgroups"		},
-[ 81] = { 2,	0,		SEN(setgroups),			"setgroups"		},
+[ 80] = { 2,	CD,		SEN(getgroups),			"getgroups"		},
+[ 81] = { 2,	CD,		SEN(setgroups),			"setgroups"		},
 [ 82] = { 1,	TD,		SEN(oldselect),			"select"		},
 [ 83] = { 2,	TF,		SEN(symlink),			"symlink"		},
 [ 84] = { 2,	TF|TLST|TSTA,	SEN(oldlstat),			"oldlstat"		},
@@ -145,8 +145,8 @@
 [135] = { 3,	0,		SEN(sysfs),			"sysfs"			},
 [136] = { 1,	NF,		SEN(personality),		"personality"		},
 [137] = { 5,	0,		SEN(afs_syscall),		"afs_syscall"		},
-[138] = { 1,	NF,		SEN(setfsuid),			"setfsuid"		},
-[139] = { 1,	NF,		SEN(setfsgid),			"setfsgid"		},
+[138] = { 1,	CD|NF,		SEN(setfsuid),			"setfsuid"		},
+[139] = { 1,	CD|NF,		SEN(setfsgid),			"setfsgid"		},
 [140] = { 5,	TD,		SEN(llseek),			"_llseek"		},
 [141] = { 3,	TD,		SEN(getdents),			"getdents"		},
 [142] = { 5,	TD,		SEN(select),			"_newselect"		},
@@ -171,14 +171,14 @@
 [161] = { 2,	0,		SEN(sched_rr_get_interval_time32),"sched_rr_get_interval"},
 [162] = { 2,	0,		SEN(nanosleep_time32),		"nanosleep"		},
 [163] = { 5,	TM|SI,		SEN(mremap),			"mremap"		},
-[164] = { 3,	0,		SEN(setresuid),			"setresuid"		},
-[165] = { 3,	0,		SEN(getresuid),			"getresuid"		},
+[164] = { 3,	CD,		SEN(setresuid),			"setresuid"		},
+[165] = { 3,	CD,		SEN(getresuid),			"getresuid"		},
 [166] = { 5,	0,		SEN(query_module),		"query_module"		},
 [167] = { 3,	TD,		SEN(poll_time32),		"poll"			},
 [168] = { 3,	0,		SEN(nfsservctl),		"nfsservctl"		},
-[169] = { 3,	0,		SEN(setresgid),			"setresgid"		},
-[170] = { 3,	0,		SEN(getresgid),			"getresgid"		},
-[171] = { 5,	0,		SEN(prctl),			"prctl"			},
+[169] = { 3,	CD,		SEN(setresgid),			"setresgid"		},
+[170] = { 3,	CD,		SEN(getresgid),			"getresgid"		},
+[171] = { 5,	CD,		SEN(prctl),			"prctl"			},
 [172] = { 0,	TS,		SEN(rt_sigreturn),		"rt_sigreturn"		},
 [173] = { 4,	TS,		SEN(rt_sigaction),		"rt_sigaction"		},
 [174] = { 4,	TS,		SEN(rt_sigprocmask),		"rt_sigprocmask"	},
@@ -190,8 +190,8 @@
 [180] = { 6,	TD,		SEN(pwrite),			"pwrite64"		},
 [181] = { 3,	TF,		SEN(chown),			"chown"			},
 [182] = { 2,	TF,		SEN(getcwd),			"getcwd"		},
-[183] = { 2,	0,		SEN(capget),			"capget"		},
-[184] = { 2,	0,		SEN(capset),			"capset"		},
+[183] = { 2,	CD,		SEN(capget),			"capget"		},
+[184] = { 2,	CD,		SEN(capset),			"capset"		},
 [185] = { 2,	TS,		SEN(sigaltstack),		"sigaltstack"		},
 [186] = { 4,	TD|TN,		SEN(sendfile),			"sendfile"		},
 [187] = { 5,	TN,		SEN(getpmsg),			"getpmsg"		},
diff --git a/linux/powerpc64/syscallent.h b/linux/powerpc64/syscallent.h
index 06c223a5..31dd6d82 100644
--- a/linux/powerpc64/syscallent.h
+++ b/linux/powerpc64/syscallent.h
@@ -30,8 +30,8 @@
 [ 20] = { 0,	PU|NF,		SEN(getpid),			"getpid"		},
 [ 21] = { 5,	TF,		SEN(mount),			"mount"			},
 [ 22] = { 1,	TF,		SEN(umount),			"umount"		},
-[ 23] = { 1,	0,		SEN(setuid),			"setuid"		},
-[ 24] = { 0,	PU|NF,		SEN(getuid),			"getuid"		},
+[ 23] = { 1,	CD,		SEN(setuid),			"setuid"		},
+[ 24] = { 0,	CD|PU|NF,		SEN(getuid),			"getuid"		},
 [ 25] = { 1,	0,		SEN(stime),			"stime"			},
 [ 26] = { 4,	0,		SEN(ptrace),			"ptrace"		},
 [ 27] = { 1,	0,		SEN(alarm),			"alarm"			},
@@ -53,11 +53,11 @@
 [ 43] = { 1,	0,		SEN(times),			"times"			},
 [ 44] = { 0,	0,		SEN(prof),			"prof"			},
 [ 45] = { 1,	TM|SI,		SEN(brk),			"brk"			},
-[ 46] = { 1,	0,		SEN(setgid),			"setgid"		},
-[ 47] = { 0,	PU|NF,		SEN(getgid),			"getgid"		},
+[ 46] = { 1,	CD,		SEN(setgid),			"setgid"		},
+[ 47] = { 0,	CD|PU|NF,		SEN(getgid),			"getgid"		},
 [ 48] = { 2,	TS,		SEN(signal),			"signal"		},
-[ 49] = { 0,	PU|NF,		SEN(geteuid),			"geteuid"		},
-[ 50] = { 0,	PU|NF,		SEN(getegid),			"getegid"		},
+[ 49] = { 0,	CD|PU|NF,		SEN(geteuid),			"geteuid"		},
+[ 50] = { 0,	CD|PU|NF,		SEN(getegid),			"getegid"		},
 [ 51] = { 1,	TF,		SEN(acct),			"acct"			},
 [ 52] = { 2,	TF,		SEN(umount2),			"umount2"		},
 [ 53] = { 0,	0,		SEN(lock),			"lock"			},
@@ -77,8 +77,8 @@
 [ 67] = { 3,	TS,		SEN(sigaction),			"sigaction"		},
 [ 68] = { 0,	TS,		SEN(sgetmask),			"sgetmask"		},
 [ 69] = { 1,	TS,		SEN(ssetmask),			"ssetmask"		},
-[ 70] = { 2,	0,		SEN(setreuid),			"setreuid"		},
-[ 71] = { 2,	0,		SEN(setregid),			"setregid"		},
+[ 70] = { 2,	CD,		SEN(setreuid),			"setreuid"		},
+[ 71] = { 2,	CD,		SEN(setregid),			"setregid"		},
 [ 72] = { 1,	TS,		SEN(sigsuspend),		"sigsuspend"		},
 [ 73] = { 1,	TS,		SEN(sigpending),		"sigpending"		},
 [ 74] = { 2,	0,		SEN(sethostname),		"sethostname"		},
@@ -87,8 +87,8 @@
 [ 77] = { 2,	0,		SEN(getrusage),			"getrusage"		},
 [ 78] = { 2,	0,		SEN(gettimeofday),		"gettimeofday"		},
 [ 79] = { 2,	0,		SEN(settimeofday),		"settimeofday"		},
-[ 80] = { 2,	0,		SEN(getgroups),			"getgroups"		},
-[ 81] = { 2,	0,		SEN(setgroups),			"setgroups"		},
+[ 80] = { 2,	CD,		SEN(getgroups),			"getgroups"		},
+[ 81] = { 2,	CD,		SEN(setgroups),			"setgroups"		},
 [ 82] = { 1,	TD,		SEN(oldselect),			"select"		},
 [ 83] = { 2,	TF,		SEN(symlink),			"symlink"		},
 [ 84] = { 2,	TF|TLST|TSTA,	SEN(oldlstat),			"oldlstat"		},
@@ -145,8 +145,8 @@
 [135] = { 3,	0,		SEN(sysfs),			"sysfs"			},
 [136] = { 1,	NF,		SEN(personality),		"personality"		},
 [137] = { 5,	0,		SEN(afs_syscall),		"afs_syscall"		},
-[138] = { 1,	NF,		SEN(setfsuid),			"setfsuid"		},
-[139] = { 1,	NF,		SEN(setfsgid),			"setfsgid"		},
+[138] = { 1,	CD|NF,		SEN(setfsuid),			"setfsuid"		},
+[139] = { 1,	CD|NF,		SEN(setfsgid),			"setfsgid"		},
 [140] = { 5,	TD,		SEN(llseek),			"_llseek"		},
 [141] = { 3,	TD,		SEN(getdents),			"getdents"		},
 [142] = { 5,	TD,		SEN(select),			"_newselect"		},
@@ -171,14 +171,14 @@
 [161] = { 2,	0,		SEN(sched_rr_get_interval_time64),"sched_rr_get_interval"},
 [162] = { 2,	0,		SEN(nanosleep_time64),		"nanosleep"		},
 [163] = { 5,	TM|SI,		SEN(mremap),			"mremap"		},
-[164] = { 3,	0,		SEN(setresuid),			"setresuid"		},
-[165] = { 3,	0,		SEN(getresuid),			"getresuid"		},
+[164] = { 3,	CD,		SEN(setresuid),			"setresuid"		},
+[165] = { 3,	CD,		SEN(getresuid),			"getresuid"		},
 [166] = { 5,	0,		SEN(query_module),		"query_module"		},
 [167] = { 3,	TD,		SEN(poll_time64),		"poll"			},
 [168] = { 3,	0,		SEN(nfsservctl),		"nfsservctl"		},
-[169] = { 3,	0,		SEN(setresgid),			"setresgid"		},
-[170] = { 3,	0,		SEN(getresgid),			"getresgid"		},
-[171] = { 5,	0,		SEN(prctl),			"prctl"			},
+[169] = { 3,	CD,		SEN(setresgid),			"setresgid"		},
+[170] = { 3,	CD,		SEN(getresgid),			"getresgid"		},
+[171] = { 5,	CD,		SEN(prctl),			"prctl"			},
 [172] = { 0,	TS,		SEN(rt_sigreturn),		"rt_sigreturn"		},
 [173] = { 4,	TS,		SEN(rt_sigaction),		"rt_sigaction"		},
 [174] = { 4,	TS,		SEN(rt_sigprocmask),		"rt_sigprocmask"	},
@@ -190,8 +190,8 @@
 [180] = { 4,	TD,		SEN(pwrite),			"pwrite64"		},
 [181] = { 3,	TF,		SEN(chown),			"chown"			},
 [182] = { 2,	TF,		SEN(getcwd),			"getcwd"		},
-[183] = { 2,	0,		SEN(capget),			"capget"		},
-[184] = { 2,	0,		SEN(capset),			"capset"		},
+[183] = { 2,	CD,		SEN(capget),			"capget"		},
+[184] = { 2,	CD,		SEN(capset),			"capset"		},
 [185] = { 2,	TS,		SEN(sigaltstack),		"sigaltstack"		},
 [186] = { 4,	TD|TN,		SEN(sendfile),			"sendfile"		},
 [187] = { 5,	TN,		SEN(getpmsg),			"getpmsg"		},
diff --git a/linux/s390/syscallent.h b/linux/s390/syscallent.h
index 826a3c62..e838dc40 100644
--- a/linux/s390/syscallent.h
+++ b/linux/s390/syscallent.h
@@ -32,8 +32,8 @@
 [ 20] = { 0,	PU|NF,		SEN(getpid),			"getpid"		},
 [ 21] = { 5,	TF,		SEN(mount),			"mount"			},
 [ 22] = { 1,	TF,		SEN(umount),			"umount"		},
-[ 23] = { 1,	0,		SEN(setuid16),			"setuid"		},
-[ 24] = { 0,	PU|NF,		SEN(getuid16),			"getuid"		},
+[ 23] = { 1,	CD,		SEN(setuid16),			"setuid"		},
+[ 24] = { 0,	CD|PU|NF,		SEN(getuid16),			"getuid"		},
 [ 25] = { 1,	0,		SEN(stime),			"stime"			},
 [ 26] = { 4,	0,		SEN(ptrace),			"ptrace"		},
 [ 27] = { 1,	0,		SEN(alarm),			"alarm"			},
@@ -55,11 +55,11 @@
 [ 43] = { 1,	0,		SEN(times),			"times"			},
 [ 44] = { },
 [ 45] = { 1,	TM|SI,		SEN(brk),			"brk"			},
-[ 46] = { 1,	0,		SEN(setgid16),			"setgid"		},
-[ 47] = { 0,	PU|NF,		SEN(getgid16),			"getgid"		},
+[ 46] = { 1,	CD,		SEN(setgid16),			"setgid"		},
+[ 47] = { 0,	CD|PU|NF,		SEN(getgid16),			"getgid"		},
 [ 48] = { 2,	TS,		SEN(signal),			"signal"		},
-[ 49] = { 0,	PU|NF,		SEN(geteuid16),			"geteuid"		},
-[ 50] = { 0,	PU|NF,		SEN(getegid16),			"getegid"		},
+[ 49] = { 0,	CD|PU|NF,		SEN(geteuid16),			"geteuid"		},
+[ 50] = { 0,	CD|PU|NF,		SEN(getegid16),			"getegid"		},
 [ 51] = { 1,	TF,		SEN(acct),			"acct"			},
 [ 52] = { 2,	TF,		SEN(umount2),			"umount2"		},
 [ 53] = { },
@@ -79,8 +79,8 @@
 [ 67] = { 3,	TS,		SEN(sigaction),			"sigaction"		},
 [ 68] = { },
 [ 69] = { },
-[ 70] = { 2,	0,		SEN(setreuid16),		"setreuid"		},
-[ 71] = { 2,	0,		SEN(setregid16),		"setregid"		},
+[ 70] = { 2,	CD,		SEN(setreuid16),		"setreuid"		},
+[ 71] = { 2,	CD,		SEN(setregid16),		"setregid"		},
 [ 72] = { 3,	TS,		SEN(sigsuspend),		"sigsuspend"		},
 [ 73] = { 1,	TS,		SEN(sigpending),		"sigpending"		},
 [ 74] = { 2,	0,		SEN(sethostname),		"sethostname"		},
@@ -89,8 +89,8 @@
 [ 77] = { 2,	0,		SEN(getrusage),			"getrusage"		},
 [ 78] = { 2,	0,		SEN(gettimeofday),		"gettimeofday"		},
 [ 79] = { 2,	0,		SEN(settimeofday),		"settimeofday"		},
-[ 80] = { 2,	0,		SEN(getgroups16),		"getgroups"		},
-[ 81] = { 2,	0,		SEN(setgroups16),		"setgroups"		},
+[ 80] = { 2,	CD,		SEN(getgroups16),		"getgroups"		},
+[ 81] = { 2,	CD,		SEN(setgroups16),		"setgroups"		},
 [ 82] = { },
 [ 83] = { 2,	TF,		SEN(symlink),			"symlink"		},
 [ 84] = { },
@@ -147,8 +147,8 @@
 [135] = { 3,	0,		SEN(sysfs),			"sysfs"			},
 [136] = { 1,	NF,		SEN(personality),		"personality"		},
 [137] = { 5,	0,		SEN(afs_syscall),		"afs_syscall"		},
-[138] = { 1,	NF,		SEN(setfsuid16),		"setfsuid"		},
-[139] = { 1,	NF,		SEN(setfsgid16),		"setfsgid"		},
+[138] = { 1,	CD|NF,		SEN(setfsuid16),		"setfsuid"		},
+[139] = { 1,	CD|NF,		SEN(setfsgid16),		"setfsgid"		},
 [140] = { 5,	TD,		SEN(llseek),			"_llseek"		},
 [141] = { 3,	TD,		SEN(getdents),			"getdents"		},
 [142] = { 5,	TD,		SEN(select),			"_newselect"		},
@@ -173,15 +173,15 @@
 [161] = { 2,	0,		SEN(sched_rr_get_interval_time32),"sched_rr_get_interval"},
 [162] = { 2,	0,		SEN(nanosleep_time32),		"nanosleep"		},
 [163] = { 5,	TM|SI,		SEN(mremap),			"mremap"		},
-[164] = { 3,	0,		SEN(setresuid16),		"setresuid"		},
-[165] = { 3,	0,		SEN(getresuid16),		"getresuid"		},
+[164] = { 3,	CD,		SEN(setresuid16),		"setresuid"		},
+[165] = { 3,	CD,		SEN(getresuid16),		"getresuid"		},
 [166] = { },
 [167] = { 5,	0,		SEN(query_module),		"query_module"		},
 [168] = { 3,	TD,		SEN(poll_time32),		"poll"			},
 [169] = { 3,	0,		SEN(nfsservctl),		"nfsservctl"		},
-[170] = { 3,	0,		SEN(setresgid16),		"setresgid"		},
-[171] = { 3,	0,		SEN(getresgid16),		"getresgid"		},
-[172] = { 5,	0,		SEN(prctl),			"prctl"			},
+[170] = { 3,	CD,		SEN(setresgid16),		"setresgid"		},
+[171] = { 3,	CD,		SEN(getresgid16),		"getresgid"		},
+[172] = { 5,	CD,		SEN(prctl),			"prctl"			},
 [173] = { 0,	TS,		SEN(rt_sigreturn),		"rt_sigreturn"		},
 [174] = { 4,	TS,		SEN(rt_sigaction),		"rt_sigaction"		},
 [175] = { 4,	TS,		SEN(rt_sigprocmask),		"rt_sigprocmask"	},
@@ -193,8 +193,8 @@
 [181] = { 5,	TD,		SEN(pwrite),			"pwrite64"		},
 [182] = { 3,	TF,		SEN(chown16),			"chown"			},
 [183] = { 2,	TF,		SEN(getcwd),			"getcwd"		},
-[184] = { 2,	0,		SEN(capget),			"capget"		},
-[185] = { 2,	0,		SEN(capset),			"capset"		},
+[184] = { 2,	CD,		SEN(capget),			"capget"		},
+[185] = { 2,	CD,		SEN(capset),			"capset"		},
 [186] = { 2,	TS,		SEN(sigaltstack),		"sigaltstack"		},
 [187] = { 4,	TD|TN,		SEN(sendfile),			"sendfile"		},
 [188] = { 5,	TN,		SEN(getpmsg),			"getpmsg"		},
@@ -208,24 +208,24 @@
 [196] = { 2,	TF|TLST|TSTA,	SEN(lstat64),			"lstat64"		},
 [197] = { 2,	TD|TFST|TSTA,	SEN(fstat64),			"fstat64"		},
 [198] = { 3,	TF,		SEN(chown),			"lchown32"		},
-[199] = { 0,	PU|NF,		SEN(getuid),			"getuid32"		},
-[200] = { 0,	PU|NF,		SEN(getgid),			"getgid32"		},
-[201] = { 0,	PU|NF,		SEN(geteuid),			"geteuid32"		},
-[202] = { 0,	PU|NF,		SEN(getegid),			"getegid32"		},
-[203] = { 2,	0,		SEN(setreuid),			"setreuid32"		},
-[204] = { 2,	0,		SEN(setregid),			"setregid32"		},
-[205] = { 2,	0,		SEN(getgroups),			"getgroups32"		},
-[206] = { 2,	0,		SEN(setgroups),			"setgroups32"		},
+[199] = { 0,	CD|PU|NF,		SEN(getuid),			"getuid32"		},
+[200] = { 0,	CD|PU|NF,		SEN(getgid),			"getgid32"		},
+[201] = { 0,	CD|PU|NF,		SEN(geteuid),			"geteuid32"		},
+[202] = { 0,	CD|PU|NF,		SEN(getegid),			"getegid32"		},
+[203] = { 2,	CD,		SEN(setreuid),			"setreuid32"		},
+[204] = { 2,	CD,		SEN(setregid),			"setregid32"		},
+[205] = { 2,	CD,		SEN(getgroups),			"getgroups32"		},
+[206] = { 2,	CD,		SEN(setgroups),			"setgroups32"		},
 [207] = { 3,	TD,		SEN(fchown),			"fchown32"		},
-[208] = { 3,	0,		SEN(setresuid),			"setresuid32"		},
-[209] = { 3,	0,		SEN(getresuid),			"getresuid32"		},
-[210] = { 3,	0,		SEN(setresgid),			"setresgid32"		},
-[211] = { 3,	0,		SEN(getresgid),			"getresgid32"		},
+[208] = { 3,	CD,		SEN(setresuid),			"setresuid32"		},
+[209] = { 3,	CD,		SEN(getresuid),			"getresuid32"		},
+[210] = { 3,	CD,		SEN(setresgid),			"setresgid32"		},
+[211] = { 3,	CD,		SEN(getresgid),			"getresgid32"		},
 [212] = { 3,	TF,		SEN(chown),			"chown32"		},
-[213] = { 1,	0,		SEN(setuid),			"setuid32"		},
-[214] = { 1,	0,		SEN(setgid),			"setgid32"		},
-[215] = { 1,	NF,		SEN(setfsuid),			"setfsuid32"		},
-[216] = { 1,	NF,		SEN(setfsgid),			"setfsgid32"		},
+[213] = { 1,	CD,		SEN(setuid),			"setuid32"		},
+[214] = { 1,	CD,		SEN(setgid),			"setgid32"		},
+[215] = { 1,	CD|NF,		SEN(setfsuid),			"setfsuid32"		},
+[216] = { 1,	CD|NF,		SEN(setfsgid),			"setfsgid32"		},
 [217] = { 2,	TF,		SEN(pivotroot),			"pivot_root"		},
 [218] = { 3,	TM,		SEN(mincore),			"mincore"		},
 [219] = { 3,	TM,		SEN(madvise),			"madvise"		},
diff --git a/linux/s390x/syscallent.h b/linux/s390x/syscallent.h
index 7c35e7f9..0d072749 100644
--- a/linux/s390x/syscallent.h
+++ b/linux/s390x/syscallent.h
@@ -170,7 +170,7 @@
 [168] = { 3,	TD,		SEN(poll_time64),		"poll"			},
 [169] = { 3,	0,		SEN(nfsservctl),		"nfsservctl"		},
 [170 ... 171] = { },
-[172] = { 5,	0,		SEN(prctl),			"prctl"			},
+[172] = { 5,	CD,		SEN(prctl),			"prctl"			},
 [173] = { 0,	TS,		SEN(rt_sigreturn),		"rt_sigreturn"		},
 [174] = { 4,	TS,		SEN(rt_sigaction),		"rt_sigaction"		},
 [175] = { 4,	TS,		SEN(rt_sigprocmask),		"rt_sigprocmask"	},
@@ -182,8 +182,8 @@
 [181] = { 4,	TD,		SEN(pwrite),			"pwrite64"		},
 [182] = { },
 [183] = { 2,	TF,		SEN(getcwd),			"getcwd"		},
-[184] = { 2,	0,		SEN(capget),			"capget"		},
-[185] = { 2,	0,		SEN(capset),			"capset"		},
+[184] = { 2,	CD,		SEN(capget),			"capget"		},
+[185] = { 2,	CD,		SEN(capset),			"capset"		},
 [186] = { 2,	TS,		SEN(sigaltstack),		"sigaltstack"		},
 [187] = { 4,	TD|TN,		SEN(sendfile),			"sendfile"		},
 [188] = { 5,	TN,		SEN(getpmsg),			"getpmsg"		},
@@ -192,24 +192,24 @@
 [191] = { 2,	0,		SEN(getrlimit),			"getrlimit"		},
 [196 ... 197] = { },
 [198] = { 3,	TF,		SEN(chown),			"lchown"		},
-[199] = { 0,	PU|NF,		SEN(getuid),			"getuid"		},
-[200] = { 0,	PU|NF,		SEN(getgid),			"getgid"		},
-[201] = { 0,	PU|NF,		SEN(geteuid),			"geteuid"		},
-[202] = { 0,	PU|NF,		SEN(getegid),			"getegid"		},
-[203] = { 2,	0,		SEN(setreuid),			"setreuid"		},
-[204] = { 2,	0,		SEN(setregid),			"setregid"		},
-[205] = { 2,	0,		SEN(getgroups),			"getgroups"		},
-[206] = { 2,	0,		SEN(setgroups),			"setgroups"		},
+[199] = { 0,	CD|PU|NF,		SEN(getuid),			"getuid"		},
+[200] = { 0,	CD|PU|NF,		SEN(getgid),			"getgid"		},
+[201] = { 0,	CD|PU|NF,		SEN(geteuid),			"geteuid"		},
+[202] = { 0,	CD|PU|NF,		SEN(getegid),			"getegid"		},
+[203] = { 2,	CD,		SEN(setreuid),			"setreuid"		},
+[204] = { 2,	CD,		SEN(setregid),			"setregid"		},
+[205] = { 2,	CD,		SEN(getgroups),			"getgroups"		},
+[206] = { 2,	CD,		SEN(setgroups),			"setgroups"		},
 [207] = { 3,	TD,		SEN(fchown),			"fchown"		},
-[208] = { 3,	0,		SEN(setresuid),			"setresuid"		},
-[209] = { 3,	0,		SEN(getresuid),			"getresuid"		},
-[210] = { 3,	0,		SEN(setresgid),			"setresgid"		},
-[211] = { 3,	0,		SEN(getresgid),			"getresgid"		},
+[208] = { 3,	CD,		SEN(setresuid),			"setresuid"		},
+[209] = { 3,	CD,		SEN(getresuid),			"getresuid"		},
+[210] = { 3,	CD,		SEN(setresgid),			"setresgid"		},
+[211] = { 3,	CD,		SEN(getresgid),			"getresgid"		},
 [212] = { 3,	TF,		SEN(chown),			"chown"			},
-[213] = { 1,	0,		SEN(setuid),			"setuid"		},
-[214] = { 1,	0,		SEN(setgid),			"setgid"		},
-[215] = { 1,	NF,		SEN(setfsuid),			"setfsuid"		},
-[216] = { 1,	NF,		SEN(setfsgid),			"setfsgid"		},
+[213] = { 1,	CD,		SEN(setuid),			"setuid"		},
+[214] = { 1,	CD,		SEN(setgid),			"setgid"		},
+[215] = { 1,	CD|NF,		SEN(setfsuid),			"setfsuid"		},
+[216] = { 1,	CD|NF,		SEN(setfsgid),			"setfsgid"		},
 [217] = { 2,	TF,		SEN(pivotroot),			"pivot_root"		},
 [218] = { 3,	TM,		SEN(mincore),			"mincore"		},
 [219] = { 3,	TM,		SEN(madvise),			"madvise"		},
diff --git a/linux/sh/syscallent.h b/linux/sh/syscallent.h
index 5ed56927..92d54d1d 100644
--- a/linux/sh/syscallent.h
+++ b/linux/sh/syscallent.h
@@ -32,8 +32,8 @@
 [ 20] = { 0,	PU|NF,		SEN(getpid),			"getpid"		},
 [ 21] = { 5,	TF,		SEN(mount),			"mount"			},
 [ 22] = { 1,	TF,		SEN(umount),			"umount"		},
-[ 23] = { 1,	0,		SEN(setuid16),			"setuid"		},
-[ 24] = { 0,	PU|NF,		SEN(getuid16),			"getuid"		},
+[ 23] = { 1,	CD,		SEN(setuid16),			"setuid"		},
+[ 24] = { 0,	CD|PU|NF,		SEN(getuid16),			"getuid"		},
 [ 25] = { 1,	0,		SEN(stime),			"stime"			},
 [ 26] = { 4,	0,		SEN(ptrace),			"ptrace"		},
 [ 27] = { 1,	0,		SEN(alarm),			"alarm"			},
@@ -55,11 +55,11 @@
 [ 43] = { 1,	0,		SEN(times),			"times"			},
 [ 44] = { 0,	0,		SEN(prof),			"prof"			},
 [ 45] = { 1,	TM|SI,		SEN(brk),			"brk"			},
-[ 46] = { 1,	0,		SEN(setgid16),			"setgid"		},
-[ 47] = { 0,	PU|NF,		SEN(getgid16),			"getgid"		},
+[ 46] = { 1,	CD,		SEN(setgid16),			"setgid"		},
+[ 47] = { 0,	CD|PU|NF,		SEN(getgid16),			"getgid"		},
 [ 48] = { 2,	TS,		SEN(signal),			"signal"		},
-[ 49] = { 0,	PU|NF,		SEN(geteuid16),			"geteuid"		},
-[ 50] = { 0,	PU|NF,		SEN(getegid16),			"getegid"		},
+[ 49] = { 0,	CD|PU|NF,		SEN(geteuid16),			"geteuid"		},
+[ 50] = { 0,	CD|PU|NF,		SEN(getegid16),			"getegid"		},
 [ 51] = { 1,	TF,		SEN(acct),			"acct"			},
 [ 52] = { 2,	TF,		SEN(umount2),			"umount2"		},
 [ 53] = { 0,	0,		SEN(lock),			"lock"			},
@@ -79,8 +79,8 @@
 [ 67] = { 3,	TS,		SEN(sigaction),			"sigaction"		},
 [ 68] = { 0,	TS,		SEN(sgetmask),			"sgetmask"		},
 [ 69] = { 1,	TS,		SEN(ssetmask),			"ssetmask"		},
-[ 70] = { 2,	0,		SEN(setreuid16),		"setreuid"		},
-[ 71] = { 2,	0,		SEN(setregid16),		"setregid"		},
+[ 70] = { 2,	CD,		SEN(setreuid16),		"setreuid"		},
+[ 71] = { 2,	CD,		SEN(setregid16),		"setregid"		},
 [ 72] = { 1,	TS,		SEN(sigsuspend),		"sigsuspend"		},
 [ 73] = { 1,	TS,		SEN(sigpending),		"sigpending"		},
 [ 74] = { 2,	0,		SEN(sethostname),		"sethostname"		},
@@ -89,8 +89,8 @@
 [ 77] = { 2,	0,		SEN(getrusage),			"getrusage"		},
 [ 78] = { 2,	0,		SEN(gettimeofday),		"gettimeofday"		},
 [ 79] = { 2,	0,		SEN(settimeofday),		"settimeofday"		},
-[ 80] = { 2,	0,		SEN(getgroups16),		"getgroups"		},
-[ 81] = { 2,	0,		SEN(setgroups16),		"setgroups"		},
+[ 80] = { 2,	CD,		SEN(getgroups16),		"getgroups"		},
+[ 81] = { 2,	CD,		SEN(setgroups16),		"setgroups"		},
 [ 82] = { 1,	TD,		SEN(oldselect),			"select"		},
 [ 83] = { 2,	TF,		SEN(symlink),			"symlink"		},
 [ 84] = { 2,	TF|TLST|TSTA,	SEN(oldlstat),			"oldlstat"		},
@@ -147,8 +147,8 @@
 [135] = { 3,	0,		SEN(sysfs),			"sysfs"			},
 [136] = { 1,	NF,		SEN(personality),		"personality"		},
 [137] = { 5,	0,		SEN(afs_syscall),		"afs_syscall"		},
-[138] = { 1,	NF,		SEN(setfsuid16),		"setfsuid"		},
-[139] = { 1,	NF,		SEN(setfsgid16),		"setfsgid"		},
+[138] = { 1,	CD|NF,		SEN(setfsuid16),		"setfsuid"		},
+[139] = { 1,	CD|NF,		SEN(setfsgid16),		"setfsgid"		},
 [140] = { 5,	TD,		SEN(llseek),			"_llseek"		},
 [141] = { 3,	TD,		SEN(getdents),			"getdents"		},
 [142] = { 5,	TD,		SEN(select),			"_newselect"		},
@@ -173,15 +173,15 @@
 [161] = { 2,	0,		SEN(sched_rr_get_interval_time32),"sched_rr_get_interval"},
 [162] = { 2,	0,		SEN(nanosleep_time32),		"nanosleep"		},
 [163] = { 5,	TM|SI,		SEN(mremap),			"mremap"		},
-[164] = { 3,	0,		SEN(setresuid16),		"setresuid"		},
-[165] = { 3,	0,		SEN(getresuid16),		"getresuid"		},
+[164] = { 3,	CD,		SEN(setresuid16),		"setresuid"		},
+[165] = { 3,	CD,		SEN(getresuid16),		"getresuid"		},
 [166] = { 5,	0,		SEN(vm86),			"vm86"			},
 [167] = { 5,	0,		SEN(query_module),		"query_module"		},
 [168] = { 3,	TD,		SEN(poll_time32),		"poll"			},
 [169] = { 3,	0,		SEN(nfsservctl),		"nfsservctl"		},
-[170] = { 3,	0,		SEN(setresgid16),		"setresgid"		},
-[171] = { 3,	0,		SEN(getresgid16),		"getresgid"		},
-[172] = { 5,	0,		SEN(prctl),			"prctl"			},
+[170] = { 3,	CD,		SEN(setresgid16),		"setresgid"		},
+[171] = { 3,	CD,		SEN(getresgid16),		"getresgid"		},
+[172] = { 5,	CD,		SEN(prctl),			"prctl"			},
 [173] = { 0,	TS,		SEN(rt_sigreturn),		"rt_sigreturn"		},
 [174] = { 4,	TS,		SEN(rt_sigaction),		"rt_sigaction"		},
 [175] = { 4,	TS,		SEN(rt_sigprocmask),		"rt_sigprocmask"	},
@@ -193,8 +193,8 @@
 [181] = { 6,	TD,		SEN(pwrite),			"pwrite64"		},
 [182] = { 3,	TF,		SEN(chown16),			"chown"			},
 [183] = { 2,	TF,		SEN(getcwd),			"getcwd"		},
-[184] = { 2,	0,		SEN(capget),			"capget"		},
-[185] = { 2,	0,		SEN(capset),			"capset"		},
+[184] = { 2,	CD,		SEN(capget),			"capget"		},
+[185] = { 2,	CD,		SEN(capset),			"capset"		},
 [186] = { 2,	TS,		SEN(sigaltstack),		"sigaltstack"		},
 [187] = { 4,	TD|TN,		SEN(sendfile),			"sendfile"		},
 [188 ... 189] = { },
@@ -207,24 +207,24 @@
 [196] = { 2,	TF|TLST|TSTA,	SEN(lstat64),			"lstat64"		},
 [197] = { 2,	TD|TFST|TSTA,	SEN(fstat64),			"fstat64"		},
 [198] = { 3,	TF,		SEN(chown),			"lchown32"		},
-[199] = { 0,	PU|NF,		SEN(getuid),			"getuid32"		},
-[200] = { 0,	PU|NF,		SEN(getgid),			"getgid32"		},
-[201] = { 0,	PU|NF,		SEN(geteuid),			"geteuid32"		},
-[202] = { 0,	PU|NF,		SEN(getegid),			"getegid32"		},
-[203] = { 2,	0,		SEN(setreuid),			"setreuid32"		},
-[204] = { 2,	0,		SEN(setregid),			"setregid32"		},
-[205] = { 2,	0,		SEN(getgroups),			"getgroups32"		},
-[206] = { 2,	0,		SEN(setgroups),			"setgroups32"		},
+[199] = { 0,	CD|PU|NF,		SEN(getuid),			"getuid32"		},
+[200] = { 0,	CD|PU|NF,		SEN(getgid),			"getgid32"		},
+[201] = { 0,	CD|PU|NF,		SEN(geteuid),			"geteuid32"		},
+[202] = { 0,	CD|PU|NF,		SEN(getegid),			"getegid32"		},
+[203] = { 2,	CD,		SEN(setreuid),			"setreuid32"		},
+[204] = { 2,	CD,		SEN(setregid),			"setregid32"		},
+[205] = { 2,	CD,		SEN(getgroups),			"getgroups32"		},
+[206] = { 2,	CD,		SEN(setgroups),			"setgroups32"		},
 [207] = { 3,	TD,		SEN(fchown),			"fchown32"		},
-[208] = { 3,	0,		SEN(setresuid),			"setresuid32"		},
-[209] = { 3,	0,		SEN(getresuid),			"getresuid32"		},
-[210] = { 3,	0,		SEN(setresgid),			"setresgid32"		},
-[211] = { 3,	0,		SEN(getresgid),			"getresgid32"		},
+[208] = { 3,	CD,		SEN(setresuid),			"setresuid32"		},
+[209] = { 3,	CD,		SEN(getresuid),			"getresuid32"		},
+[210] = { 3,	CD,		SEN(setresgid),			"setresgid32"		},
+[211] = { 3,	CD,		SEN(getresgid),			"getresgid32"		},
 [212] = { 3,	TF,		SEN(chown),			"chown32"		},
-[213] = { 1,	0,		SEN(setuid),			"setuid32"		},
-[214] = { 1,	0,		SEN(setgid),			"setgid32"		},
-[215] = { 1,	NF,		SEN(setfsuid),			"setfsuid32"		},
-[216] = { 1,	NF,		SEN(setfsgid),			"setfsgid32"		},
+[213] = { 1,	CD,		SEN(setuid),			"setuid32"		},
+[214] = { 1,	CD,		SEN(setgid),			"setgid32"		},
+[215] = { 1,	CD|NF,		SEN(setfsuid),			"setfsuid32"		},
+[216] = { 1,	CD|NF,		SEN(setfsgid),			"setfsgid32"		},
 [217] = { 2,	TF,		SEN(pivotroot),			"pivot_root"		},
 [218] = { 3,	TM,		SEN(mincore),			"mincore"		},
 [219] = { 3,	TM,		SEN(madvise),			"madvise"		},
diff --git a/linux/sh64/syscallent.h b/linux/sh64/syscallent.h
index 12b8ffc0..d32b5643 100644
--- a/linux/sh64/syscallent.h
+++ b/linux/sh64/syscallent.h
@@ -30,8 +30,8 @@
 [ 20] = { 0,	PU|NF,		SEN(getpid),			"getpid"		},
 [ 21] = { 5,	TF,		SEN(mount),			"mount"			},
 [ 22] = { 1,	TF,		SEN(umount),			"umount"		},
-[ 23] = { 1,	0,		SEN(setuid16),			"setuid"		},
-[ 24] = { 0,	PU|NF,		SEN(getuid16),			"getuid"		},
+[ 23] = { 1,	CD,		SEN(setuid16),			"setuid"		},
+[ 24] = { 0,	CD|PU|NF,		SEN(getuid16),			"getuid"		},
 [ 25] = { 1,	0,		SEN(stime),			"stime"			},
 [ 26] = { 4,	0,		SEN(ptrace),			"ptrace"		},
 [ 27] = { 1,	0,		SEN(alarm),			"alarm"			},
@@ -53,11 +53,11 @@
 [ 43] = { 1,	0,		SEN(times),			"times"			},
 [ 44] = { 0,	0,		SEN(prof),			"prof"			},
 [ 45] = { 1,	TM|SI,		SEN(brk),			"brk"			},
-[ 46] = { 1,	0,		SEN(setgid16),			"setgid"		},
-[ 47] = { 0,	PU|NF,		SEN(getgid16),			"getgid"		},
+[ 46] = { 1,	CD,		SEN(setgid16),			"setgid"		},
+[ 47] = { 0,	CD|PU|NF,		SEN(getgid16),			"getgid"		},
 [ 48] = { 2,	TS,		SEN(signal),			"signal"		},
-[ 49] = { 0,	PU|NF,		SEN(geteuid16),			"geteuid"		},
-[ 50] = { 0,	PU|NF,		SEN(getegid16),			"getegid"		},
+[ 49] = { 0,	CD|PU|NF,		SEN(geteuid16),			"geteuid"		},
+[ 50] = { 0,	CD|PU|NF,		SEN(getegid16),			"getegid"		},
 [ 51] = { 1,	TF,		SEN(acct),			"acct"			},
 [ 52] = { 2,	TF,		SEN(umount2),			"umount2"		},
 [ 53] = { 0,	0,		SEN(lock),			"lock"			},
@@ -77,8 +77,8 @@
 [ 67] = { 3,	TS,		SEN(sigaction),			"sigaction"		},
 [ 68] = { 0,	TS,		SEN(sgetmask),			"sgetmask"		},
 [ 69] = { 1,	TS,		SEN(ssetmask),			"ssetmask"		},
-[ 70] = { 2,	0,		SEN(setreuid16),		"setreuid"		},
-[ 71] = { 2,	0,		SEN(setregid16),		"setregid"		},
+[ 70] = { 2,	CD,		SEN(setreuid16),		"setreuid"		},
+[ 71] = { 2,	CD,		SEN(setregid16),		"setregid"		},
 [ 72] = { 1,	TS,		SEN(sigsuspend),		"sigsuspend"		},
 [ 73] = { 1,	TS,		SEN(sigpending),		"sigpending"		},
 [ 74] = { 2,	0,		SEN(sethostname),		"sethostname"		},
@@ -87,8 +87,8 @@
 [ 77] = { 2,	0,		SEN(getrusage),			"getrusage"		},
 [ 78] = { 2,	0,		SEN(gettimeofday),		"gettimeofday"		},
 [ 79] = { 2,	0,		SEN(settimeofday),		"settimeofday"		},
-[ 80] = { 2,	0,		SEN(getgroups16),		"getgroups"		},
-[ 81] = { 2,	0,		SEN(setgroups16),		"setgroups"		},
+[ 80] = { 2,	CD,		SEN(getgroups16),		"getgroups"		},
+[ 81] = { 2,	CD,		SEN(setgroups16),		"setgroups"		},
 [ 82] = { },
 [ 83] = { 2,	TF,		SEN(symlink),			"symlink"		},
 [ 84] = { 2,	TF|TLST|TSTA,	SEN(oldlstat),			"oldlstat"		},
@@ -145,8 +145,8 @@
 [135] = { 3,	0,		SEN(sysfs),			"sysfs"			},
 [136] = { 1,	NF,		SEN(personality),		"personality"		},
 [137] = { 5,	0,		SEN(afs_syscall),		"afs_syscall"		},
-[138] = { 1,	NF,		SEN(setfsuid16),		"setfsuid"		},
-[139] = { 1,	NF,		SEN(setfsgid16),		"setfsgid"		},
+[138] = { 1,	CD|NF,		SEN(setfsuid16),		"setfsuid"		},
+[139] = { 1,	CD|NF,		SEN(setfsgid16),		"setfsgid"		},
 [140] = { 5,	TD,		SEN(llseek),			"_llseek"		},
 [141] = { 3,	TD,		SEN(getdents),			"getdents"		},
 [142] = { 5,	TD,		SEN(select),			"_newselect"		},
@@ -171,15 +171,15 @@
 [161] = { 2,	0,		SEN(sched_rr_get_interval_time64),"sched_rr_get_interval"},
 [162] = { 2,	0,		SEN(nanosleep_time64),		"nanosleep"		},
 [163] = { 5,	TM|SI,		SEN(mremap),			"mremap"		},
-[164] = { 3,	0,		SEN(setresuid16),		"setresuid"		},
-[165] = { 3,	0,		SEN(getresuid16),		"getresuid"		},
+[164] = { 3,	CD,		SEN(setresuid16),		"setresuid"		},
+[165] = { 3,	CD,		SEN(getresuid16),		"getresuid"		},
 [166] = { },
 [167] = { 5,	0,		SEN(query_module),		"query_module"		},
 [168] = { 3,	TD,		SEN(poll_time64),		"poll"			},
 [169] = { 3,	0,		SEN(nfsservctl),		"nfsservctl"		},
-[170] = { 3,	0,		SEN(setresgid16),		"setresgid"		},
-[171] = { 3,	0,		SEN(getresgid16),		"getresgid"		},
-[172] = { 5,	0,		SEN(prctl),			"prctl"			},
+[170] = { 3,	CD,		SEN(setresgid16),		"setresgid"		},
+[171] = { 3,	CD,		SEN(getresgid16),		"getresgid"		},
+[172] = { 5,	CD,		SEN(prctl),			"prctl"			},
 [173] = { 0,	TS,		SEN(rt_sigreturn),		"rt_sigreturn"		},
 [174] = { 4,	TS,		SEN(rt_sigaction),		"rt_sigaction"		},
 [175] = { 4,	TS,		SEN(rt_sigprocmask),		"rt_sigprocmask"	},
@@ -191,8 +191,8 @@
 [181] = { 4,	TD,		SEN(pwrite),			"pwrite64"		},
 [182] = { 3,	TF,		SEN(chown16),			"chown"			},
 [183] = { 2,	TF,		SEN(getcwd),			"getcwd"		},
-[184] = { 2,	0,		SEN(capget),			"capget"		},
-[185] = { 2,	0,		SEN(capset),			"capset"		},
+[184] = { 2,	CD,		SEN(capget),			"capget"		},
+[185] = { 2,	CD,		SEN(capset),			"capset"		},
 [186] = { 2,	TS,		SEN(sigaltstack),		"sigaltstack"		},
 [187] = { 4,	TD|TN,		SEN(sendfile),			"sendfile"		},
 [188 ... 189] = { },
@@ -205,24 +205,24 @@
 [196] = { 2,	TF|TLST|TSTA,	SEN(lstat64),			"lstat64"		},
 [197] = { 2,	TD|TFST|TSTA,	SEN(fstat64),			"fstat64"		},
 [198] = { 3,	TF,		SEN(chown),			"lchown32"		},
-[199] = { 0,	PU|NF,		SEN(getuid),			"getuid32"		},
-[200] = { 0,	PU|NF,		SEN(getgid),			"getgid32"		},
-[201] = { 0,	PU|NF,		SEN(geteuid),			"geteuid32"		},
-[202] = { 0,	PU|NF,		SEN(getegid),			"getegid32"		},
-[203] = { 2,	0,		SEN(setreuid),			"setreuid32"		},
-[204] = { 2,	0,		SEN(setregid),			"setregid32"		},
-[205] = { 2,	0,		SEN(getgroups),			"getgroups32"		},
-[206] = { 2,	0,		SEN(setgroups),			"setgroups32"		},
+[199] = { 0,	CD|PU|NF,		SEN(getuid),			"getuid32"		},
+[200] = { 0,	CD|PU|NF,		SEN(getgid),			"getgid32"		},
+[201] = { 0,	CD|PU|NF,		SEN(geteuid),			"geteuid32"		},
+[202] = { 0,	CD|PU|NF,		SEN(getegid),			"getegid32"		},
+[203] = { 2,	CD,		SEN(setreuid),			"setreuid32"		},
+[204] = { 2,	CD,		SEN(setregid),			"setregid32"		},
+[205] = { 2,	CD,		SEN(getgroups),			"getgroups32"		},
+[206] = { 2,	CD,		SEN(setgroups),			"setgroups32"		},
 [207] = { 3,	TD,		SEN(fchown),			"fchown32"		},
-[208] = { 3,	0,		SEN(setresuid),			"setresuid32"		},
-[209] = { 3,	0,		SEN(getresuid),			"getresuid32"		},
-[210] = { 3,	0,		SEN(setresgid),			"setresgid32"		},
-[211] = { 3,	0,		SEN(getresgid),			"getresgid32"		},
+[208] = { 3,	CD,		SEN(setresuid),			"setresuid32"		},
+[209] = { 3,	CD,		SEN(getresuid),			"getresuid32"		},
+[210] = { 3,	CD,		SEN(setresgid),			"setresgid32"		},
+[211] = { 3,	CD,		SEN(getresgid),			"getresgid32"		},
 [212] = { 3,	TF,		SEN(chown),			"chown32"		},
-[213] = { 1,	0,		SEN(setuid),			"setuid32"		},
-[214] = { 1,	0,		SEN(setgid),			"setgid32"		},
-[215] = { 1,	NF,		SEN(setfsuid),			"setfsuid32"		},
-[216] = { 1,	NF,		SEN(setfsgid),			"setfsgid32"		},
+[213] = { 1,	CD,		SEN(setuid),			"setuid32"		},
+[214] = { 1,	CD,		SEN(setgid),			"setgid32"		},
+[215] = { 1,	CD|NF,		SEN(setfsuid),			"setfsuid32"		},
+[216] = { 1,	CD|NF,		SEN(setfsgid),			"setfsgid32"		},
 [217] = { 2,	TF,		SEN(pivotroot),			"pivot_root"		},
 [218] = { 3,	TM,		SEN(mincore),			"mincore"		},
 [219] = { 3,	TM,		SEN(madvise),			"madvise"		},
diff --git a/linux/sparc/syscallent.h b/linux/sparc/syscallent.h
index a10fbc03..126e77ab 100644
--- a/linux/sparc/syscallent.h
+++ b/linux/sparc/syscallent.h
@@ -26,10 +26,10 @@
 [ 18] = { 4,	0,		SEN(printargs),			"perfctr"		},
 [ 19] = { 3,	TD,		SEN(lseek),			"lseek"			},
 [ 20] = { 0,	PU|NF,		SEN(getpid),			"getpid"		},
-[ 21] = { 2,	0,		SEN(capget),			"capget"		},
-[ 22] = { 2,	0,		SEN(capset),			"capset"		},
-[ 23] = { 1,	0,		SEN(setuid16),			"setuid"		},
-[ 24] = { 0,	PU|NF,		SEN(getuid16),			"getuid"		},
+[ 21] = { 2,	CD,		SEN(capget),			"capget"		},
+[ 22] = { 2,	CD,		SEN(capset),			"capset"		},
+[ 23] = { 1,	CD,		SEN(setuid16),			"setuid"		},
+[ 24] = { 0,	CD|PU|NF,		SEN(getuid16),			"getuid"		},
 [ 25] = { 4,	TD,		SEN(vmsplice),			"vmsplice"		},
 [ 26] = { 4,	0,		SEN(ptrace),			"ptrace"		},
 [ 27] = { 1,	0,		SEN(alarm),			"alarm"			},
@@ -49,16 +49,16 @@
 [ 41] = { 1,	TD,		SEN(dup),			"dup"			},
 [ 42] = { 0,	TD,		SEN(pipe),			"pipe"			},
 [ 43] = { 1,	0,		SEN(times),			"times"			},
-[ 44] = { 0,	PU|NF,		SEN(getuid),			"getuid32"		},
+[ 44] = { 0,	CD|PU|NF,		SEN(getuid),			"getuid32"		},
 [ 45] = { 2,	TF,		SEN(umount2),			"umount2"		},
-[ 46] = { 1,	0,		SEN(setgid16),			"setgid"		},
-[ 47] = { 0,	PU|NF,		SEN(getgid16),			"getgid"		},
+[ 46] = { 1,	CD,		SEN(setgid16),			"setgid"		},
+[ 47] = { 0,	CD|PU|NF,		SEN(getgid16),			"getgid"		},
 [ 48] = { 2,	TS,		SEN(signal),			"signal"		},
-[ 49] = { 0,	PU|NF,		SEN(geteuid16),			"geteuid"		},
-[ 50] = { 0,	PU|NF,		SEN(getegid16),			"getegid"		},
+[ 49] = { 0,	CD|PU|NF,		SEN(geteuid16),			"geteuid"		},
+[ 50] = { 0,	CD|PU|NF,		SEN(getegid16),			"getegid"		},
 [ 51] = { 1,	TF,		SEN(acct),			"acct"			},
 [ 52] = { },
-[ 53] = { 0,	PU|NF,		SEN(getgid),			"getgid32"		},
+[ 53] = { 0,	CD|PU|NF,		SEN(getgid),			"getgid32"		},
 [ 54] = { 3,	TD,		SEN(ioctl),			"ioctl"			},
 [ 55] = { 4,	0,		SEN(reboot),			"reboot"		},
 [ 56] = { 6,	TD|TM|SI,	SEN(mmap_4koff),		"mmap2"			},
@@ -74,32 +74,32 @@
 [ 66] = { 0,	TP,		SEN(vfork),			"vfork"			},
 [ 67] = { 5,	TD,		SEN(pread),			"pread64"		},
 [ 68] = { 5,	TD,		SEN(pwrite),			"pwrite64"		},
-[ 69] = { 0,	PU|NF,		SEN(geteuid),			"geteuid32"		},
-[ 70] = { 0,	PU|NF,		SEN(getegid),			"getegid32"		},
+[ 69] = { 0,	CD|PU|NF,		SEN(geteuid),			"geteuid32"		},
+[ 70] = { 0,	CD|PU|NF,		SEN(getegid),			"getegid32"		},
 [ 71] = { 6,	TD|TM|SI,	SEN(mmap),			"mmap"			},
-[ 72] = { 2,	0,		SEN(setreuid),			"setreuid32"		},
+[ 72] = { 2,	CD,		SEN(setreuid),			"setreuid32"		},
 [ 73] = { 2,	TM|SI,		SEN(munmap),			"munmap"		},
 [ 74] = { 3,	TM|SI,		SEN(mprotect),			"mprotect"		},
 [ 75] = { 3,	TM,		SEN(madvise),			"madvise"		},
 [ 76] = { 0,	0,		SEN(vhangup),			"vhangup"		},
 [ 77] = { 3,	TF,		SEN(truncate64),		"truncate64"		},
 [ 78] = { 3,	TM,		SEN(mincore),			"mincore"		},
-[ 79] = { 2,	0,		SEN(getgroups16),		"getgroups"		},
-[ 80] = { 2,	0,		SEN(setgroups16),		"setgroups"		},
+[ 79] = { 2,	CD,		SEN(getgroups16),		"getgroups"		},
+[ 80] = { 2,	CD,		SEN(setgroups16),		"setgroups"		},
 [ 81] = { 0,	PU|NF,		SEN(getpgrp),			"getpgrp"		},
-[ 82] = { 2,	0,		SEN(setgroups),			"setgroups32"		},
+[ 82] = { 2,	CD,		SEN(setgroups),			"setgroups32"		},
 [ 83] = { 3,	0,		SEN(setitimer),			"setitimer"		},
 [ 84] = { 3,	TD,		SEN(ftruncate64),		"ftruncate64"		},
 [ 85] = { 2,	TF,		SEN(swapon),			"swapon"		},
 [ 86] = { 2,	0,		SEN(getitimer),			"getitimer"		},
-[ 87] = { 1,	0,		SEN(setuid),			"setuid32"		},
+[ 87] = { 1,	CD,		SEN(setuid),			"setuid32"		},
 [ 88] = { 2,	0,		SEN(sethostname),		"sethostname"		},
-[ 89] = { 1,	0,		SEN(setgid),			"setgid32"		},
+[ 89] = { 1,	CD,		SEN(setgid),			"setgid32"		},
 [ 90] = { 2,	TD,		SEN(dup2),			"dup2"			},
-[ 91] = { 1,	NF,		SEN(setfsuid),			"setfsuid32"		},
+[ 91] = { 1,	CD|NF,		SEN(setfsuid),			"setfsuid32"		},
 [ 92] = { 3,	TD,		SEN(fcntl),			"fcntl"			},
 [ 93] = { 5,	TD,		SEN(select),			"select"		},
-[ 94] = { 1,	NF,		SEN(setfsgid),			"setfsgid32"		},
+[ 94] = { 1,	CD|NF,		SEN(setfsgid),			"setfsgid32"		},
 [ 95] = { 1,	TD,		SEN(fsync),			"fsync"			},
 [ 96] = { 3,	0,		SEN(setpriority),		"setpriority"		},
 [ 97] = { 3,	TN,		SEN(socket),			"socket"		},
@@ -113,14 +113,14 @@
 [105] = { 4,	TS,		SEN(rt_sigtimedwait_time32),	"rt_sigtimedwait"	},
 [106] = { 3,	TS,		SEN(rt_sigqueueinfo),		"rt_sigqueueinfo"	},
 [107] = { 2,	TS,		SEN(rt_sigsuspend),		"rt_sigsuspend"		},
-[108] = { 3,	0,		SEN(setresuid),			"setresuid32"		},
-[109] = { 3,	0,		SEN(getresuid),			"getresuid32"		},
-[110] = { 3,	0,		SEN(setresgid),			"setresgid32"		},
-[111] = { 3,	0,		SEN(getresgid),			"getresgid32"		},
-[112] = { 2,	0,		SEN(setregid),			"setregid32"		},
+[108] = { 3,	CD,		SEN(setresuid),			"setresuid32"		},
+[109] = { 3,	CD,		SEN(getresuid),			"getresuid32"		},
+[110] = { 3,	CD,		SEN(setresgid),			"setresgid32"		},
+[111] = { 3,	CD,		SEN(getresgid),			"getresgid32"		},
+[112] = { 2,	CD,		SEN(setregid),			"setregid32"		},
 [113] = { 3,	TN,		SEN(recvmsg),			"recvmsg"		},
 [114] = { 3,	TN,		SEN(sendmsg),			"sendmsg"		},
-[115] = { 2,	0,		SEN(getgroups),			"getgroups32"		},
+[115] = { 2,	CD,		SEN(getgroups),			"getgroups32"		},
 [116] = { 2,	0,		SEN(gettimeofday),		"gettimeofday"		},
 [117] = { 2,	0,		SEN(getrusage),			"getrusage"		},
 [118] = { 5,	TN,		SEN(getsockopt),		"getsockopt"		},
@@ -131,8 +131,8 @@
 [123] = { 3,	TD,		SEN(fchown16),			"fchown"		},
 [124] = { 2,	TD,		SEN(fchmod),			"fchmod"		},
 [125] = { 6,	TN,		SEN(recvfrom),			"recvfrom"		},
-[126] = { 2,	0,		SEN(setreuid16),		"setreuid"		},
-[127] = { 2,	0,		SEN(setregid16),		"setregid"		},
+[126] = { 2,	CD,		SEN(setreuid16),		"setreuid"		},
+[127] = { 2,	CD,		SEN(setregid16),		"setregid"		},
 [128] = { 2,	TF,		SEN(rename),			"rename"		},
 [129] = { 2,	TF,		SEN(truncate),			"truncate"		},
 [130] = { 2,	TD,		SEN(ftruncate),			"ftruncate"		},
@@ -152,7 +152,7 @@
 [144] = { 2,	0,		SEN(getrlimit),			"getrlimit"		},
 [145] = { 2,	0,		SEN(setrlimit),			"setrlimit"		},
 [146] = { 2,	TF,		SEN(pivotroot),			"pivot_root"		},
-[147] = { 5,	0,		SEN(prctl),			"prctl"			},
+[147] = { 5,	CD,		SEN(prctl),			"prctl"			},
 [148] = { 5,	0,		SEN(printargs),			"pciconfig_read"	},
 [149] = { 5,	0,		SEN(printargs),			"pciconfig_write"	},
 [150] = { 3,	TN,		SEN(getsockname),		"getsockname"		},
@@ -233,8 +233,8 @@
 [225] = { 2,	0,		SEN(bdflush),			"bdflush"		},
 [226] = { 3,	0,		SEN(sysfs),			"sysfs"			},
 [227] = { 5,	0,		SEN(afs_syscall),		"afs_syscall"		},
-[228] = { 1,	NF,		SEN(setfsuid16),		"setfsuid"		},
-[229] = { 1,	NF,		SEN(setfsgid16),		"setfsgid"		},
+[228] = { 1,	CD|NF,		SEN(setfsuid16),		"setfsuid"		},
+[229] = { 1,	CD|NF,		SEN(setfsgid16),		"setfsgid"		},
 [230] = { 5,	TD,		SEN(select),			"_newselect"		},
 [231] = { 1,	0,		SEN(time),			"time"			},
 [232] = { 6,	TD,		SEN(splice),			"splice"		},
diff --git a/linux/sparc64/syscallent.h b/linux/sparc64/syscallent.h
index 41046df9..e68b1f99 100644
--- a/linux/sparc64/syscallent.h
+++ b/linux/sparc64/syscallent.h
@@ -26,10 +26,10 @@
 [ 18] = { 4,	0,		SEN(printargs),			"perfctr"		},
 [ 19] = { 3,	TD,		SEN(lseek),			"lseek"			},
 [ 20] = { 0,	PU|NF,		SEN(getpid),			"getpid"		},
-[ 21] = { 2,	0,		SEN(capget),			"capget"		},
-[ 22] = { 2,	0,		SEN(capset),			"capset"		},
-[ 23] = { 1,	0,		SEN(setuid),			"setuid"		},
-[ 24] = { 0,	PU|NF,		SEN(getuid),			"getuid"		},
+[ 21] = { 2,	CD,		SEN(capget),			"capget"		},
+[ 22] = { 2,	CD,		SEN(capset),			"capset"		},
+[ 23] = { 1,	CD,		SEN(setuid),			"setuid"		},
+[ 24] = { 0,	CD|PU|NF,		SEN(getuid),			"getuid"		},
 [ 25] = { 4,	TD,		SEN(vmsplice),			"vmsplice"		},
 [ 26] = { 4,	0,		SEN(ptrace),			"ptrace"		},
 [ 27] = { 1,	0,		SEN(alarm),			"alarm"			},
@@ -50,11 +50,11 @@
 [ 43] = { 1,	0,		SEN(times),			"times"			},
 [ 44] = { },
 [ 45] = { 2,	TF,		SEN(umount2),			"umount2"		},
-[ 46] = { 1,	0,		SEN(setgid),			"setgid"		},
-[ 47] = { 0,	PU|NF,		SEN(getgid),			"getgid"		},
+[ 46] = { 1,	CD,		SEN(setgid),			"setgid"		},
+[ 47] = { 0,	CD|PU|NF,		SEN(getgid),			"getgid"		},
 [ 48] = { 2,	TS,		SEN(signal),			"signal"		},
-[ 49] = { 0,	PU|NF,		SEN(geteuid),			"geteuid"		},
-[ 50] = { 0,	PU|NF,		SEN(getegid),			"getegid"		},
+[ 49] = { 0,	CD|PU|NF,		SEN(geteuid),			"geteuid"		},
+[ 50] = { 0,	CD|PU|NF,		SEN(getegid),			"getegid"		},
 [ 51] = { 1,	TF,		SEN(acct),			"acct"			},
 [ 52] = { 2,	0,		SEN(printargs),			"memory_ordering"	},
 [ 53] = { },
@@ -82,8 +82,8 @@
 [ 76] = { 0,	0,		SEN(vhangup),			"vhangup"		},
 [ 77] = { },
 [ 78] = { 3,	TM,		SEN(mincore),			"mincore"		},
-[ 79] = { 2,	0,		SEN(getgroups),			"getgroups"		},
-[ 80] = { 2,	0,		SEN(setgroups),			"setgroups"		},
+[ 79] = { 2,	CD,		SEN(getgroups),			"getgroups"		},
+[ 80] = { 2,	CD,		SEN(setgroups),			"setgroups"		},
 [ 81] = { 0,	PU|NF,		SEN(getpgrp),			"getpgrp"		},
 [ 82] = { },
 [ 83] = { 3,	0,		SEN(setitimer),			"setitimer"		},
@@ -111,10 +111,10 @@
 [105] = { 4,	TS,		SEN(rt_sigtimedwait_time64),	"rt_sigtimedwait"	},
 [106] = { 3,	TS,		SEN(rt_sigqueueinfo),		"rt_sigqueueinfo"	},
 [107] = { 2,	TS,		SEN(rt_sigsuspend),		"rt_sigsuspend"		},
-[108] = { 3,	0,		SEN(setresuid),			"setresuid"		},
-[109] = { 3,	0,		SEN(getresuid),			"getresuid"		},
-[110] = { 3,	0,		SEN(setresgid),			"setresgid"		},
-[111] = { 3,	0,		SEN(getresgid),			"getresgid"		},
+[108] = { 3,	CD,		SEN(setresuid),			"setresuid"		},
+[109] = { 3,	CD,		SEN(getresuid),			"getresuid"		},
+[110] = { 3,	CD,		SEN(setresgid),			"setresgid"		},
+[111] = { 3,	CD,		SEN(getresgid),			"getresgid"		},
 [112] = { },
 [113] = { 3,	TN,		SEN(recvmsg),			"recvmsg"		},
 [114] = { 3,	TN,		SEN(sendmsg),			"sendmsg"		},
@@ -129,8 +129,8 @@
 [123] = { 3,	TD,		SEN(fchown),			"fchown"		},
 [124] = { 2,	TD,		SEN(fchmod),			"fchmod"		},
 [125] = { 6,	TN,		SEN(recvfrom),			"recvfrom"		},
-[126] = { 2,	0,		SEN(setreuid),			"setreuid"		},
-[127] = { 2,	0,		SEN(setregid),			"setregid"		},
+[126] = { 2,	CD,		SEN(setreuid),			"setreuid"		},
+[127] = { 2,	CD,		SEN(setregid),			"setregid"		},
 [128] = { 2,	TF,		SEN(rename),			"rename"		},
 [129] = { 2,	TF,		SEN(truncate),			"truncate"		},
 [130] = { 2,	TD,		SEN(ftruncate),			"ftruncate"		},
@@ -150,7 +150,7 @@
 [144] = { 2,	0,		SEN(getrlimit),			"getrlimit"		},
 [145] = { 2,	0,		SEN(setrlimit),			"setrlimit"		},
 [146] = { 2,	TF,		SEN(pivotroot),			"pivot_root"		},
-[147] = { 5,	0,		SEN(prctl),			"prctl"			},
+[147] = { 5,	CD,		SEN(prctl),			"prctl"			},
 [148] = { 5,	0,		SEN(printargs),			"pciconfig_read"	},
 [149] = { 5,	0,		SEN(printargs),			"pciconfig_write"	},
 [150] = { 3,	TN,		SEN(getsockname),		"getsockname"		},
@@ -231,8 +231,8 @@
 [225] = { 2,	0,		SEN(bdflush),			"bdflush"		},
 [226] = { 3,	0,		SEN(sysfs),			"sysfs"			},
 [227] = { 5,	0,		SEN(afs_syscall),		"afs_syscall"		},
-[228] = { 1,	NF,		SEN(setfsuid),			"setfsuid"		},
-[229] = { 1,	NF,		SEN(setfsgid),			"setfsgid"		},
+[228] = { 1,	CD|NF,		SEN(setfsuid),			"setfsuid"		},
+[229] = { 1,	CD|NF,		SEN(setfsgid),			"setfsgid"		},
 [230] = { 5,	TD,		SEN(select),			"_newselect"		},
 [231] = { },
 [232] = { 6,	TD,		SEN(splice),			"splice"		},
diff --git a/linux/x32/syscallent.h b/linux/x32/syscallent.h
index 07058f98..35f48f07 100644
--- a/linux/x32/syscallent.h
+++ b/linux/x32/syscallent.h
@@ -107,31 +107,31 @@
 [ 99] = { 1,	0,		SEN(sysinfo),			"sysinfo"		},
 [100] = { 1,	0,		SEN(times),			"times"			},
 [101] = { 4,	0,		SEN(printargs),			"ptrace#64"		},
-[102] = { 0,	PU|NF,		SEN(getuid),			"getuid"		},
+[102] = { 0,	CD|PU|NF,		SEN(getuid),			"getuid"		},
 [103] = { 3,	0,		SEN(syslog),			"syslog"		},
-[104] = { 0,	PU|NF,		SEN(getgid),			"getgid"		},
-[105] = { 1,	0,		SEN(setuid),			"setuid"		},
-[106] = { 1,	0,		SEN(setgid),			"setgid"		},
-[107] = { 0,	PU|NF,		SEN(geteuid),			"geteuid"		},
-[108] = { 0,	PU|NF,		SEN(getegid),			"getegid"		},
+[104] = { 0,	CD|PU|NF,		SEN(getgid),			"getgid"		},
+[105] = { 1,	CD,		SEN(setuid),			"setuid"		},
+[106] = { 1,	CD,		SEN(setgid),			"setgid"		},
+[107] = { 0,	CD|PU|NF,		SEN(geteuid),			"geteuid"		},
+[108] = { 0,	CD|PU|NF,		SEN(getegid),			"getegid"		},
 [109] = { 2,	0,		SEN(setpgid),			"setpgid"		},
 [110] = { 0,	PU|NF,		SEN(getppid),			"getppid"		},
 [111] = { 0,	PU|NF,		SEN(getpgrp),			"getpgrp"		},
 [112] = { 0,	0,		SEN(setsid),			"setsid"		},
-[113] = { 2,	0,		SEN(setreuid),			"setreuid"		},
-[114] = { 2,	0,		SEN(setregid),			"setregid"		},
-[115] = { 2,	0,		SEN(getgroups),			"getgroups"		},
-[116] = { 2,	0,		SEN(setgroups),			"setgroups"		},
-[117] = { 3,	0,		SEN(setresuid),			"setresuid"		},
-[118] = { 3,	0,		SEN(getresuid),			"getresuid"		},
-[119] = { 3,	0,		SEN(setresgid),			"setresgid"		},
-[120] = { 3,	0,		SEN(getresgid),			"getresgid"		},
+[113] = { 2,	CD,		SEN(setreuid),			"setreuid"		},
+[114] = { 2,	CD,		SEN(setregid),			"setregid"		},
+[115] = { 2,	CD,		SEN(getgroups),			"getgroups"		},
+[116] = { 2,	CD,		SEN(setgroups),			"setgroups"		},
+[117] = { 3,	CD,		SEN(setresuid),			"setresuid"		},
+[118] = { 3,	CD,		SEN(getresuid),			"getresuid"		},
+[119] = { 3,	CD,		SEN(setresgid),			"setresgid"		},
+[120] = { 3,	CD,		SEN(getresgid),			"getresgid"		},
 [121] = { 1,	0,		SEN(getpgid),			"getpgid"		},
-[122] = { 1,	NF,		SEN(setfsuid),			"setfsuid"		},
-[123] = { 1,	NF,		SEN(setfsgid),			"setfsgid"		},
+[122] = { 1,	CD|NF,		SEN(setfsuid),			"setfsuid"		},
+[123] = { 1,	CD|NF,		SEN(setfsgid),			"setfsgid"		},
 [124] = { 1,	0,		SEN(getsid),			"getsid"		},
-[125] = { 2,	0,		SEN(capget),			"capget"		},
-[126] = { 2,	0,		SEN(capset),			"capset"		},
+[125] = { 2,	CD,		SEN(capget),			"capget"		},
+[126] = { 2,	CD,		SEN(capset),			"capset"		},
 [127] = { 2,	TS,		SEN(printargs),			"rt_sigpending#64"	},
 [128] = { 4,	TS,		SEN(printargs),			"rt_sigtimedwait#64"	},
 [129] = { 3,	TS,		SEN(printargs),			"rt_sigqueueinfo#64"	},
@@ -162,7 +162,7 @@
 [154] = { 3,	0,		SEN(modify_ldt),		"modify_ldt"		},
 [155] = { 2,	TF,		SEN(pivotroot),			"pivot_root"		},
 [156] = { 1,	0,		SEN(printargs),			"_sysctl#64"		},
-[157] = { 5,	0,		SEN(prctl),			"prctl"			},
+[157] = { 5,	CD,		SEN(prctl),			"prctl"			},
 [158] = { 2,	TP,		SEN(arch_prctl),		"arch_prctl"		},
 [159] = { 1,	0,		SEN(adjtimex64),		"adjtimex"		},
 [160] = { 2,	0,		SEN(setrlimit),			"setrlimit"		},
diff --git a/linux/x86_64/syscallent.h b/linux/x86_64/syscallent.h
index ae9fc5eb..7d1a7335 100644
--- a/linux/x86_64/syscallent.h
+++ b/linux/x86_64/syscallent.h
@@ -107,31 +107,31 @@
 [ 99] = { 1,	0,		SEN(sysinfo),			"sysinfo"		},
 [100] = { 1,	0,		SEN(times),			"times"			},
 [101] = { 4,	0,		SEN(ptrace),			"ptrace"		},
-[102] = { 0,	PU|NF,		SEN(getuid),			"getuid"		},
+[102] = { 0,	CD|PU|NF,		SEN(getuid),			"getuid"		},
 [103] = { 3,	0,		SEN(syslog),			"syslog"		},
-[104] = { 0,	PU|NF,		SEN(getgid),			"getgid"		},
-[105] = { 1,	0,		SEN(setuid),			"setuid"		},
-[106] = { 1,	0,		SEN(setgid),			"setgid"		},
-[107] = { 0,	PU|NF,		SEN(geteuid),			"geteuid"		},
-[108] = { 0,	PU|NF,		SEN(getegid),			"getegid"		},
+[104] = { 0,	CD|PU|NF,		SEN(getgid),			"getgid"		},
+[105] = { 1,	CD,		SEN(setuid),			"setuid"		},
+[106] = { 1,	CD,		SEN(setgid),			"setgid"		},
+[107] = { 0,	CD|PU|NF,		SEN(geteuid),			"geteuid"		},
+[108] = { 0,	CD|PU|NF,		SEN(getegid),			"getegid"		},
 [109] = { 2,	0,		SEN(setpgid),			"setpgid"		},
 [110] = { 0,	PU|NF,		SEN(getppid),			"getppid"		},
 [111] = { 0,	PU|NF,		SEN(getpgrp),			"getpgrp"		},
 [112] = { 0,	0,		SEN(setsid),			"setsid"		},
-[113] = { 2,	0,		SEN(setreuid),			"setreuid"		},
-[114] = { 2,	0,		SEN(setregid),			"setregid"		},
-[115] = { 2,	0,		SEN(getgroups),			"getgroups"		},
-[116] = { 2,	0,		SEN(setgroups),			"setgroups"		},
-[117] = { 3,	0,		SEN(setresuid),			"setresuid"		},
-[118] = { 3,	0,		SEN(getresuid),			"getresuid"		},
-[119] = { 3,	0,		SEN(setresgid),			"setresgid"		},
-[120] = { 3,	0,		SEN(getresgid),			"getresgid"		},
+[113] = { 2,	CD,		SEN(setreuid),			"setreuid"		},
+[114] = { 2,	CD,		SEN(setregid),			"setregid"		},
+[115] = { 2,	CD,		SEN(getgroups),			"getgroups"		},
+[116] = { 2,	CD,		SEN(setgroups),			"setgroups"		},
+[117] = { 3,	CD,		SEN(setresuid),			"setresuid"		},
+[118] = { 3,	CD,		SEN(getresuid),			"getresuid"		},
+[119] = { 3,	CD,		SEN(setresgid),			"setresgid"		},
+[120] = { 3,	CD,		SEN(getresgid),			"getresgid"		},
 [121] = { 1,	0,		SEN(getpgid),			"getpgid"		},
-[122] = { 1,	NF,		SEN(setfsuid),			"setfsuid"		},
-[123] = { 1,	NF,		SEN(setfsgid),			"setfsgid"		},
+[122] = { 1,	CD|NF,		SEN(setfsuid),			"setfsuid"		},
+[123] = { 1,	CD|NF,		SEN(setfsgid),			"setfsgid"		},
 [124] = { 1,	0,		SEN(getsid),			"getsid"		},
-[125] = { 2,	0,		SEN(capget),			"capget"		},
-[126] = { 2,	0,		SEN(capset),			"capset"		},
+[125] = { 2,	CD,		SEN(capget),			"capget"		},
+[126] = { 2,	CD,		SEN(capset),			"capset"		},
 [127] = { 2,	TS,		SEN(rt_sigpending),		"rt_sigpending"		},
 [128] = { 4,	TS,		SEN(rt_sigtimedwait_time64),	"rt_sigtimedwait"	},
 [129] = { 3,	TS,		SEN(rt_sigqueueinfo),		"rt_sigqueueinfo"	},
@@ -162,7 +162,7 @@
 [154] = { 3,	0,		SEN(modify_ldt),		"modify_ldt"		},
 [155] = { 2,	TF,		SEN(pivotroot),			"pivot_root"		},
 [156] = { 1,	0,		SEN(sysctl),			"_sysctl"		},
-[157] = { 5,	0,		SEN(prctl),			"prctl"			},
+[157] = { 5,	CD,		SEN(prctl),			"prctl"			},
 [158] = { 2,	TP,		SEN(arch_prctl),		"arch_prctl"		},
 [159] = { 1,	0,		SEN(adjtimex64),		"adjtimex"		},
 [160] = { 2,	0,		SEN(setrlimit),			"setrlimit"		},
diff --git a/linux/xtensa/syscallent.h b/linux/xtensa/syscallent.h
index 3e1a4ac1..d2f9bcaf 100644
--- a/linux/xtensa/syscallent.h
+++ b/linux/xtensa/syscallent.h
@@ -130,24 +130,24 @@
 [127] = { 0,	PU|NF,		SEN(gettid),			"gettid"		},
 [128] = { 0,	0,		SEN(setsid),			"setsid"		},
 [129] = { 1,	0,		SEN(getsid),			"getsid"		},
-[130] = { 5,	0,		SEN(prctl),			"prctl"			},
+[130] = { 5,	CD,		SEN(prctl),			"prctl"			},
 [131] = { 1,	NF,		SEN(personality),		"personality"		},
 [132] = { 2,	0,		SEN(getpriority),		"getpriority"		},
 [133] = { 3,	0,		SEN(setpriority),		"setpriority"		},
 [134] = { 3,	0,		SEN(setitimer),			"setitimer"		},
 [135] = { 2,	0,		SEN(getitimer),			"getitimer"		},
-[136] = { 1,	0,		SEN(setuid),			"setuid"		},
-[137] = { 0,	PU|NF,		SEN(getuid),			"getuid"		},
-[138] = { 1,	0,		SEN(setgid),			"setgid"		},
-[139] = { 0,	PU|NF,		SEN(getgid),			"getgid"		},
-[140] = { 0,	PU|NF,		SEN(geteuid),			"geteuid"		},
-[141] = { 0,	PU|NF,		SEN(getegid),			"getegid"		},
-[142] = { 2,	0,		SEN(setreuid),			"setreuid"		},
-[143] = { 2,	0,		SEN(setregid),			"setregid"		},
-[144] = { 3,	0,		SEN(setresuid),			"setresuid"		},
-[145] = { 3,	0,		SEN(getresuid),			"getresuid"		},
-[146] = { 3,	0,		SEN(setresgid),			"setresgid"		},
-[147] = { 3,	0,		SEN(getresgid),			"getresgid"		},
+[136] = { 1,	CD,		SEN(setuid),			"setuid"		},
+[137] = { 0,	CD|PU|NF,		SEN(getuid),			"getuid"		},
+[138] = { 1,	CD,		SEN(setgid),			"setgid"		},
+[139] = { 0,	CD|PU|NF,		SEN(getgid),			"getgid"		},
+[140] = { 0,	CD|PU|NF,		SEN(geteuid),			"geteuid"		},
+[141] = { 0,	CD|PU|NF,		SEN(getegid),			"getegid"		},
+[142] = { 2,	CD,		SEN(setreuid),			"setreuid"		},
+[143] = { 2,	CD,		SEN(setregid),			"setregid"		},
+[144] = { 3,	CD,		SEN(setresuid),			"setresuid"		},
+[145] = { 3,	CD,		SEN(getresuid),			"getresuid"		},
+[146] = { 3,	CD,		SEN(setresgid),			"setresgid"		},
+[147] = { 3,	CD,		SEN(getresgid),			"getresgid"		},
 [148] = { 2,	0,		SEN(setpgid),			"setpgid"		},
 [149] = { 1,	0,		SEN(getpgid),			"getpgid"		},
 [150] = { 0,	PU|NF,		SEN(getppid),			"getppid"		},
@@ -157,8 +157,8 @@
 [155] = { 1,	TF,		SEN(acct),			"acct"			},
 [156] = { 3,	0,		SEN(sched_setaffinity),		"sched_setaffinity"	},
 [157] = { 3,	0,		SEN(sched_getaffinity),		"sched_getaffinity"	},
-[158] = { 2,	0,		SEN(capget),			"capget"		},
-[159] = { 2,	0,		SEN(capset),			"capset"		},
+[158] = { 2,	CD,		SEN(capget),			"capget"		},
+[159] = { 2,	CD,		SEN(capset),			"capset"		},
 [160] = { 4,	0,		SEN(ptrace),			"ptrace"		},
 [161] = { 4,	TI,		SEN(semtimedop_time32),		"semtimedop"		},
 [162] = { 3,	TI,		SEN(semget),			"semget"		},
@@ -179,8 +179,8 @@
 [177] = { 1,	TF,		SEN(swapoff),			"swapoff"		},
 [178] = { 0,	0,		SEN(sync),			"sync"			},
 [179] = { 1,	TD,		SEN(syncfs),			"syncfs"		},
-[180] = { 1,	NF,		SEN(setfsuid),			"setfsuid"		},
-[181] = { 1,	NF,		SEN(setfsgid),			"setfsgid"		},
+[180] = { 1,	CD|NF,		SEN(setfsuid),			"setfsuid"		},
+[181] = { 1,	CD|NF,		SEN(setfsgid),			"setfsgid"		},
 [182] = { 3,	0,		SEN(sysfs),			"sysfs"			},
 [183] = { 2,	TSFA,		SEN(ustat),			"ustat"			},
 [184] = { 2,	TF|TSF|TSFA,	SEN(statfs),			"statfs"		},
@@ -195,8 +195,8 @@
 [193] = { 2,	0,		SEN(settimeofday),		"settimeofday"		},
 [194] = { 1,	0,		SEN(adjtimex32),		"adjtimex"		},
 [195] = { 2,	0,		SEN(nanosleep_time32),		"nanosleep"		},
-[196] = { 2,	0,		SEN(getgroups),			"getgroups"		},
-[197] = { 2,	0,		SEN(setgroups),			"setgroups"		},
+[196] = { 2,	CD,		SEN(getgroups),			"getgroups"		},
+[197] = { 2,	CD,		SEN(setgroups),			"setgroups"		},
 [198] = { 2,	0,		SEN(sethostname),		"sethostname"		},
 [199] = { 2,	0,		SEN(setdomainname),		"setdomainname"		},
 [200] = { 3,	0,		SEN(syslog),			"syslog"		},
diff --git a/strace.1.in b/strace.1.in
index eb872df1..e750b0eb 100644
--- a/strace.1.in
+++ b/strace.1.in
@@ -510,6 +510,9 @@ The syntax without a preceding percent sign
 .RB (\[dq] "-e trace" = memory \[dq])
 is deprecated.
 .TP
+.BR "\-e\ trace" = %creds
+Trace system calls that read or modify user and group identifiers or capability sets.
+.TP
 .BR "\-e\ trace" = %stat
 Trace stat syscall variants.
 .TP
diff --git a/sysent.h b/sysent.h
index 02c9b198..c94bae0b 100644
--- a/sysent.h
+++ b/sysent.h
@@ -16,26 +16,27 @@ typedef struct sysent {
 	const char *sys_name;
 } struct_sysent;
 
-# define TRACE_FILE			00000001	/* Trace file-related syscalls. */
-# define TRACE_IPC			00000002	/* Trace IPC-related syscalls. */
-# define TRACE_NETWORK			00000004	/* Trace network-related syscalls. */
-# define TRACE_PROCESS			00000010	/* Trace process-related syscalls. */
-# define TRACE_SIGNAL			00000020	/* Trace signal-related syscalls. */
-# define TRACE_DESC			00000040	/* Trace file descriptor-related syscalls. */
-# define TRACE_MEMORY			00000100	/* Trace memory mapping-related syscalls. */
-# define SYSCALL_NEVER_FAILS		00000200	/* Syscall is always successful. */
-# define MEMORY_MAPPING_CHANGE		00000400	/* Trigger proc/maps cache updating */
-# define STACKTRACE_CAPTURE_ON_ENTER	00001000	/* Capture stacktrace on "entering" stage */
-# define TRACE_INDIRECT_SUBCALL		00002000	/* Syscall is an indirect socket/ipc subcall. */
-# define COMPAT_SYSCALL_TYPES		00004000	/* A compat syscall that uses compat types. */
-# define TRACE_STAT			00010000	/* Trace {,*_}{,old}{,x}stat{,64} syscalls. */
-# define TRACE_LSTAT			00020000	/* Trace *lstat* syscalls. */
-# define TRACE_STATFS			00040000	/* Trace statfs, statfs64, and statvfs syscalls. */
-# define TRACE_FSTATFS			00100000	/* Trace fstatfs, fstatfs64 and fstatvfs syscalls. */
-# define TRACE_STATFS_LIKE		00200000	/* Trace statfs-like, fstatfs-like and ustat syscalls. */
-# define TRACE_FSTAT			00400000	/* Trace *fstat{,at}{,64} syscalls. */
-# define TRACE_STAT_LIKE		01000000	/* Trace *{,l,f}stat{,x,at}{,64} syscalls. */
-# define TRACE_PURE			02000000	/* Trace getter syscalls with no arguments. */
-# define TRACE_SECCOMP_DEFAULT		04000000	/* Syscall is traced by seccomp filter by default. */
+# define TRACE_FILE			000000001	/* Trace file-related syscalls. */
+# define TRACE_IPC			000000002	/* Trace IPC-related syscalls. */
+# define TRACE_NETWORK			000000004	/* Trace network-related syscalls. */
+# define TRACE_PROCESS			000000010	/* Trace process-related syscalls. */
+# define TRACE_SIGNAL			000000020	/* Trace signal-related syscalls. */
+# define TRACE_DESC			000000040	/* Trace file descriptor-related syscalls. */
+# define TRACE_MEMORY			000000100	/* Trace memory mapping-related syscalls. */
+# define SYSCALL_NEVER_FAILS		000000200	/* Syscall is always successful. */
+# define MEMORY_MAPPING_CHANGE		000000400	/* Trigger proc/maps cache updating */
+# define STACKTRACE_CAPTURE_ON_ENTER	000001000	/* Capture stacktrace on "entering" stage */
+# define TRACE_INDIRECT_SUBCALL		000002000	/* Syscall is an indirect socket/ipc subcall. */
+# define COMPAT_SYSCALL_TYPES		000004000	/* A compat syscall that uses compat types. */
+# define TRACE_STAT			000010000	/* Trace {,*_}{,old}{,x}stat{,64} syscalls. */
+# define TRACE_LSTAT			000020000	/* Trace *lstat* syscalls. */
+# define TRACE_STATFS			000040000	/* Trace statfs, statfs64, and statvfs syscalls. */
+# define TRACE_FSTATFS			000100000	/* Trace fstatfs, fstatfs64 and fstatvfs syscalls. */
+# define TRACE_STATFS_LIKE		000200000	/* Trace statfs-like, fstatfs-like and ustat syscalls. */
+# define TRACE_FSTAT			000400000	/* Trace *fstat{,at}{,64} syscalls. */
+# define TRACE_STAT_LIKE		001000000	/* Trace *{,l,f}stat{,x,at}{,64} syscalls. */
+# define TRACE_PURE			002000000	/* Trace getter syscalls with no arguments. */
+# define TRACE_SECCOMP_DEFAULT		004000000	/* Syscall is traced by seccomp filter by default. */
+# define TRACE_CREDS			010000000 /* Trace process credentials-related syscalls */
 
 #endif /* !STRACE_SYSENT_H */
diff --git a/sysent_shorthand_defs.h b/sysent_shorthand_defs.h
index 55280848..bd3fd31d 100644
--- a/sysent_shorthand_defs.h
+++ b/sysent_shorthand_defs.h
@@ -28,6 +28,7 @@
 # define SE	0
 # define CST	0
 # define TSD	0
+# define CD	0
 # define SEN(a)	0, 0
 
 #else	/*	!STRACE_TESTS_H	*/
@@ -53,6 +54,7 @@
 # define SE	STACKTRACE_CAPTURE_ON_ENTER
 # define CST	COMPAT_SYSCALL_TYPES
 # define TSD	TRACE_SECCOMP_DEFAULT
+# define CD	TRACE_CREDS
 /* SEN(a) is defined elsewhere */
 
 #endif
-- 
2.24.1



More information about the Strace-devel mailing list