From cc4b03b52c062a284439a341c57a418bdfc32c70 Mon Sep 17 00:00:00 2001 From: casper Date: Fri, 27 Jan 2006 04:13:27 -0800 Subject: 6361644 Differences in SUID scripts between S9 and S10 --- usr/src/uts/common/sys/exec.h | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'usr/src/uts/common/sys/exec.h') diff --git a/usr/src/uts/common/sys/exec.h b/usr/src/uts/common/sys/exec.h index 5196bee9ed..e9a34eacfe 100644 --- a/usr/src/uts/common/sys/exec.h +++ b/usr/src/uts/common/sys/exec.h @@ -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. */ @@ -156,6 +155,10 @@ typedef struct intpdata { char *intp_arg; } intpdata_t; +#define EXECSETID_SETID 0x1 /* setid exec */ +#define EXECSETID_UGIDS 0x2 /* [ug]ids mismatch */ +#define EXECSETID_PRIVS 0x4 /* more privs than before */ + struct execsw { char *exec_magic; int exec_magoff; -- cgit v1.2.3