Re: [RFC][PATCH] /proc/pid/maps doesn't match "ipcs -m" shmid

From: Eric W. Biederman
Date: Wed Jun 06 2007 - 14:25:41 EST


Badari Pulavarty <pbadari@xxxxxxxxxx> writes:
>
> ------ Shared Memory Segments --------
> key shmid owner perms bytes nattch status
> 0x00000000 884737 db2inst1 767 33554432 13
> 0x00000000 950275 db2fenc1 701 23052288 13
>
> There is no unique way to identify them easily :(
>
> I guess, like you suggested, we can change the dentry name to use shmid
> instead of the portions of the "key" to make it unique. I think, I can
> work out a patch for this.

Thanks. That should be more robust.

Eric
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/