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