]> git.proxmox.com Git - pve-cluster.git/commit
pmxcfs: add verify_token IPC request
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Tue, 21 Jan 2020 12:53:57 +0000 (13:53 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 27 Jan 2020 16:45:07 +0000 (17:45 +0100)
commit7dac5e0e217c72b58cbe43fad4d48eda42e1d246
tree6cba5b22a3a1ec04ceb0ac8dab7548caaab55f2c
parente3e91cb39a0294af60d5314d7f22f808397d3211
pmxcfs: add verify_token IPC request

Add a new IPC request which takes a token string and matches it with
the priv/token.cfg shadow file, this allows non-root processes with
the privilege of doing IPC requests, to verify tokens without being
able to read the full token list itself.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
[ Thomas: solved merge conflict in observer files struct ]
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
data/PVE/Cluster.pm
data/src/cfs-ipc-ops.h
data/src/server.c
data/src/status.c