summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2015-01-16 00:18:07 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2015-01-16 00:18:07 +0000
commita4fa45b9b7d4bcc905520f6bf62287f3ef3353e7 (patch)
tree1e431b9561f7dfc66560581a365b490e1bbfb307 /sys/dev
parentfc41730ea446ecc9f5d64f7537141d181499f70e (diff)
Move to using PATH_MAX
ok millert guenther
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/systrace.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/systrace.h b/sys/dev/systrace.h
index 18a9b9e0429..d458eb72be5 100644
--- a/sys/dev/systrace.h
+++ b/sys/dev/systrace.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: systrace.h,v 1.23 2011/09/18 23:24:14 matthew Exp $ */
+/* $OpenBSD: systrace.h,v 1.24 2015/01/16 00:18:06 deraadt Exp $ */
/*
* Copyright 2002 Niels Provos <provos@citi.umich.edu>
* All rights reserved.
@@ -47,7 +47,7 @@ struct str_msg_ugid {
};
struct str_msg_execve {
- char path[MAXPATHLEN];
+ char path[PATH_MAX];
};
#define SYSTR_MAX_POLICIES 64
@@ -109,7 +109,7 @@ struct systrace_answer {
struct systrace_scriptname {
pid_t sn_pid;
- char sn_scriptname[MAXPATHLEN];
+ char sn_scriptname[PATH_MAX];
};
#define SYSTR_READ 1