Restructure the ustctl_get_online_pids command v2
authorNils Carlson <nils.carlson@ericsson.com>
Tue, 29 Mar 2011 13:11:33 +0000 (15:11 +0200)
committerNils Carlson <nils.carlson@ericsson.com>
Wed, 30 Mar 2011 15:05:29 +0000 (17:05 +0200)
commitdde0eeef99278fd84216976d667af49d4382b9cc
tree5e445ae8c7ab827114139b759199b09a3a3516d7
parent304f67a5f2d2eaaa7407c09b2ac7d6e049bccf1f
Restructure the ustctl_get_online_pids command v2

Changes since v1:
* Use list length, not the size in bytes
* Fix a possible bug for pid_t in a sscanf
* Use list length in the dir scanning function

Restructure the command to separate the pid gathering.
This will allow a root user to gather pid from multiple user
directories.

Signed-off-by: Nils Carlson <nils.carlson@ericsson.com>
libustctl/libustctl.c
This page took 0.025423 seconds and 4 git commands to generate.