diff options
author | Max Reitz <mreitz@redhat.com> | 2018-07-04 16:47:50 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2018-07-05 11:07:58 +0200 |
commit | d815efcaf01b1698e2fdf0f3e125201025c53191 (patch) | |
tree | fd5f634e564a4a41dd60c1dd59da77508b7f7ff1 /arch_init.c | |
parent | 1dce698ea85bb18f62e4c540d4db628bacfba6ba (diff) | |
download | qemu-d815efcaf01b1698e2fdf0f3e125201025c53191.zip qemu-d815efcaf01b1698e2fdf0f3e125201025c53191.tar.gz qemu-d815efcaf01b1698e2fdf0f3e125201025c53191.tar.bz2 |
file-posix: Fix creation locking
raw_apply_lock_bytes() takes a bit mask of "permissions that are NOT
shared".
Also, make the "perm" and "shared" variables uint64_t, because I do not
particularly like using ~ on signed integers (and other permission masks
are usually uint64_t, too).
Reported-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'arch_init.c')
0 files changed, 0 insertions, 0 deletions