summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2014-08-17 22:25:53 +0000
committerguenther <guenther@openbsd.org>2014-08-17 22:25:53 +0000
commiteb1dda5ea52333f3b821f9c31ea7695c46cbae96 (patch)
treedd597e7432d1b23c0de2e1da004b540512111700
parenttypo, sorry (diff)
downloadwireguard-openbsd-eb1dda5ea52333f3b821f9c31ea7695c46cbae96.tar.xz
wireguard-openbsd-eb1dda5ea52333f3b821f9c31ea7695c46cbae96.zip
Display symbolicly the mode argument of mkdir, mkfifo, mknod, and umask
-rw-r--r--usr.bin/kdump/kdump.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/usr.bin/kdump/kdump.c b/usr.bin/kdump/kdump.c
index 3903c53ebe4..b8ea03325fa 100644
--- a/usr.bin/kdump/kdump.c
+++ b/usr.bin/kdump/kdump.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kdump.c,v 1.86 2013/12/21 07:32:35 guenther Exp $ */
+/* $OpenBSD: kdump.c,v 1.87 2014/08/17 22:25:53 guenther Exp $ */
/*-
* Copyright (c) 1988, 1993
@@ -591,9 +591,15 @@ ktrsyscall(struct ktr_syscall *ktr)
break;
case SYS_chmod:
case SYS_fchmod:
+ case SYS_mkdir:
+ case SYS_mkfifo:
+ case SYS_mknod:
pn(NULL);
pn(modename);
break;
+ case SYS_umask:
+ pn(modename);
+ break;
case SYS_fcntl: {
int cmd;
int arg;