Add bit 17, No Permission Bits

This commit is contained in:
Jakob Borg 2014-05-23 12:53:11 +02:00
parent 04130fcb15
commit 7bc36cbbd1
2 changed files with 9 additions and 3 deletions

View File

@ -404,6 +404,11 @@ The Flags field is made up of the following single bit flags:
synchronization. A peer MAY set this bit to indicate that it can
temporarily not serve data for the file.
- Bit 17 ("P") is set when there is no permission information for the
file. This is the case when it originates on a non-permission-
supporting file system. Changes to only permission bits should be
disregarded on files with this bit set.
- Bit 0 through 17 are reserved for future use and SHALL be set to
zero.

View File

@ -28,6 +28,7 @@ const (
FlagDeleted uint32 = 1 << 12
FlagInvalid = 1 << 13
FlagDirectory = 1 << 14
FlagNoPermBits = 1 << 15
)
const (