From 172aa4d23a5c4729179c5eda78a444565984b25b Mon Sep 17 00:00:00 2001 From: deraadt Date: Fri, 16 Jan 2015 00:18:06 +0000 Subject: [PATCH] Move to using PATH_MAX ok millert guenther --- sys/dev/systrace.h | 6 +++--- 1 file 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 * 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 -- 2.20.1