diff options
author | Patrick Mooney <pmooney@pfmooney.com> | 2022-09-11 19:30:39 +0000 |
---|---|---|
committer | Andy Fiddaman <illumos@fiddaman.net> | 2022-09-13 19:40:22 +0000 |
commit | 4e18e297380f99d39327599157792494d044942a (patch) | |
tree | 0548e8cb58c09ef1cb181f2ff96c94ba609f8324 /usr/src/uts/common/exec/java/java.c | |
parent | f8e9c7b3ba7100b047717589235b6d05ec43646c (diff) | |
download | illumos-gate-4e18e297380f99d39327599157792494d044942a.tar.gz |
14236 signed math leads getelfshdr astray
14242 programs that lack PT_PHDR are not properly loaded
Portions contributed by: Bryan Cantrill <bryan@joyent.com>
Portions contributed by: Andy Fiddaman <illumos@fiddaman.net>
Reviewed by: Robert Mustacchi <rm+illumos@fingolfin.org>
Reviewed by: Patrick Mooney <pmooney@pfmooney.com>
Reviewed by: Andy Fiddaman <illumos@fiddaman.net>
Approved by: Rich Lowe <richlowe@richlowe.net>
Diffstat (limited to 'usr/src/uts/common/exec/java/java.c')
-rw-r--r-- | usr/src/uts/common/exec/java/java.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/src/uts/common/exec/java/java.c b/usr/src/uts/common/exec/java/java.c index 575b19a13c..9b38dec5a0 100644 --- a/usr/src/uts/common/exec/java/java.c +++ b/usr/src/uts/common/exec/java/java.c @@ -21,6 +21,7 @@ /* * Copyright 2010 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. + * Copyright 2019 Joyent, Inc. */ /* @@ -84,7 +85,7 @@ char *jexec_arg = "-jar"; /*ARGSUSED3*/ static int javaexec(vnode_t *vp, struct execa *uap, struct uarg *args, - struct intpdata *idatap, int level, long *execsz, int setid, + struct intpdata *idatap, int level, size_t *execsz, int setid, caddr_t execfile, cred_t *cred, int brand_action) { struct intpdata idata; |