changeset 2173:ea3cd1374075

6413463 picld creates a door with DOOR_UNREF, but does not check for DOOR_UNREF_DATA in service routine
author kd93003
date Mon, 12 Jun 2006 07:52:21 -0700
parents 782ec645b767
children 73de7a781492
files usr/src/cmd/picl/picld/picld.c usr/src/cmd/picl/plugins/common/piclevent/piclevent.c
diffstat 2 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/usr/src/cmd/picl/picld/picld.c	Mon Jun 12 06:20:36 2006 -0700
+++ b/usr/src/cmd/picl/picld/picld.c	Mon Jun 12 07:52:21 2006 -0700
@@ -21,7 +21,7 @@
  */
 
 /*
- * Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
+ * Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
  * Use is subject to license terms.
  */
 
@@ -871,7 +871,7 @@
 	 * Create the door
 	 */
 	door_id = door_create(picld_door_handler, PICLD_DOOR_COOKIE,
-	    DOOR_UNREF | DOOR_REFUSE_DESC | DOOR_NO_CANCEL);
+	    DOOR_REFUSE_DESC | DOOR_NO_CANCEL);
 
 	if (door_id < 0) {
 		return (-1);
--- a/usr/src/cmd/picl/plugins/common/piclevent/piclevent.c	Mon Jun 12 06:20:36 2006 -0700
+++ b/usr/src/cmd/picl/plugins/common/piclevent/piclevent.c	Mon Jun 12 07:52:21 2006 -0700
@@ -20,7 +20,7 @@
  * CDDL HEADER END
  */
 /*
- * Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
+ * Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
  * Use is subject to license terms.
  */
 
@@ -187,7 +187,7 @@
 	 * Create the door
 	 */
 	door_id = door_create(event_handler, PICLEVENT_DOOR_COOKIE,
-	    DOOR_UNREF | DOOR_REFUSE_DESC | DOOR_NO_CANCEL);
+	    DOOR_REFUSE_DESC | DOOR_NO_CANCEL);
 
 	if (door_id < 0)
 		return (-1);