]> Zhao Yanbai Git Server - minix.git/commit
RS: allow service program name to be overridden 32/3232/2
authorDavid van Moolenbroek <david@minix3.org>
Fri, 13 Nov 2015 10:26:56 +0000 (11:26 +0100)
committerLionel Sambuc <lionel.sambuc@gmail.com>
Wed, 13 Jan 2016 19:32:31 +0000 (20:32 +0100)
commit23199f6205b059df995599ddf10124010af98d7d
tree3d1703a9120b977674cd1159b0b430be9ee26f89
parent6068a2ee9fe24ce090041c44550b18f3f606880d
RS: allow service program name to be overridden

Until now, the program name of a service was always the file name
(without directory) of the service binary.  The program name is used
to, among other things, find the corresponding system.conf entry.
With ASR moving to a situation where all rerandomized service binaries
are stored in a single directory, this can no longer be maintained.
Instead, the service(8) command can now be instructed to override the
service program name, using its new -progname option.

Change-Id: I981e9b35232c88048d8804ec5eca58d1e4a5db82
minix/commands/service/service.c
minix/include/minix/rs.h
minix/servers/rs/exec.c
minix/servers/rs/main.c
minix/servers/rs/manager.c
minix/servers/rs/proto.h
minix/usr.bin/trace/service/rs.c