Re: [PATCH] add a new command: ipcs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




----- 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
 

--
Crash-utility mailing list
Crash-utility@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/crash-utility


[Index of Archives]     [Fedora Development]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]

 

Powered by Linux