diff options
Diffstat (limited to 'usr/src/uts/common/exec/java')
-rw-r--r-- | usr/src/uts/common/exec/java/java.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/usr/src/uts/common/exec/java/java.c b/usr/src/uts/common/exec/java/java.c index 0e8c3996e7..bcf61453c9 100644 --- a/usr/src/uts/common/exec/java/java.c +++ b/usr/src/uts/common/exec/java/java.c @@ -2,9 +2,8 @@ * CDDL HEADER START * * The contents of this file are subject to the terms of the - * Common Development and Distribution License, Version 1.0 only - * (the "License"). You may not use this file except in compliance - * with the License. + * Common Development and Distribution License (the "License"). + * You may not use this file except in compliance with the License. * * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE * or http://www.opensolaris.org/os/licensing. @@ -20,7 +19,7 @@ * CDDL HEADER END */ /* - * Copyright 2004 Sun Microsystems, Inc. All rights reserved. + * Copyright 2006 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ @@ -88,7 +87,7 @@ char *jexec_arg = "-jar"; static int javaexec(vnode_t *vp, struct execa *uap, struct uarg *args, struct intpdata *idatap, int level, long *execsz, int setid, - caddr_t execfile, cred_t *cred) + caddr_t execfile, cred_t *cred, int brand_action) { struct intpdata idata; int error; @@ -162,8 +161,8 @@ javaexec(vnode_t *vp, struct execa *uap, struct uarg *args, args->pathname = resolvepn.pn_path; /* don't free resolvepn until we are done with args */ pn_free(&lookpn); - error = gexec(&nvp, - uap, args, &idata, level + 1, execsz, execfile, cred); + error = gexec(&nvp, uap, args, &idata, level + 1, execsz, execfile, + cred, EBA_NONE); VN_RELE(nvp); args->pathname = opath; pn_free(&resolvepn); |