]> git.proxmox.com Git - swtpm.git/commit
swtpm: Add command line parameter for pidfile
authorStefan Berger <stefanb@us.ibm.com>
Mon, 26 Oct 2015 10:25:27 +0000 (06:25 -0400)
committerStefan Berger <stefanb@us.ibm.com>
Mon, 26 Oct 2015 10:34:14 +0000 (06:34 -0400)
commitb215173767190e0542ff0d3e66167791b8175586
tree172f831d54a359af6498e81dd3b8881265018f05
parent907e813b3c0786482ab4ba6db2e83c0e9c038ac6
swtpm: Add command line parameter for pidfile

Add support for --pid file=<pidfile> command line parameter support.
The swtpm_cuse and swtpm now write their process IDs (pids) into
a file.

Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
13 files changed:
man/man8/swtpm.8
man/man8/swtpm.pod
man/man8/swtpm_cuse.8
man/man8/swtpm_cuse.pod
src/swtpm/Makefile.am
src/swtpm/common.c
src/swtpm/common.h
src/swtpm/cuse_tpm.c
src/swtpm/pidfile.c [new file with mode: 0644]
src/swtpm/pidfile.h [new file with mode: 0644]
src/swtpm/swtpm.c
tests/test_commandline
tests/test_init