libvirt/src/remote
Eric Blake 391c397e48 maint: prohibit access(,X_OK)
This simplifies several callers that were repeating checks already
guaranteed by util.c, and makes other callers more robust to now
reject directories.  remote_driver.c was over-strict - access(,R_OK)
is only needed to execute a script file; a binary only needs
access(,X_OK) (besides, it's unusual to see a file with x but not
r permissions, whether script or binary).

* cfg.mk (sc_prohibit_access_xok): New syntax-check rule.
(exclude_file_name_regexp--sc_prohibit_access_xok): Exempt one use.
* src/network/bridge_driver.c (networkStartRadvd): Fix offenders.
* src/qemu/qemu_capabilities.c (qemuCapsProbeMachineTypes)
(qemuCapsInitGuest, qemuCapsInit, qemuCapsExtractVersionInfo):
Likewise.
* src/remote/remote_driver.c (remoteFindDaemonPath): Likewise.
* src/uml/uml_driver.c (umlStartVMDaemon): Likewise.
* src/util/hooks.c (virHookCheck): Likewise.
2011-03-24 15:18:44 -06:00
..
qemu_protocol.c Qemu remote protocol. 2010-07-23 17:30:33 -04:00
qemu_protocol.h Qemu remote protocol. 2010-07-23 17:30:33 -04:00
qemu_protocol.x Qemu remote protocol. 2010-07-23 17:30:33 -04:00
remote_driver.c maint: prohibit access(,X_OK) 2011-03-24 15:18:44 -06:00
remote_driver.h maint: use gnulib configmake rather than open-coding things 2010-11-17 08:58:58 -07:00
remote_protocol.c Wire up virDomainMigrateSetSpeed for the remote RPC driver 2011-03-22 15:53:08 +00:00
remote_protocol.h Wire up virDomainMigrateSetSpeed for the remote RPC driver 2011-03-22 15:53:08 +00:00
remote_protocol.x Wire up virDomainMigrateSetSpeed for the remote RPC driver 2011-03-22 15:53:08 +00:00
rpcgen_fix.pl cygwin: Handle differences in the XDR implementation 2010-04-27 09:31:28 +02:00