summaryrefslogtreecommitdiffstats
path: root/linux-user/uaccess.c
diff options
context:
space:
mode:
authorWang Guang2017-10-25 08:51:23 +0200
committerKevin Wolf2017-11-17 13:35:59 +0100
commit611e0653adfb2765b712ad8bd312f2fd9765d13c (patch)
treefe6943e7a03a4b1f43614e225507c3fa6b56418e /linux-user/uaccess.c
parentMerge remote-tracking branch 'remotes/kraxel/tags/ui-20171117-pull-request' i... (diff)
downloadqemu-611e0653adfb2765b712ad8bd312f2fd9765d13c.tar.gz
qemu-611e0653adfb2765b712ad8bd312f2fd9765d13c.tar.xz
qemu-611e0653adfb2765b712ad8bd312f2fd9765d13c.zip
replication: Fix replication open fail
replication_child_perm request write permissions for all child which will lead bdrv_check_perm fail. replication_child_perm() should request write permissions only if it is writable itself. Signed-off-by: Wang Guang <wang.guang55@zte.com.cn> Signed-off-by: Wang Yong <wang.yong155@zte.com.cn> Reviewed-by: Xie Changlong <xiechanglong@cmss.chinamobile.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'linux-user/uaccess.c')
0 files changed, 0 insertions, 0 deletions