qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 1.0] 9pfs: improve portability to older systems


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH 1.0] 9pfs: improve portability to older systems
Date: Tue, 22 Nov 2011 08:36:08 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0.1) Gecko/20110930 Thunderbird/7.0.1

On 11/21/2011 10:01 PM, Anthony Liguori wrote:

-    return qemu_utimensat(AT_FDCWD, rpath(s, path, buffer), buf,
-                          AT_SYMLINK_NOFOLLOW);
+    return qemu_utimens(rpath(s, path, buffer), buf);

Hrm, I thought the SYMLINK_NOFOLLOW was critical in enforcing security?

Yes, and it is applied by qemu_utimens automatically (but the constant only appears in a section where we know it is defined).

Paolo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]