qemu-trivial
[Top][All Lists]
Advanced

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

[PATCH 0/1] docs: Clarify formatting for 'fmode' and 'dmode'


From: Brian Turek
Subject: [PATCH 0/1] docs: Clarify formatting for 'fmode' and 'dmode'
Date: Thu, 8 Oct 2020 15:12:30 +0100

I sent the below patch to the dev mailing list on 6 Oct but then later
discovered the trivial patch process. Hopefully it's OK that I'm
mailing this separately as opposed to a CC on the original email.

The current documentation for the 'fmode' and 'dmode' options for
fsdev/virtfs is ambiguous for the expected format of the values.  The
code itself parses the value using a call to strtoull with base=0 which
causes values like "644" and "755" to be parsed as base-10 rather than
base-8. This can cause unexpected behavior.

This patch changes the docmentation to be explicit on the expected
format and mentions the fact that the setuid, setgid, and sticky bit are
dropped.

Brian Turek (1):
  docs: Clarify formatting for 'fmode' and 'dmode'

 qemu-options.hx | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

-- 
2.25.1




reply via email to

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