[Crash-utility] [PATCH] add a new command: ipcs

Dave Anderson anderson at redhat.com
Wed Apr 11 16:20:16 UTC 2012



----- Original Message -----

> Usually pid 1 would suffice, but as I recall, Bob Montgomery ran into
> a vmcore where pid 1 wasn't found in the PID hash, so we added this so
> that it keeps looking until it found one?
 
Or perhaps just use the default "init_nsproxy", or even better, go
directly to "init_ipc_ns":

 struct nsproxy init_nsproxy = {
         .count  = ATOMIC_INIT(1),
         .uts_ns = &init_uts_ns,
 #if defined(CONFIG_POSIX_MQUEUE) || defined(CONFIG_SYSVIPC)
         .ipc_ns = &init_ipc_ns,
 #endif
         .mnt_ns = NULL,
         .pid_ns = &init_pid_ns,
 #ifdef CONFIG_NET
         .net_ns = &init_net,
 #endif
 };

Dave
 




More information about the Crash-utility mailing list