libvirt/src/security
Eric Blake 84e8091796 maint: avoid 'const fooPtr' in security
'const fooPtr' is the same as 'foo * const' (the pointer won't
change, but it's contents can).  But in general, if an interface
is trying to be const-correct, it should be using 'const foo *'
(the pointer is to data that can't be changed).

Fix up offenders in src/security.

* src/security/security_apparmor.c (reload_profile)
(AppArmorSetSecurityHostdevLabelHelper)
(AppArmorReleaseSecurityLabel, AppArmorRestoreSecurityAllLabel)
(AppArmorSetSecurityProcessLabel)
(AppArmorSetSecurityChildProcessLabel)
(AppArmorSetSecurityImageLabel, AppArmorSecurityVerify)
(AppArmorSetSecurityHostdevLabel)
(AppArmorRestoreSecurityHostdevLabel, AppArmorSetFDLabel): Drop
needless const.
* src/security/security_selinux.c
(virSecuritySELinuxSetSecurityFileLabel): Likewise.

Signed-off-by: Eric Blake <eblake@redhat.com>
2013-10-14 14:34:38 -06:00
..
security_apparmor.c maint: avoid 'const fooPtr' in security 2013-10-14 14:34:38 -06:00
security_apparmor.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
security_dac.c security: provide supplemental groups even when parsing label (CVE-2013-4291) 2013-08-29 08:43:03 -06:00
security_dac.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
security_driver.c Convert 'int i' to 'size_t i' in src/security files 2013-07-10 17:40:14 +01:00
security_driver.h security: framework for driver PreFork handler 2013-07-18 15:19:36 -06:00
security_manager.c security: framework for driver PreFork handler 2013-07-18 15:19:36 -06:00
security_manager.h security: framework for driver PreFork handler 2013-07-18 15:19:36 -06:00
security_nop.c Adapt to VIR_STRDUP and VIR_STRNDUP in src/security/* 2013-05-23 09:56:38 +02:00
security_nop.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
security_selinux.c maint: avoid 'const fooPtr' in security 2013-10-14 14:34:38 -06:00
security_selinux.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
security_stack.c security: fix deadlock with prefork 2013-07-19 09:15:22 -06:00
security_stack.h security: fix #endif comment in security_stack.h 2012-12-20 19:55:54 +01:00
virt-aa-helper.c Convert 'int i' to 'size_t i' in src/security files 2013-07-10 17:40:14 +01:00