diff options
author | 2015-01-16 00:18:06 +0000 | |
---|---|---|
committer | 2015-01-16 00:18:06 +0000 | |
commit | 172aa4d23a5c4729179c5eda78a444565984b25b (patch) | |
tree | 734a0f46886cc7ab83348bf7294816d648f192ff | |
parent | first batch of cleanup to programs based upon the namespace cleanups (diff) | |
download | wireguard-openbsd-172aa4d23a5c4729179c5eda78a444565984b25b.tar.xz wireguard-openbsd-172aa4d23a5c4729179c5eda78a444565984b25b.zip |
Move to using PATH_MAX
ok millert guenther
-rw-r--r-- | sys/dev/systrace.h | 6 |
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 |