diff options
author | Alexander Graf <agraf@suse.de> | 2011-09-25 06:25:35 +0200 |
---|---|---|
committer | Riku Voipio <riku.voipio@linaro.org> | 2011-10-27 14:42:16 +0300 |
commit | f4c690101c74afcc58deead71f6302fe343718b7 (patch) | |
tree | 575f1629822f182b5dd62c1c7e3263c428c53776 /path.c | |
parent | cbb21eed186647716b9e8404a9e90d3fc5c6c467 (diff) |
linux-user: fix openat
When running openat using qemu-arm, we stumbled over invalid permissions
on the created files. The reason for this is that the mode parameter gets
treates as an O_... flag, which it isn't - it's a permission bitmask.
This patch removes the needless translation of the mode parameter,
rendering permission passing of openat() to work with linux-user.
Reported-by: Dirk Mueller <dmueller@suse.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Riku Voipio <riku.voipio@iki.fi>
Diffstat (limited to 'path.c')
0 files changed, 0 insertions, 0 deletions