For common calls, give servers unique call numbers

The getsysinfo(2), getrusage(2), and svrctl(2) calls used the same
call number to different services. Since we want to give each service
its own call number ranges, this is no longer tenable. This patch
introduces per-service call numbers for these calls.

Note that the remainder of the COMMON_ range is left intact, as these
the remaining requests in it are processed by SEF and thus server-
agnostic. The range should really be prefixed with SEF_ now.

Change-Id: I80d728bbeb98227359c525494c433965b40fefc3
This commit is contained in:
David van Moolenbroek
2014-03-01 09:05:00 +01:00
committed by sambuc
parent 80bd109cd3
commit 44d3230e40
14 changed files with 66 additions and 63 deletions
+1 -1
View File
@@ -69,7 +69,7 @@ int main(int argc, char **argv)
case DS_CHECK:
result = do_check(&m);
break;
case COMMON_GETSYSINFO:
case DS_GETSYSINFO:
result = do_getsysinfo(&m);
break;
default: