On Sun, Oct 14, 2012 at 09:22:12PM +0100, Sami Kerola wrote: > Sami Kerola (13): I have created ipc branch at hithub and applied some of the patches (unfortunately with many changes). Unfortunately I have no more time to play with this stuff this week, but I guess that it's pretty obvious from already applied patches how should be implemented the rest. Changes: - created sys-utils/ipcutils.{c,h} - renamed functions - replaced all 'unsigned long' and 'size_t' with uint64_t The reason why we want to read from /proc is to be robust on systems where kernel is 64bit and userspace is 32bit. You cannot use long or size_t for data from /sys or /proc... > ipcs: add data structures to read state from /proc & /sys applied > ipcs: add /proc and /sys path definitions applied (btw, where was nice typo) > ipcs: determine ipc limits from /proc applied > ipcs: add new permissions printing function applied > ipcs: read shared memory values from /proc applied > ipcs: read message queue values from /proc > ipsc: read semaphore values from /proc > ipcs: clean up permissions printing not applied > ipcs: make individual shared memory id printing to use /proc applied > ipcs: make individual message queue id printing to use /proc > ipcs: make individual semaphore id printing to use /proc > ipcs: validate numeric user input > docs: update TODO not applied ... so, all around share memory should be applied/fixed. Now we need to do the same for sem and msg stuff. Karel -- Karel Zak <kzak@xxxxxxxxxx> http://karelzak.blogspot.com -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html