Kernel core dump in recent 4.8-STABLE
Tor.Egge at cvsup.no.freebsd.org
Tor.Egge at cvsup.no.freebsd.org
Sat Jul 5 08:28:08 PDT 2003
> 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 --------------
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
More information about the freebsd-stable
mailing list