Commit 34b6d99b authored by Ivan Krasin's avatar Ivan Krasin

Added struct Owner to hold Uid, Gid. Added struct Identity to hold Owner and Pid

parent 8bbcdb23
...@@ -209,13 +209,22 @@ type Attr struct { ...@@ -209,13 +209,22 @@ type Attr struct {
Ctimensec uint32 Ctimensec uint32
Mode uint32 Mode uint32
Nlink uint32 Nlink uint32
Uid uint32 Owner
Gid uint32
Rdev uint32 Rdev uint32
Blksize uint32 Blksize uint32
Padding uint32 Padding uint32
} }
type Owner struct {
Uid uint32
Gid uint32
}
type Identity struct {
Owner
Pid uint32
}
type Kstatfs struct { type Kstatfs struct {
Blocks uint64 Blocks uint64
Bfree uint64 Bfree uint64
...@@ -298,8 +307,7 @@ type SetAttrIn struct { ...@@ -298,8 +307,7 @@ type SetAttrIn struct {
Unused3 uint32 Unused3 uint32
Mode uint32 Mode uint32
Unused4 uint32 Unused4 uint32
Uid uint32 Owner
Gid uint32
Unused5 uint32 Unused5 uint32
} }
...@@ -491,9 +499,7 @@ type InHeader struct { ...@@ -491,9 +499,7 @@ type InHeader struct {
Opcode uint32 Opcode uint32
Unique uint64 Unique uint64
NodeId uint64 NodeId uint64
Uid uint32 Identity
Gid uint32
Pid uint32
Padding uint32 Padding uint32
} }
......
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