summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/sys/exec.h
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/uts/common/sys/exec.h')
-rw-r--r--usr/src/uts/common/sys/exec.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr/src/uts/common/sys/exec.h b/usr/src/uts/common/sys/exec.h
index d36bc20481..b5e2c58be5 100644
--- a/usr/src/uts/common/sys/exec.h
+++ b/usr/src/uts/common/sys/exec.h
@@ -157,10 +157,11 @@ typedef struct uarg {
#endif
#define INTPSZ MAXPATHLEN
+#define INTP_MAXDEPTH 5 /* Nested interpreter depth matches Linux */
typedef struct intpdata {
char *intp;
- char *intp_name;
- char *intp_arg;
+ char *intp_name[INTP_MAXDEPTH];
+ char *intp_arg[INTP_MAXDEPTH];
} intpdata_t;
#define EXECSETID_SETID 0x1 /* setid exec */