Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 05 Jul 2003 15:28:01 GMT
From:      Tor.Egge@cvsup.no.freebsd.org
To:        das@FreeBSD.ORG
Cc:        markk@knigma.org
Subject:   Re: Kernel core dump in recent 4.8-STABLE
Message-ID:  <20030705152801D.tegge@cvsup.no.freebsd.org>
In-Reply-To: <20030630211657.GA2899@HAL9000.homeunix.com>
References:  <9paKSGHVcW%2B%2BEwV8@lap.knigma.org> <%2BMharcpC5IA$Ewil@lap.knigma.org> <20030630211657.GA2899@HAL9000.homeunix.com>

next in thread | previous in thread | raw e-mail | index | archive | help
----Next_Part(Sat_Jul__5_15:25:25_2003_809)--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit


> The only interesting commit I see in that range is Tor's process
> leader sharing work.  Cc'ing him.

That commit broke kernel modules depending on the layout of struct
proc.  Since recompiling the kernel module isn't an option for third
party binary modules, the new p_fdtol variable should be moved to the
end of struct proc.

- Tor Egge

----Next_Part(Sat_Jul__5_15:25:25_2003_809)--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="procfix.diff"

Index: sys/sys/proc.h
===================================================================
RCS file: /home/ncvs/src/sys/sys/proc.h,v
retrieving revision 1.99.2.9
diff -u -r1.99.2.9 proc.h
--- sys/sys/proc.h	6 Jun 2003 20:21:32 -0000	1.99.2.9
+++ sys/sys/proc.h	5 Jul 2003 15:19:37 -0000
@@ -129,7 +129,6 @@
 	/* substructures: */
 	struct	pcred *p_cred;		/* Process owner's identity. */
 	struct	filedesc *p_fd;		/* Ptr to open files structure. */
-	struct filedesc_to_leader *p_fdtol; /* Ptr to tracking node */
 	struct	pstats *p_stats;	/* Accounting/statistics (PROC ONLY). */
 	struct	plimit *p_limit;	/* Process limits. */
 	struct	vm_object *p_upages_obj;/* Upages object */
@@ -245,6 +244,7 @@
 	struct proc *p_leader;
 	struct	pasleep p_asleep;	/* Used by asleep()/await(). */
 	void	*p_emuldata;	/* process-specific emulator state data */
+	struct filedesc_to_leader *p_fdtol; /* Ptr to tracking node */
 };
 
 #define	p_session	p_pgrp->pg_session

----Next_Part(Sat_Jul__5_15:25:25_2003_809)----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030705152801D.tegge>