-/* $OpenBSD: kdump.c,v 1.129 2016/07/18 09:36:50 guenther Exp $ */
+/* $OpenBSD: kdump.c,v 1.130 2017/04/28 13:53:05 mpi Exp $ */
/*-
* Copyright (c) 1988, 1993
uidname,
gidname,
syslogflagname,
+ futexflagname,
};
enum {
Uidname,
Gidname,
Syslogflagname,
+ Futexflagname,
};
#define Pptr Phexlong
[SYS_getgroups] = { Pcount, Pptr },
[SYS_setgroups] = { Pcount, Pptr },
[SYS_setpgid] = { Ppid_t, Ppid_t },
+ [SYS_futex] = { Pptr, Futexflagname, Pcount, Pptr, Pptr },
[SYS_sendsyslog] = { Pptr, Psize, Syslogflagname },
[SYS_utimensat] = { Atfd, Ppath, Pptr, Atflagsname },
[SYS_futimens] = { Pfd, Pptr },
-/* $OpenBSD: kdump_subr.h,v 1.20 2016/06/07 06:12:37 deraadt Exp $ */
+/* $OpenBSD: kdump_subr.h,v 1.21 2017/04/28 13:53:05 mpi Exp $ */
/*
* Copyright(c) 2006 2006 David Kirchner <dpk@dpk.net>
*
void evfflagsname(int, int);
void pollfdeventname(int);
void syslogflagname(int);
+void futexflagname(int);
extern int decimal, fancy, basecol, arg1;
#!/bin/sh
-# $OpenBSD: mksubr,v 1.31 2016/06/07 06:12:37 deraadt Exp $
+# $OpenBSD: mksubr,v 1.32 2017/04/28 13:53:05 mpi Exp $
#
# Copyright (c) 2006 David Kirchner <dpk@dpk.net>
#
#endif
#include <ufs/ufs/quota.h>
#include <sys/syslog.h>
+#include <sys/futex.h>
#include "kdump_subr.h"
# exclude EV_{SYSFLAGS,FLAG1}
auto_orz_type "evflagsname" "EV_[^S][A-Z]+[[:space:]]+0x" "sys/event.h"
auto_orz_type "syslogflagname" "LOG_[A-Z]+[[:space:]]+0x0*[1248]0*[[:space:]]" "sys/syslog.h"
+auto_orz_type "futexflagname" "FUTEX_[A-Z_]+[[:space:]]+[0-9]+" "sys/futex.h"
cat <<_EOF_
/*