SHA256
1
0
forked from pool/strace
OBS User unknown 2007-01-18 00:47:16 +00:00 committed by Git OBS Bridge
parent f6ae875b0f
commit 38eaa46333
11 changed files with 49 additions and 3171 deletions

View File

@ -1,125 +0,0 @@
--- file.c
+++ file.c
@@ -324,6 +324,49 @@
return 0;
}
+static const struct xlat inotify_modes[] = {
+ { 0x00000001, "IN_ACCESS" },
+ { 0x00000002, "IN_MODIFY" },
+ { 0x00000004, "IN_ATTRIB" },
+ { 0x00000008, "IN_CLOSE_WRITE" },
+ { 0x00000010, "IN_CLOSE_NOWRITE" },
+ { 0x00000020, "IN_OPEN" },
+ { 0x00000040, "IN_MOVED_FROM" },
+ { 0x00000080, "IN_MOVED_TO" },
+ { 0x00000100, "IN_CREATE" },
+ { 0x00000200, "IN_DELETE" },
+ { 0x00000400, "IN_DELETE_SELF" },
+ { 0x00000800, "IN_MOVE_SELF" },
+ { 0x00002000, "IN_UNMOUNT" },
+ { 0x00004000, "IN_Q_OVERFLOW" },
+ { 0x00008000, "IN_IGNORED" },
+ { 0x40000000, "IN_ISDIR" },
+ { 0x80000000, "IN_ONESHOT" }
+};
+
+int
+sys_inotify_add_watch(tcp)
+struct tcb *tcp;
+{
+ if (entering(tcp)) {
+ tprintf("%ld, ", tcp->u_arg[0]);
+ printpath(tcp, tcp->u_arg[1]);
+ tprintf(", ");
+ printflags(inotify_modes, tcp->u_arg[2], "IN_???");
+ }
+ return 0;
+}
+
+int
+sys_inotify_rm_watch(tcp)
+struct tcb *tcp;
+{
+ if (entering(tcp)) {
+ tprintf("%ld, %ld", tcp->u_arg[0], tcp->u_arg[1]);
+ }
+ return 0;
+}
+
#ifdef LINUXSPARC
static const struct xlat openmodessol[] = {
{ 0, "O_RDWR" },
--- linux/alpha/syscallent.h
+++ linux/alpha/syscallent.h
@@ -473,5 +473,5 @@
{ 3, 0, printargs, "ioprio_set" }, /* 442 */
{ 2, 0, printargs, "ioprio_get" }, /* 443 */
{ 0, 0, printargs, "inotify_init" }, /* 444 */
- { 3, 0, printargs, "inotify_add_watch" }, /* 445 */
- { 2, 0, printargs, "inotify_rm_watch" }, /* 446 */
+ { 3, 0, sys_inotify_add_watch, "inotify_add_watch" }, /* 445 */
+ { 2, 0, sys_inotify_rm_watch, "inotify_rm_watch" }, /* 446 */
--- linux/ia64/syscallent.h
+++ linux/ia64/syscallent.h
@@ -1181,8 +1181,8 @@
{ 2, 0, printargs, "ioprio_get" }, /* 1275 */
{ 3, 0, printargs, "set_zone_reclaim" }, /* 1276 */
{ 0, 0, printargs, "inotify_init" }, /* 1277 */
- { 3, 0, printargs, "inotify_add_watch" }, /* 1278 */
- { 2, 0, printargs, "inotify_rm_watch" }, /* 1279 */
+ { 3, 0, sys_inotify_add_watch, "inotify_add_watch" }, /* 1278 */
+ { 2, 0, sys_inotify_rm_watch, "inotify_rm_watch" }, /* 1279 */
{ 4, 0, printargs, "migrate_pages" }, /* 1280 */
{ 4, TD|TF, sys_openat, "openat" }, /* 1281 */
{ 3, TD|TF, sys_mkdirat, "mkdirat" }, /* 1282 */
--- linux/powerpc/syscallent.h
+++ linux/powerpc/syscallent.h
@@ -305,8 +305,8 @@
{ 3, 0, printargs, "ioprio_set" }, /* 273 */
{ 2, 0, printargs, "ioprio_get" }, /* 274 */
{ 0, 0, printargs, "inotify_init" }, /* 275 */
- { 3, 0, printargs, "inotify_add_watch" }, /* 276 */
- { 2, 0, printargs, "inotify_rm_watch" }, /* 277 */
+ { 3, 0, sys_inotify_add_watch, "inotify_add_watch" }, /* 276 */
+ { 2, 0, sys_inotify_rm_watch, "inotify_rm_watch" }, /* 277 */
{ 5, 0, printargs, "SYS_278" }, /* 278 */
{ 5, 0, printargs, "SYS_279" }, /* 279 */
{ 5, 0, printargs, "SYS_280" }, /* 280 */
--- linux/s390/syscallent.h
+++ linux/s390/syscallent.h
@@ -313,8 +313,8 @@
{ 3, 0, printargs, "ioprio_set" }, /* 282 */
{ 2, 0, printargs, "ioprio_get" }, /* 283 */
{ 0, 0, printargs, "inotify_init" }, /* 284 */
- { 3, 0, printargs, "inotify_add_watch" }, /* 285 */
- { 2, 0, printargs, "inotify_rm_watch" }, /* 286 */
+ { 3, 0, sys_inotify_add_watch, "inotify_add_watch" }, /* 285 */
+ { 2, 0, sys_inotify_rm_watch, "inotify_rm_watch" }, /* 286 */
{ 5, 0, printargs, "SYS_287" }, /* 287 */
{ 5, 0, printargs, "SYS_288" }, /* 288 */
--- linux/s390x/syscallent.h
+++ linux/s390x/syscallent.h
@@ -312,8 +312,8 @@
{ 3, 0, printargs, "ioprio_set" }, /* 282 */
{ 2, 0, printargs, "ioprio_get" }, /* 283 */
{ 0, 0, printargs, "inotify_init" }, /* 284 */
- { 3, 0, printargs, "inotify_add_watch" }, /* 285 */
- { 2, 0, printargs, "inotify_rm_watch" }, /* 286 */
+ { 3, 0, sys_inotify_add_watch, "inotify_add_watch" }, /* 285 */
+ { 2, 0, sys_inotify_rm_watch, "inotify_rm_watch" }, /* 286 */
{ 5, 0, printargs, "SYS_287" }, /* 287 */
{ 5, 0, printargs, "SYS_288" }, /* 288 */
--- linux/syscall.h
+++ linux/syscall.h
@@ -102,6 +102,7 @@
int sys_mbind(), sys_get_mempolicy(), sys_set_mempolicy();
int sys_arch_prctl();
int sys_io_setup(), sys_io_submit(), sys_io_cancel(), sys_io_getevents(), sys_io_destroy();
+int sys_inotify_init(), sys_inotify_add_watch(), sys_inotify_rm_watch();
/* sys_socketcall subcalls */
merged the two writing of sys_inotify_add_watch and sys_inotify_rm_watch into syscalls.diff

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a6808914cbfead2595dfd061a0f14dcbb0a8bb645e3cfdfa5c247d7ded9e0e7d
size 445134

View File

@ -1,6 +1,6 @@
--- mem.c
+++ mem.c
@@ -551,7 +551,7 @@
@@ -555,7 +555,7 @@
#if defined(LINUX) && defined(__i386__)
void
print_ldt_entry (ldt_entry)
@ -9,7 +9,7 @@
{
tprintf("base_addr:%#08lx, "
"limit:%d, "
@@ -576,10 +576,10 @@
@@ -580,10 +580,10 @@
struct tcb *tcp;
{
if (entering(tcp)) {
@ -22,7 +22,7 @@
|| umove(tcp, tcp->u_arg[1], &copy) == -1)
tprintf(", %lx", tcp->u_arg[1]);
else {
@@ -599,7 +599,7 @@
@@ -603,7 +603,7 @@
sys_set_thread_area(tcp)
struct tcb *tcp;
{
@ -31,7 +31,7 @@
if (entering(tcp)) {
if (umove(tcp, tcp->u_arg[0], &copy) != -1) {
if (copy.entry_number == -1)
@@ -628,7 +628,7 @@
@@ -632,7 +632,7 @@
sys_get_thread_area(tcp)
struct tcb *tcp;
{
@ -42,7 +42,7 @@
tprintf("{entry_number:%d, ", copy.entry_number);
--- process.c
+++ process.c
@@ -589,7 +589,7 @@
@@ -591,7 +591,7 @@
tprintf(", parent_tidptr=%#lx", tcp->u_arg[ARG_PTID]);
if (flags & CLONE_SETTLS) {
# ifdef I386
@ -53,7 +53,7 @@
copy.entry_number);
--- signal.c
+++ signal.c
@@ -1692,7 +1692,7 @@
@@ -1697,7 +1697,7 @@
struct tcb *tcp;
{
if (entering(tcp)) {
@ -64,7 +64,7 @@
}
--- strace.c
+++ strace.c
@@ -1382,7 +1382,7 @@
@@ -1461,7 +1461,7 @@
#ifdef LINUX
if (zombie != NULL)
@ -73,7 +73,7 @@
#endif
return error;
@@ -1962,7 +1962,7 @@
@@ -2035,7 +2035,7 @@
fprintf(stderr,
"PANIC: handle_group_exit: %d leader %d\n",
tcp->pid, leader ? leader->pid : -1);
@ -82,34 +82,9 @@
}
else {
/* Mark that we are taking the process down. */
@@ -2259,6 +2259,7 @@
&& (qual_flags[WSTOPSIG(status)] & QUAL_SIGNAL)) {
unsigned long addr = 0, pc = 0;
#ifdef PT_GETSIGINFO
+# if defined IA64 && defined LINUX
# define PSR_RI 41
struct siginfo si;
unsigned long psr;
@@ -2269,7 +2270,7 @@
pc += (psr >> PSR_RI) & 0x3;
ptrace(PT_GETSIGINFO, pid, 0, (long) &si);
addr = (unsigned long) si.si_addr;
-#elif defined PTRACE_GETSIGINFO
+# else
if (WSTOPSIG(status) == SIGSEGV ||
WSTOPSIG(status) == SIGBUS) {
siginfo_t si;
@@ -2278,6 +2279,7 @@
addr = (unsigned long)
si.si_addr;
}
+# endif
#endif
printleader(tcp);
tprintf("--- %s (%s) @ %lx (%lx) ---",
--- system.c
+++ system.c
@@ -1578,7 +1578,6 @@
@@ -1612,7 +1612,6 @@
{ CTL_KERN, "CTL_KERN" },
{ CTL_VM, "CTL_VM" },
{ CTL_NET, "CTL_NET" },

3
strace-4.5.15.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ba8c492c1b2033d4e2131f05df9e3780d4bc35bea87aa32a6052dd53a814e288
size 455607

File diff suppressed because it is too large Load Diff

View File

@ -1,336 +0,0 @@
2006-01-22 initially Ulrich Drepper <drepper@redhat.com>
- done identically bk@suse.de (not knowing/not having found his patch):
* file.c (sys_openat, sys_faccessat, sys_newfstatat, sys_mkdirat,
sys_linkat, sys_unlinkat, sys_symlinkat, sys_readlinkat, sys_renameat,
sys_fchownat, sys_fchmodat, sys_futimesat, sys_mknodat): New functions.
The hooks for the new functions are in the syscalls.diff
Tested using the glibc testcases by bk@suse.de:
--- strace.current/file.c 2005-06-08 22:45:28.000000000 +0200
+++ strace/file.c 2006-03-27 23:52:11.000000000 +0200
@@ -324,6 +324,33 @@ struct tcb *tcp;
return 0;
}
+static inline void printdfd(dfd)
+int dfd;
+{
+ if (dfd == AT_FDCWD)
+ tprintf("AT_FDCWD, ");
+ else
+ tprintf("%d, ", dfd);
+}
+
+int
+sys_openat(tcp)
+struct tcb *tcp;
+{
+ if (entering(tcp)) {
+ printdfd(tcp->u_arg[0]);
+ printpath(tcp, tcp->u_arg[1]);
+ tprintf(", ");
+ /* flags */
+ printflags(openmodes, tcp->u_arg[2] + 1, "O_???");
+ if (tcp->u_arg[2] & O_CREAT) {
+ /* mode */
+ tprintf(", %#lo", tcp->u_arg[3]);
+ }
+ }
+ return 0;
+}
+
#ifdef LINUXSPARC
static const struct xlat openmodessol[] = {
{ 0, "O_RDWR" },
@@ -400,6 +427,19 @@ struct tcb *tcp;
}
int
+sys_faccessat(tcp)
+struct tcb *tcp;
+{
+ if (entering(tcp)) {
+ printdfd(tcp->u_arg[0]);
+ printpath(tcp, tcp->u_arg[1]);
+ tprintf(", ");
+ printflags(access_flags, tcp->u_arg[2], "?_OK");
+ }
+ return 0;
+}
+
+int
sys_umask(tcp)
struct tcb *tcp;
{
@@ -1128,6 +1168,31 @@ struct tcb *tcp;
}
#endif
+static const struct xlat fstatatflags[] = {
+ { AT_SYMLINK_NOFOLLOW, "AT_SYMLINK_NOFOLLOW" },
+ { 0, NULL },
+};
+
+int
+sys_fstatat(tcp)
+struct tcb *tcp;
+{
+ if (entering(tcp)) {
+ printdfd(tcp->u_arg[0]);
+ printpath(tcp, tcp->u_arg[1]);
+ tprintf(", ");
+ } else {
+#ifdef HAVE_STAT64
+ printstat64(tcp, tcp->u_arg[2]);
+#else
+ printstat(tcp, tcp->u_arg[2]);
+#endif
+ tprintf(", ");
+ printflags(fstatatflags, tcp->u_arg[3], "AT_???");
+ }
+ return 0;
+}
+
int
sys_fstat64(tcp)
struct tcb *tcp;
@@ -1696,6 +1757,18 @@ struct tcb *tcp;
}
int
+sys_mkdirat(tcp)
+struct tcb *tcp;
+{
+ if (entering(tcp)) {
+ printdfd(tcp->u_arg[0]);
+ printpath(tcp, tcp->u_arg[1]);
+ tprintf(", %#lo", tcp->u_arg[2]);
+ }
+ return 0;
+}
+
+int
sys_rmdir(tcp)
struct tcb *tcp;
{
@@ -1757,6 +1830,70 @@ struct tcb *tcp;
return 0;
}
+static const struct xlat unlinkatflags[] = {
+ { AT_REMOVEDIR, "AT_REMOVEDIR" },
+ { 0, NULL },
+};
+
+int
+sys_linkat(tcp)
+struct tcb *tcp;
+{
+ if (entering(tcp)) {
+ printdfd(tcp->u_arg[0]);
+ printpath(tcp, tcp->u_arg[1]);
+ tprintf(", ");
+ printdfd(tcp->u_arg[2]);
+ printpath(tcp, tcp->u_arg[3]);
+ tprintf(", %ld", tcp->u_arg[4]);
+ }
+ return 0;
+}
+
+int
+sys_unlinkat(tcp)
+struct tcb *tcp;
+{
+ if (entering(tcp)) {
+ printdfd(tcp->u_arg[0]);
+ printpath(tcp, tcp->u_arg[1]);
+ tprintf(", ");
+ printflags(unlinkatflags, tcp->u_arg[2], "AT_???");
+ }
+ return 0;
+}
+
+int
+sys_symlinkat(tcp)
+struct tcb *tcp;
+{
+ if (entering(tcp)) {
+ printpath(tcp, tcp->u_arg[0]);
+ tprintf(", ");
+ printdfd(tcp->u_arg[1]);
+ printpath(tcp, tcp->u_arg[2]);
+ }
+ return 0;
+}
+
+int
+sys_readlinkat(tcp)
+struct tcb *tcp;
+{
+ if (entering(tcp)) {
+ printdfd(tcp->u_arg[0]);
+ printpath(tcp, tcp->u_arg[1]);
+ tprintf(", ");
+ } else {
+ if (syserror(tcp))
+ tprintf("%#lx", tcp->u_arg[2]);
+ else
+ printpathn(tcp, tcp->u_arg[2], tcp->u_rval);
+ tprintf(", %lu", tcp->u_arg[3]);
+ }
+ return 0;
+}
+
int
sys_symlink(tcp)
struct tcb *tcp;
@@ -1799,6 +1936,20 @@ struct tcb *tcp;
}
int
+sys_renameat(tcp)
+struct tcb *tcp;
+{
+ if (entering(tcp)) {
+ printdfd(tcp->u_arg[0]);
+ printpath(tcp, tcp->u_arg[1]);
+ tprintf(", ");
+ printdfd(tcp->u_arg[2]);
+ printpath(tcp, tcp->u_arg[3]);
+ }
+ return 0;
+}
+
+int
sys_chown(tcp)
struct tcb *tcp;
{
@@ -1810,6 +2001,29 @@ struct tcb *tcp;
return 0;
}
+#ifdef LINUX
+int
+sys_fchownat(tcp)
+struct tcb *tcp;
+{
+ if (entering(tcp)) {
+ printdfd(tcp->u_arg[0]);
+ printpath(tcp, tcp->u_arg[1]);
+ printuid(", ", tcp->u_arg[2]);
+ printuid(", ", tcp->u_arg[3]);
+ tprintf(", ");
+ if (tcp->u_arg[4] & AT_SYMLINK_NOFOLLOW) {
+ tprintf("AT_SYMLINK_NOFOLLOW");
+ if (tcp->u_arg[4] & ~AT_SYMLINK_NOFOLLOW)
+ tprintf("|");
+ }
+ if (tcp->u_arg[4] == 0 || (tcp->u_arg[4] & ~AT_SYMLINK_NOFOLLOW))
+ tprintf("%lx", tcp->u_arg[4]);
+ }
+ return 0;
+}
+#endif
+
int
sys_fchown(tcp)
struct tcb *tcp;
@@ -1833,6 +2050,20 @@ struct tcb *tcp;
return 0;
}
+#ifdef LINUX
+int
+sys_fchmodat(tcp)
+struct tcb *tcp;
+{
+ if (entering(tcp)) {
+ printdfd(tcp->u_arg[0]);
+ printpath(tcp, tcp->u_arg[1]);
+ tprintf(", %#lo", tcp->u_arg[2]);
+ }
+ return 0;
+}
+#endif
+
int
sys_fchmod(tcp)
struct tcb *tcp;
@@ -1869,6 +2103,21 @@ struct tcb *tcp;
return 0;
}
+#ifdef LINUX
+int
+sys_futimesat(tcp)
+struct tcb *tcp;
+{
+ if (entering(tcp)) {
+ printdfd(tcp->u_arg[0]);
+ printpath(tcp, tcp->u_arg[1]);
+ tprintf(", ");
+ printtv(tcp, tcp->u_arg[2]);
+ }
+ return 0;
+}
+#endif
+
int
sys_utime(tcp)
struct tcb *tcp;
@@ -1923,6 +2111,36 @@ struct tcb *tcp;
}
int
+sys_mknodat(tcp)
+struct tcb *tcp;
+{
+ int mode = tcp->u_arg[2];
+
+ if (entering(tcp)) {
+ printdfd(tcp->u_arg[0]);
+ printpath(tcp, tcp->u_arg[1]);
+ tprintf(", %s", sprintmode(mode));
+ switch (mode & S_IFMT) {
+ case S_IFCHR: case S_IFBLK:
+#ifdef LINUXSPARC
+ if (current_personality == 1)
+ tprintf(", makedev(%lu, %lu)",
+ (unsigned long) ((tcp->u_arg[3] >> 18) & 0x3fff),
+ (unsigned long) (tcp->u_arg[3] & 0x3ffff));
+ else
+#endif
+ tprintf(", makedev(%lu, %lu)",
+ (unsigned long) major(tcp->u_arg[3]),
+ (unsigned long) minor(tcp->u_arg[3]));
+ break;
+ default:
+ break;
+ }
+ }
+ return 0;
+}
+
+int
sys_mkfifo(tcp)
struct tcb *tcp;
{
diff -rup strace.current/linux/syscall.h strace/linux/syscall.h
--- strace.current/linux/syscall.h 2006-03-27 18:57:22.000000000 +0200
+++ strace/linux/syscall.h 2006-03-27 23:33:07.000000000 +0200
@@ -115,6 +115,12 @@ int sys_query_module();
int sys_poll();
int sys_mincore();
+/* the 13 openat syscalls and pselect6 */
+int sys_openat(), sys_mkdirat(), sys_mknodat(), sys_fchownat();
+int sys_futimesat(), sys_fstatat(), sys_unlinkat(), sys_renameat();
+int sys_linkat(), sys_symlinkat(), sys_readlinkat();
+int sys_fchmodat(), sys_faccessat(), sys_pselect6();
+
/* architecture-specific calls */
#ifdef ALPHA
int sys_osf_select();

View File

@ -1,65 +0,0 @@
Extracted changelog (to only include the pselect6 changes):
2006-01-22 Ulrich Drepper <drepper@redhat.com>
* defs.h: Declare sprintsigmask.
* desc.c (sys_pselect): New function.
* signal.c: Export sprintsigmask.
Hooking up the new function is done in the syscalls.diff
Origin:
pselect6 syscall from attachment
https://bugzilla.redhat.com/bugzilla/attachment.cgi?id=123547
of bug:
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=178633
--- strace-4.5.14-old/signal.c 2006-01-12 14:34:50.000000000 -0800
+++ strace-4.5.14/signal.c 2006-01-20 22:03:27.000000000 -0800
@@ -313,7 +313,7 @@ int len;
#define copy_sigset(tcp, addr, s) copy_sigset_len(tcp, addr, s, sizeof(sigset_t))
#endif
-static char *
+char *
sprintsigmask(s, mask, rt)
char *s;
sigset_t *mask;
--- strace-4.5.14-old/defs.h 2006-01-12 02:18:53.000000000 -0800
+++ strace-4.5.14/defs.h 2006-01-20 22:01:25.000000000 -0800
@@ -462,6 +462,7 @@ extern int sigishandled P((struct tcb *,
extern void printcall P((struct tcb *));
extern const char *signame P((int));
extern void printsignal P((int));
+extern char *sprintsigmask P((char *, sigset_t *, int));
extern void printleader P((struct tcb *));
extern void printtrailer P((struct tcb *));
extern void tabto P((int));
--- strace-4.5.14-old/desc.c 2005-06-01 12:22:07.000000000 -0700
+++ strace-4.5.14/desc.c 2006-01-20 22:09:31.000000000 -0800
@@ -871,3 +871,25 @@ int
long *args = tcp->u_arg;
return decode_select(tcp, args, 0);
}
+
+#ifdef LINUX
+int
+sys_pselect6(tcp)
+struct tcb *tcp;
+{
+ int rc = decode_select(tcp, tcp->u_arg, 0);
+ if (exiting(tcp)) {
+ struct {
+ void *ss;
+ size_t len;
+ } data;
+ sigset_t ss;
+ if (umove(tcp, tcp->u_arg[5], &data) < 0
+ || umoven(tcp, data.ss, data.len, &ss) < 0)
+ tprintf("{?}, ?");
+ else
+ tprintf(", %s, %zu", sprintsigmask("", &ss, 1), data.len);
+ }
+ return rc;
+}
+#endif

View File

@ -1,32 +1,16 @@
resource.c | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletion(-)
Index: resource.c
===================================================================
--- resource.c.orig 2005-10-28 14:04:55.000000000 +0200
+++ resource.c 2005-10-31 18:19:31.000000000 +0100
@@ -36,6 +36,7 @@
#ifdef LINUX
#include <sys/times.h>
#include <linux/kernel.h>
+#include <linux/version.h>
#include <sys/quota.h>
#endif /* LINUX */
#ifdef SUNOS4
@@ -386,10 +387,15 @@ struct tcb *tcp;
--- resource.c
+++ resource.c
@@ -388,10 +388,10 @@
si.loads[2]);
tprintf("totalram=%lu, freeram=%lu, ",
si.totalram, si.freeram);
- tprintf("sharedram=%lu, bufferram=%lu} ",
+ tprintf("sharedram=%lu, bufferram=%lu, ",
si.sharedram, si.bufferram);
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,3,48)
tprintf("totalswap=%lu, freeswap=%lu, procs=%hu}",
si.totalswap, si.freeswap, si.procs);
+#else
- tprintf("totalswap=%lu, freeswap=%lu, procs=%hu}",
- si.totalswap, si.freeswap, si.procs);
+ tprintf("totalswap=%lu, freeswap=%lu, procs=%hu, mem_unit=%u}",
+ si.totalswap, si.freeswap, si.procs, si.mem_unit);
+#endif
}
}
return 0;

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Wed Jan 17 17:47:15 CET 2007 - schwab@suse.de
- Update to strace 4.5.15.
* Bug fixes.
* Several biarch improvements.
* Improved output for adjtimex, sysctl, quotactl, mount, umount.
* Support new Linux system calls *at, inotify*, pselect6, ppoll and unshare.
-------------------------------------------------------------------
Mon Oct 9 15:22:08 CEST 2006 - schwab@suse.de

View File

@ -1,7 +1,7 @@
#
# spec file for package strace (Version 4.5.14)
# spec file for package strace (Version 4.5.15)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
@ -15,22 +15,18 @@ BuildRequires: libacl-devel
License: Other License(s), see package
Group: Development/Tools/Debuggers
Autoreqprov: on
Version: 4.5.14
Release: 25
Version: 4.5.15
Release: 1
Summary: A utility to trace the system calls of a program
Source: strace-%{version}.tar.bz2
Patch99: strace-cvs.diff
Patch: strace-%{version}.diff
Patch2: warn.patch
Patch3: strace-s390minusi.patch
Patch6: syscalls.diff
Patch7: proper_inotify.diff
Patch8: strace-sysinfo.diff
Patch9: strace-graph.diff
Patch10: strace-openat-syscalls.patch
Patch11: strace-pselect6.patch
Patch13: ioctl.diff
Patch14: fstatat-ppc64.patch
Patch1: warn.patch
Patch2: strace-s390minusi.patch
Patch3: syscalls.diff
Patch4: strace-sysinfo.diff
Patch5: strace-graph.diff
Patch6: ioctl.diff
Patch7: fstatat-ppc64.patch
URL: http://www.liacs.nl/~wichert/strace/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -49,23 +45,17 @@ Authors:
%prep
%setup -q
%patch99
%patch
%patch1
%patch2
%patch3
%patch4
%patch5
%patch6
%patch7
%patch8
%patch9
%patch10 -p1
%patch11 -p1
%patch13
%patch14
%build
%{suse_update_config -f}
autoreconf -fi
export CFLAGS="-Wall $RPM_OPT_FLAGS -pipe"
export CFLAGS="$RPM_OPT_FLAGS"
%ifarch alpha
CFLAGS="$CFLAGS -ffixed-8"
%endif
@ -86,6 +76,12 @@ rm -rf $RPM_BUILD_ROOT
%doc %{_mandir}/man1/strace.1.gz
%changelog -n strace
* Wed Jan 17 2007 - schwab@suse.de
- Update to strace 4.5.15.
* Bug fixes.
* Several biarch improvements.
* Improved output for adjtimex, sysctl, quotactl, mount, umount.
* Support new Linux system calls *at, inotify*, pselect6, ppoll and unshare.
* Mon Oct 09 2006 - schwab@suse.de
- Fix compilation with 2.6.18 kernel headers.
* Fri Sep 29 2006 - schwab@suse.de

View File

@ -1,186 +1,6 @@
--- linux/alpha/syscallent.h
+++ linux/alpha/syscallent.h
@@ -467,3 +467,11 @@
{ 2, 0, sys_mq_notify, "mq_notify" }, /* 436 */
{ 3, 0, sys_mq_getsetattr, "mq_getsetattr" }, /* 437 */
{ 4, 0, printargs, "waitid" }, /* 438 */
+ { 5, 0, printargs, "add_key" }, /* 439 */
+ { 4, 0, printargs, "request_key" }, /* 440 */
+ { 5, 0, printargs, "keyctl" }, /* 441 */
+ { 3, 0, printargs, "ioprio_set" }, /* 442 */
+ { 2, 0, printargs, "ioprio_get" }, /* 443 */
+ { 0, 0, printargs, "inotify_init" }, /* 444 */
+ { 3, 0, printargs, "inotify_add_watch" }, /* 445 */
+ { 2, 0, printargs, "inotify_rm_watch" }, /* 446 */
--- linux/ia64/syscallent.h
+++ linux/ia64/syscallent.h
@@ -246,106 +246,6 @@
starts where that one leaves off.
*/
- { 8, 0, printargs, "SYS_343" }, /* 343 */
- { 8, 0, printargs, "SYS_344" }, /* 344 */
- { 8, 0, printargs, "SYS_345" }, /* 345 */
- { 8, 0, printargs, "SYS_346" }, /* 346 */
- { 8, 0, printargs, "SYS_347" }, /* 347 */
- { 8, 0, printargs, "SYS_348" }, /* 348 */
- { 8, 0, printargs, "SYS_349" }, /* 349 */
- { 8, 0, printargs, "SYS_350" }, /* 350 */
- { 8, 0, printargs, "SYS_351" }, /* 351 */
- { 8, 0, printargs, "SYS_352" }, /* 352 */
- { 8, 0, printargs, "SYS_353" }, /* 353 */
- { 8, 0, printargs, "SYS_354" }, /* 354 */
- { 8, 0, printargs, "SYS_355" }, /* 355 */
- { 8, 0, printargs, "SYS_356" }, /* 356 */
- { 8, 0, printargs, "SYS_357" }, /* 357 */
- { 8, 0, printargs, "SYS_358" }, /* 358 */
- { 8, 0, printargs, "SYS_359" }, /* 359 */
- { 8, 0, printargs, "SYS_360" }, /* 360 */
- { 8, 0, printargs, "SYS_361" }, /* 361 */
- { 8, 0, printargs, "SYS_362" }, /* 362 */
- { 8, 0, printargs, "SYS_363" }, /* 363 */
- { 8, 0, printargs, "SYS_364" }, /* 364 */
- { 8, 0, printargs, "SYS_365" }, /* 365 */
- { 8, 0, printargs, "SYS_366" }, /* 366 */
- { 8, 0, printargs, "SYS_367" }, /* 367 */
- { 8, 0, printargs, "SYS_368" }, /* 368 */
- { 8, 0, printargs, "SYS_369" }, /* 369 */
- { 8, 0, printargs, "SYS_370" }, /* 370 */
- { 8, 0, printargs, "SYS_371" }, /* 371 */
- { 8, 0, printargs, "SYS_372" }, /* 372 */
- { 8, 0, printargs, "SYS_373" }, /* 373 */
- { 8, 0, printargs, "SYS_374" }, /* 374 */
- { 8, 0, printargs, "SYS_375" }, /* 375 */
- { 8, 0, printargs, "SYS_376" }, /* 376 */
- { 8, 0, printargs, "SYS_377" }, /* 377 */
- { 8, 0, printargs, "SYS_378" }, /* 378 */
- { 8, 0, printargs, "SYS_379" }, /* 379 */
- { 8, 0, printargs, "SYS_380" }, /* 380 */
- { 8, 0, printargs, "SYS_381" }, /* 381 */
- { 8, 0, printargs, "SYS_382" }, /* 382 */
- { 8, 0, printargs, "SYS_383" }, /* 383 */
- { 8, 0, printargs, "SYS_384" }, /* 384 */
- { 8, 0, printargs, "SYS_385" }, /* 385 */
- { 8, 0, printargs, "SYS_386" }, /* 386 */
- { 8, 0, printargs, "SYS_387" }, /* 387 */
- { 8, 0, printargs, "SYS_388" }, /* 388 */
- { 8, 0, printargs, "SYS_389" }, /* 389 */
- { 8, 0, printargs, "SYS_390" }, /* 390 */
- { 8, 0, printargs, "SYS_391" }, /* 391 */
- { 8, 0, printargs, "SYS_392" }, /* 392 */
- { 8, 0, printargs, "SYS_393" }, /* 393 */
- { 8, 0, printargs, "SYS_394" }, /* 394 */
- { 8, 0, printargs, "SYS_395" }, /* 395 */
- { 8, 0, printargs, "SYS_396" }, /* 396 */
- { 8, 0, printargs, "SYS_397" }, /* 397 */
- { 8, 0, printargs, "SYS_398" }, /* 398 */
- { 8, 0, printargs, "SYS_399" }, /* 399 */
- { 8, 0, printargs, "SYS_400" }, /* 400 */
- { 8, 0, printargs, "SYS_401" }, /* 401 */
- { 8, 0, printargs, "SYS_402" }, /* 402 */
- { 8, 0, printargs, "SYS_403" }, /* 403 */
- { 8, 0, printargs, "SYS_404" }, /* 404 */
- { 8, 0, printargs, "SYS_405" }, /* 405 */
- { 8, 0, printargs, "SYS_406" }, /* 406 */
- { 8, 0, printargs, "SYS_407" }, /* 407 */
- { 8, 0, printargs, "SYS_408" }, /* 408 */
- { 8, 0, printargs, "SYS_409" }, /* 409 */
- { 8, 0, printargs, "SYS_410" }, /* 410 */
- { 8, 0, printargs, "SYS_411" }, /* 411 */
- { 8, 0, printargs, "SYS_412" }, /* 412 */
- { 8, 0, printargs, "SYS_413" }, /* 413 */
- { 8, 0, printargs, "SYS_414" }, /* 414 */
- { 8, 0, printargs, "SYS_415" }, /* 415 */
- { 8, 0, printargs, "SYS_416" }, /* 416 */
- { 8, 0, printargs, "SYS_417" }, /* 417 */
- { 8, 0, printargs, "SYS_418" }, /* 418 */
- { 8, 0, printargs, "SYS_419" }, /* 419 */
- { 8, 0, printargs, "SYS_420" }, /* 420 */
- { 8, 0, printargs, "SYS_421" }, /* 421 */
- { 8, 0, printargs, "SYS_422" }, /* 422 */
- { 8, 0, printargs, "SYS_423" }, /* 423 */
- { 8, 0, printargs, "SYS_424" }, /* 424 */
- { 8, 0, printargs, "SYS_425" }, /* 425 */
- { 8, 0, printargs, "SYS_426" }, /* 426 */
- { 8, 0, printargs, "SYS_427" }, /* 427 */
- { 8, 0, printargs, "SYS_428" }, /* 428 */
- { 8, 0, printargs, "SYS_429" }, /* 429 */
- { 8, 0, printargs, "SYS_430" }, /* 430 */
- { 8, 0, printargs, "SYS_431" }, /* 431 */
- { 8, 0, printargs, "SYS_432" }, /* 432 */
- { 8, 0, printargs, "SYS_433" }, /* 433 */
- { 8, 0, printargs, "SYS_434" }, /* 434 */
- { 8, 0, printargs, "SYS_435" }, /* 435 */
- { 8, 0, printargs, "SYS_436" }, /* 436 */
- { 8, 0, printargs, "SYS_437" }, /* 437 */
- { 8, 0, printargs, "SYS_438" }, /* 438 */
- { 8, 0, printargs, "SYS_439" }, /* 439 */
- { 8, 0, printargs, "SYS_440" }, /* 440 */
- { 8, 0, printargs, "SYS_441" }, /* 441 */
- { 8, 0, printargs, "SYS_442" }, /* 442 */
{ 8, 0, printargs, "SYS_443" }, /* 443 */
{ 8, 0, printargs, "SYS_444" }, /* 444 */
{ 8, 0, printargs, "SYS_445" }, /* 445 */
@@ -1174,32 +1074,32 @@
{ 5, 0, printargs, "sys_kexec_load" }, /* 1268 */
{ 5, 0, printargs, "vserver" }, /* 1269 */
{ 5, TP, sys_waitid, "waitid" }, /* 1270 */
- { 8, 0, printargs, "SYS_1271" }, /* 1271 */
- { 8, 0, printargs, "SYS_1272" }, /* 1272 */
- { 8, 0, printargs, "SYS_1273" }, /* 1273 */
- { 8, 0, printargs, "SYS_1274" }, /* 1274 */
- { 8, 0, printargs, "SYS_1275" }, /* 1275 */
- { 8, 0, printargs, "SYS_1276" }, /* 1276 */
- { 8, 0, printargs, "SYS_1277" }, /* 1277 */
- { 8, 0, printargs, "SYS_1278" }, /* 1278 */
- { 8, 0, printargs, "SYS_1279" }, /* 1279 */
- { 8, 0, printargs, "SYS_1280" }, /* 1280 */
- { 8, 0, printargs, "SYS_1281" }, /* 1281 */
- { 8, 0, printargs, "SYS_1282" }, /* 1282 */
- { 8, 0, printargs, "SYS_1283" }, /* 1283 */
- { 8, 0, printargs, "SYS_1284" }, /* 1284 */
- { 8, 0, printargs, "SYS_1285" }, /* 1285 */
- { 8, 0, printargs, "SYS_1286" }, /* 1286 */
- { 8, 0, printargs, "SYS_1287" }, /* 1287 */
- { 8, 0, printargs, "SYS_1288" }, /* 1288 */
- { 8, 0, printargs, "SYS_1289" }, /* 1289 */
- { 8, 0, printargs, "SYS_1290" }, /* 1290 */
- { 8, 0, printargs, "SYS_1291" }, /* 1291 */
- { 8, 0, printargs, "SYS_1292" }, /* 1292 */
- { 8, 0, printargs, "SYS_1293" }, /* 1293 */
+ { 5, 0, printargs, "add_key" }, /* 1271 */
+ { 4, 0, printargs, "request_key" }, /* 1272 */
+ { 5, 0, printargs, "keyctl" }, /* 1273 */
+ { 3, 0, printargs, "ioprio_set" }, /* 1274 */
+ { 2, 0, printargs, "ioprio_get" }, /* 1275 */
+ { 3, 0, printargs, "set_zone_reclaim" }, /* 1276 */
+ { 0, 0, printargs, "inotify_init" }, /* 1277 */
+ { 3, 0, printargs, "inotify_add_watch" }, /* 1278 */
+ { 2, 0, printargs, "inotify_rm_watch" }, /* 1279 */
+ { 4, 0, printargs, "migrate_pages" }, /* 1280 */
+ { 4, TD|TF, sys_openat, "openat" }, /* 1281 */
+ { 3, TD|TF, sys_mkdirat, "mkdirat" }, /* 1282 */
+ { 4, TD|TF, sys_mknodat, "mknodat" }, /* 1283 */
+ { 5, TD|TF, sys_fchownat, "fchownat" }, /* 1284 */
+ { 3, TD|TF, sys_futimesat, "futimesat" }, /* 1285 */
+ { 4, TD|TF, sys_fstatat, "fstatat" }, /* 1286 */
+ { 3, TD|TF, sys_unlinkat, "unlinkat" }, /* 1287 */
+ { 4, TD|TF, sys_renameat, "renameat" }, /* 1288 */
+ { 5, TD|TF, sys_linkat, "linkat" }, /* 1289 */
+ { 3, TD|TF, sys_symlinkat, "symlinkat" }, /* 1290 */
+ { 4, TD|TF, sys_readlinkat, "readlinkat" }, /* 1291 */
+ { 3, TD|TF, sys_fchmodat, "fchmodat" }, /* 1292 */
+ { 3, TD|TF, sys_faccessat, "faccessat" }, /* 1293 */
{ 8, 0, printargs, "SYS_1294" }, /* 1294 */
{ 8, 0, printargs, "SYS_1295" }, /* 1295 */
- { 8, 0, printargs, "SYS_1296" }, /* 1296 */
+ { 1, 0, printargs, "unshare" }, /* 1296 */
{ 8, 0, printargs, "SYS_1297" }, /* 1297 */
{ 8, 0, printargs, "SYS_1298" }, /* 1298 */
{ 8, 0, printargs, "SYS_1299" }, /* 1299 */
--- linux/powerpc/syscallent.h
+++ linux/powerpc/syscallent.h
@@ -299,35 +299,35 @@
@@ -299,7 +299,7 @@
{ 3, 0, sys_mq_getsetattr, "mq_getsetattr" }, /* 267 */
{ 5, 0, printargs, "sys_kexec_load" }, /* 268 */
{ 5, 0, printargs, "add_key" }, /* 269 */
@ -188,229 +8,4 @@
+ { 4, 0, printargs, "request_key" }, /* 270 */
{ 5, 0, printargs, "keyctl" }, /* 271 */
{ 5, TP, sys_waitid, "waitid" }, /* 272 */
- { 5, 0, printargs, "SYS_273" }, /* 273 */
- { 5, 0, printargs, "SYS_274" }, /* 274 */
- { 5, 0, printargs, "SYS_275" }, /* 275 */
- { 5, 0, printargs, "SYS_276" }, /* 276 */
- { 5, 0, printargs, "SYS_277" }, /* 277 */
+ { 3, 0, printargs, "ioprio_set" }, /* 273 */
+ { 2, 0, printargs, "ioprio_get" }, /* 274 */
+ { 0, 0, printargs, "inotify_init" }, /* 275 */
+ { 3, 0, printargs, "inotify_add_watch" }, /* 276 */
+ { 2, 0, printargs, "inotify_rm_watch" }, /* 277 */
{ 5, 0, printargs, "SYS_278" }, /* 278 */
{ 5, 0, printargs, "SYS_279" }, /* 279 */
- { 5, 0, printargs, "SYS_280" }, /* 280 */
- { 5, 0, printargs, "SYS_281" }, /* 281 */
- { 5, 0, printargs, "SYS_282" }, /* 282 */
+ { 6, TD, sys_pselect6, "pselect6" }, /* 280 */
+ { 5, 0, printargs, "ppoll" }, /* 281 */
+ { 1, 0, printargs, "unshare" }, /* 282 */
{ 5, 0, printargs, "SYS_283" }, /* 283 */
{ 5, 0, printargs, "SYS_284" }, /* 284 */
{ 5, 0, printargs, "SYS_285" }, /* 285 */
- { 5, 0, printargs, "SYS_286" }, /* 286 */
- { 5, 0, printargs, "SYS_287" }, /* 287 */
- { 5, 0, printargs, "SYS_288" }, /* 288 */
- { 5, 0, printargs, "SYS_289" }, /* 289 */
- { 5, 0, printargs, "SYS_290" }, /* 290 */
- { 5, 0, printargs, "SYS_291" }, /* 291 */
- { 5, 0, printargs, "SYS_292" }, /* 292 */
- { 5, 0, printargs, "SYS_293" }, /* 293 */
- { 5, 0, printargs, "SYS_294" }, /* 294 */
- { 5, 0, printargs, "SYS_295" }, /* 295 */
- { 5, 0, printargs, "SYS_296" }, /* 296 */
- { 5, 0, printargs, "SYS_297" }, /* 297 */
- { 5, 0, printargs, "SYS_298" }, /* 298 */
+ { 4, TD|TF, sys_openat, "openat" }, /* 286 */
+ { 3, TD|TF, sys_mkdirat, "mkdirat" }, /* 287 */
+ { 4, TD|TF, sys_mknodat, "mknodat" }, /* 288 */
+ { 5, TD|TF, sys_fchownat, "fchownat" }, /* 289 */
+ { 3, TD|TF, sys_futimesat, "futimesat" }, /* 290 */
+ { 4, TD|TF, sys_fstatat, "fstatat" }, /* 291 */
+ { 3, TD|TF, sys_unlinkat, "unlinkat" }, /* 292 */
+ { 4, TD|TF, sys_renameat, "renameat" }, /* 293 */
+ { 5, TD|TF, sys_linkat, "linkat" }, /* 294 */
+ { 3, TD|TF, sys_symlinkat, "symlinkat" }, /* 295 */
+ { 4, TD|TF, sys_readlinkat, "readlinkat" }, /* 296 */
+ { 3, TD|TF, sys_fchmodat, "fchmodat" }, /* 297 */
+ { 3, TD|TF, sys_faccessat, "faccessat" }, /* 298 */
{ 5, 0, printargs, "SYS_299" }, /* 299 */ { 5, 0, printargs, "SYS_300" }, /* 300 */
{ 5, 0, printargs, "SYS_301" }, /* 301 */
{ 5, 0, printargs, "SYS_302" }, /* 302 */
--- linux/s390/syscallent.h
+++ linux/s390/syscallent.h
@@ -317,22 +317,22 @@
{ 2, 0, printargs, "inotify_rm_watch" }, /* 286 */
{ 5, 0, printargs, "SYS_287" }, /* 287 */
- { 5, 0, printargs, "SYS_288" }, /* 288 */
- { 5, 0, printargs, "SYS_289" }, /* 289 */
- { 5, 0, printargs, "SYS_290" }, /* 290 */
- { 5, 0, printargs, "SYS_291" }, /* 291 */
- { 5, 0, printargs, "SYS_292" }, /* 292 */
- { 5, 0, printargs, "SYS_293" }, /* 293 */
- { 5, 0, printargs, "SYS_294" }, /* 294 */
- { 5, 0, printargs, "SYS_295" }, /* 295 */
- { 5, 0, printargs, "SYS_296" }, /* 296 */
- { 5, 0, printargs, "SYS_297" }, /* 297 */
- { 5, 0, printargs, "SYS_298" }, /* 298 */
- { 5, 0, printargs, "SYS_299" }, /* 299 */
- { 5, 0, printargs, "SYS_300" }, /* 300 */
- { 5, 0, printargs, "SYS_301" }, /* 301 */
- { 5, 0, printargs, "SYS_302" }, /* 302 */
- { 5, 0, printargs, "SYS_303" }, /* 303 */
+ { 4, TD|TF, sys_openat, "openat" }, /* 288 */
+ { 3, TD|TF, sys_mkdirat, "mkdirat" }, /* 289 */
+ { 4, TD|TF, sys_mknodat, "mknodat" }, /* 290 */
+ { 5, TD|TF, sys_fchownat, "fchownat" }, /* 291 */
+ { 3, TD|TF, sys_futimesat, "futimesat" }, /* 292 */
+ { 4, TD|TF, sys_fstatat, "fstatat64" }, /* 293 */
+ { 3, TD|TF, sys_unlinkat, "unlinkat" }, /* 294 */
+ { 4, TD|TF, sys_renameat, "renameat" }, /* 295 */
+ { 5, TD|TF, sys_linkat, "linkat" }, /* 296 */
+ { 3, TD|TF, sys_symlinkat, "symlinkat" }, /* 297 */
+ { 4, TD|TF, sys_readlinkat, "readlinkat" }, /* 298 */
+ { 3, TD|TF, sys_fchmodat, "fchmodat" }, /* 299 */
+ { 3, TD|TF, sys_faccessat, "faccessat" }, /* 300 */
+ { 6, TD, sys_pselect6, "pselect6" }, /* 301 */
+ { 5, 0, printargs, "ppoll" }, /* 302 */
+ { 1, 0, printargs, "unshare" }, /* 303 */
{ 5, 0, printargs, "SYS_304" }, /* 304 */
{ 5, 0, printargs, "SYS_305" }, /* 305 */
{ 5, 0, printargs, "SYS_306" }, /* 306 */
--- linux/s390x/syscallent.h
+++ linux/s390x/syscallent.h
@@ -316,22 +316,22 @@
{ 2, 0, printargs, "inotify_rm_watch" }, /* 286 */
{ 5, 0, printargs, "SYS_287" }, /* 287 */
- { 5, 0, printargs, "SYS_288" }, /* 288 */
- { 5, 0, printargs, "SYS_289" }, /* 289 */
- { 5, 0, printargs, "SYS_290" }, /* 290 */
- { 5, 0, printargs, "SYS_291" }, /* 291 */
- { 5, 0, printargs, "SYS_292" }, /* 292 */
- { 5, 0, printargs, "SYS_293" }, /* 293 */
- { 5, 0, printargs, "SYS_294" }, /* 294 */
- { 5, 0, printargs, "SYS_295" }, /* 295 */
- { 5, 0, printargs, "SYS_296" }, /* 296 */
- { 5, 0, printargs, "SYS_297" }, /* 297 */
- { 5, 0, printargs, "SYS_298" }, /* 298 */
- { 5, 0, printargs, "SYS_299" }, /* 299 */
- { 5, 0, printargs, "SYS_300" }, /* 300 */
- { 5, 0, printargs, "SYS_301" }, /* 301 */
- { 5, 0, printargs, "SYS_302" }, /* 302 */
- { 5, 0, printargs, "SYS_303" }, /* 303 */
+ { 4, TD|TF, sys_openat, "openat" }, /* 288 */
+ { 3, TD|TF, sys_mkdirat, "mkdirat" }, /* 289 */
+ { 4, TD|TF, sys_mknodat, "mknodat" }, /* 290 */
+ { 5, TD|TF, sys_fchownat, "fchownat" }, /* 291 */
+ { 3, TD|TF, sys_futimesat, "futimesat" }, /* 292 */
+ { 4, TD|TF, sys_fstatat, "fstatat" }, /* 293 */
+ { 3, TD|TF, sys_unlinkat, "unlinkat" }, /* 294 */
+ { 4, TD|TF, sys_renameat, "renameat" }, /* 295 */
+ { 5, TD|TF, sys_linkat, "linkat" }, /* 296 */
+ { 3, TD|TF, sys_symlinkat, "symlinkat" }, /* 297 */
+ { 4, TD|TF, sys_readlinkat, "readlinkat" }, /* 298 */
+ { 3, TD|TF, sys_fchmodat, "fchmodat" }, /* 299 */
+ { 3, TD|TF, sys_faccessat, "faccessat" }, /* 300 */
+ { 6, TD, sys_pselect6, "pselect6" }, /* 301 */
+ { 5, 0, printargs, "ppoll" }, /* 302 */
+ { 1, 0, printargs, "unshare" }, /* 303 */
{ 5, 0, printargs, "SYS_304" }, /* 304 */
{ 5, 0, printargs, "SYS_305" }, /* 305 */
{ 5, 0, printargs, "SYS_306" }, /* 306 */
--- linux/syscallent.h
+++ linux/syscallent.h
@@ -316,31 +316,31 @@
{ 5, 0, printargs, "sys_kexec_load" }, /* 283 */
{ 5, TP, sys_waitid, "waitid", SYS_waitid }, /* 284 */
{ 5, 0, printargs, "SYS_285" }, /* 285 */
- { 5, 0, printargs, "SYS_286" }, /* 286 */
- { 5, 0, printargs, "SYS_287" }, /* 287 */
- { 5, 0, printargs, "SYS_288" }, /* 288 */
- { 5, 0, printargs, "SYS_289" }, /* 289 */
- { 5, 0, printargs, "SYS_290" }, /* 290 */
- { 5, 0, printargs, "SYS_291" }, /* 291 */
- { 5, 0, printargs, "SYS_292" }, /* 292 */
- { 5, 0, printargs, "SYS_293" }, /* 293 */
- { 5, 0, printargs, "SYS_294" }, /* 294 */
- { 5, 0, printargs, "SYS_295" }, /* 295 */
- { 5, 0, printargs, "SYS_296" }, /* 296 */
- { 5, 0, printargs, "SYS_297" }, /* 297 */
- { 5, 0, printargs, "SYS_298" }, /* 298 */
- { 5, 0, printargs, "SYS_299" }, /* 299 */
- { 5, 0, printargs, "SYS_300" }, /* 300 */
- { 5, 0, printargs, "SYS_301" }, /* 301 */
- { 5, 0, printargs, "SYS_302" }, /* 302 */
- { 5, 0, printargs, "SYS_303" }, /* 303 */
- { 5, 0, printargs, "SYS_304" }, /* 304 */
- { 5, 0, printargs, "SYS_305" }, /* 305 */
- { 5, 0, printargs, "SYS_306" }, /* 306 */
- { 5, 0, printargs, "SYS_307" }, /* 307 */
- { 5, 0, printargs, "SYS_308" }, /* 308 */
- { 5, 0, printargs, "SYS_309" }, /* 309 */
- { 5, 0, printargs, "SYS_310" }, /* 310 */
+ { 5, 0, printargs, "add_key" }, /* 286 */
+ { 4, 0, printargs, "request_key" }, /* 287 */
+ { 5, 0, printargs, "keyctl" }, /* 288 */
+ { 3, 0, printargs, "ioprio_set" }, /* 289 */
+ { 2, 0, printargs, "ioprio_get" }, /* 290 */
+ { 0, 0, printargs, "inotify_init" }, /* 291 */
+ { 3, 0, sys_inotify_add_watch, "inotify_add_watch" }, /* 292 */
+ { 2, 0, sys_inotify_rm_watch, "inotify_rm_watch" }, /* 293 */
+ { 4, 0, printargs, "migrate_pages" }, /* 294 */
+ { 4, TD|TF, sys_openat, "openat" }, /* 295 */
+ { 3, TD|TF, sys_mkdirat, "mkdirat" }, /* 296 */
+ { 4, TD|TF, sys_mknodat, "mknodat" }, /* 297 */
+ { 5, TD|TF, sys_fchownat, "fchownat" }, /* 298 */
+ { 3, TD|TF, sys_futimesat, "futimesat" }, /* 299 */
+ { 4, TD|TF, sys_fstatat, "fstatat64" }, /* 300 */
+ { 3, TD|TF, sys_unlinkat, "unlinkat" }, /* 301 */
+ { 4, TD|TF, sys_renameat, "renameat" }, /* 302 */
+ { 5, TD|TF, sys_linkat, "linkat" }, /* 303 */
+ { 3, TD|TF, sys_symlinkat, "symlinkat" }, /* 304 */
+ { 4, TD|TF, sys_readlinkat, "readlinkat" }, /* 305 */
+ { 3, TD|TF, sys_fchmodat, "fchmodat" }, /* 306 */
+ { 3, TD|TF, sys_faccessat, "faccessat" }, /* 307 */
+ { 6, TD, sys_pselect6, "pselect6" }, /* 308 */
+ { 5, 0, printargs, "ppoll" }, /* 309 */
+ { 1, 0, printargs, "unshare" }, /* 310 */
{ 5, 0, printargs, "SYS_311" }, /* 311 */
{ 5, 0, printargs, "SYS_312" }, /* 312 */
{ 5, 0, printargs, "SYS_313" }, /* 313 */
--- linux/x86_64/syscallent.h
+++ linux/x86_64/syscallent.h
@@ -246,9 +246,26 @@
{ 3, 0, sys_mq_getsetattr, "mq_getsetattr" }, /* 245 */
{ 5, 0, printargs, "kexec_load" }, /* 246 */
{ 5, TP, sys_waitid, "waitid" }, /* 247 */
- { 5, 0, printargs, "SYS_248" }, /* 248 */
- { 5, 0, printargs, "SYS_249" }, /* 249 */
- { 5, 0, printargs, "SYS_250" }, /* 250 */
- { 5, 0, printargs, "SYS_251" }, /* 251 */
- { 5, 0, printargs, "SYS_252" }, /* 252 */
- { 5, 0, printargs, "SYS_253" }, /* 253 */
+ { 5, 0, printargs, "add_key" }, /* 248 */
+ { 4, 0, printargs, "request_key" }, /* 249 */
+ { 5, 0, printargs, "keyctl" }, /* 250 */
+ { 3, 0, printargs, "ioprio_set" }, /* 251 */
+ { 2, 0, printargs, "ioprio_get" }, /* 252 */
+ { 0, 0, printargs, "inotify_init" }, /* 253 */
+ { 3, 0, sys_inotify_add_watch, "inotify_add_watch" }, /* 254 */
+ { 2, 0, sys_inotify_rm_watch, "inotify_rm_watch" }, /* 255 */
+ { 4, 0, printargs, "migrate_pages" }, /* 256 */
+ { 4, TD|TF, sys_openat, "openat" }, /* 257 */
+ { 3, TD|TF, sys_mkdirat, "mkdirat" }, /* 258 */
+ { 4, TD|TF, sys_mknodat, "mknodat" }, /* 259 */
+ { 5, TD|TF, sys_fchownat, "fchownat" }, /* 260 */
+ { 3, TD|TF, sys_futimesat, "futimesat" }, /* 261 */
+ { 4, TD|TF, sys_fstatat, "fstatat" }, /* 262 */
+ { 3, TD|TF, sys_unlinkat, "unlinkat" }, /* 263 */
+ { 4, TD|TF, sys_renameat, "renameat" }, /* 264 */
+ { 5, TD|TF, sys_linkat, "linkat" }, /* 265 */
+ { 3, TD|TF, sys_symlinkat, "symlinkat" }, /* 266 */
+ { 4, TD|TF, sys_readlinkat, "readlinkat" }, /* 267 */
+ { 3, TD|TF, sys_fchmodat, "fchmodat" }, /* 268 */
+ { 3, TD|TF, sys_faccessat, "faccessat" }, /* 269 */
+ { 6, TD, sys_pselect6, "pselect6" }, /* 270 */
{ 3, 0, printargs, "ioprio_set" }, /* 273 */