]> git.ipfire.org Git - thirdparty/libvirt.git/commit
secdrivers: Rename @stdin_path argument of virSecurityDomainSetAllLabel()
authorMichal Privoznik <mprivozn@redhat.com>
Wed, 1 Jul 2020 09:50:00 +0000 (11:50 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Fri, 10 Jul 2020 12:20:07 +0000 (14:20 +0200)
commitf68a14d17f27f1ed26227e880f8ed8c900bbe711
treec5c2f53b2d112e49f5b72b601d4a326ca585ee51
parent7e235954e5b882f18e6d4baa207eafb1fd4074c0
secdrivers: Rename @stdin_path argument of virSecurityDomainSetAllLabel()

The argument (if not NULL) points to the file the domain is
restoring from. On QEMU command line this used to be '-incoming
$path', but we've switched to passing FD ages ago and thus this
argument is used only in AppArmor (which loads the profile on
domain start). Anyway, the argument does not refer to stdin,
rename it to 'incomingPath' then.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Erik Skultety <eskultet@redhat.com>
src/security/security_apparmor.c
src/security/security_dac.c
src/security/security_driver.h
src/security/security_manager.c
src/security/security_manager.h
src/security/security_nop.c
src/security/security_selinux.c
src/security/security_stack.c