Commit bf53d85e authored by Jeff Dike's avatar Jeff Dike Committed by Linus Torvalds
Browse files

uml: implement O_APPEND



The .a flags in openflags never had an implementation.
Signed-off-by: default avatarJeff Dike <jdike@linux.intel.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 80e39311
......@@ -191,6 +191,8 @@ int os_open_file(const char *file, struct openflags flags, int mode)
f |= O_TRUNC;
if (flags.e)
f |= O_EXCL;
if (flags.a)
f |= O_APPEND;
fd = open64(file, f, mode);
if (fd < 0)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment