From ae9d77a96b2aa8bb54904bf314587901fd7e7bba Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Sat, 13 Aug 2016 09:01:42 -0700 Subject: sys: regenerate syscall descriptions with latest linux sources --- sys/sys.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/sys.go') diff --git a/sys/sys.go b/sys/sys.go index 8309ede59..b929fbd21 100644 --- a/sys/sys.go +++ b/sys/sys.go @@ -1330,7 +1330,7 @@ func initCalls() { Calls = append(Calls, &Call{ID: 442, Name: "socket$alg", CallName: "socket", Ret: ResourceType{TypeCommon: TypeCommon{TypeName: "ret", IsOptional: false}, Kind: ResFD, Subkind: FdAlg}, Args: []Type{ConstType{TypeCommon: TypeCommon{TypeName: "domain", IsOptional: false}, TypeSize: 0, Val: uintptr(38)}, ConstType{TypeCommon: TypeCommon{TypeName: "type", IsOptional: false}, TypeSize: 0, Val: uintptr(5)}, ConstType{TypeCommon: TypeCommon{TypeName: "proto", IsOptional: false}, TypeSize: 0, Val: uintptr(0)}}}) }() func() { - Calls = append(Calls, &Call{ID: 443, Name: "bind$alg", CallName: "bind", Args: []Type{ResourceType{TypeCommon: TypeCommon{TypeName: "fd", IsOptional: false}, Kind: ResFD, Subkind: FdAlg}, PtrType{TypeCommon: TypeCommon{TypeName: "addr", IsOptional: false}, Type: StructType{TypeCommon: TypeCommon{TypeName: "sockaddr_alg", IsOptional: false}, Fields: []Type{ConstType{TypeCommon: TypeCommon{TypeName: "family", IsOptional: false}, TypeSize: 2, Val: uintptr(38)}, BufferType{TypeCommon: TypeCommon{TypeName: "type", IsOptional: false}, Kind: BufferAlgType}, FlagsType{TypeCommon: TypeCommon{TypeName: "feat", IsOptional: false}, TypeSize: 4, Vals: []uintptr{15, 1, 2, 3, 4, 5, 6, 8, 8, 9, 10, 12, 13, 15, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192}}, FlagsType{TypeCommon: TypeCommon{TypeName: "mask", IsOptional: false}, TypeSize: 4, Vals: []uintptr{15, 1, 2, 3, 4, 5, 6, 8, 8, 9, 10, 12, 13, 15, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192}}, BufferType{TypeCommon: TypeCommon{TypeName: "name", IsOptional: false}, Kind: BufferAlgName}}}, Dir: DirIn}, LenType{TypeCommon: TypeCommon{TypeName: "addrlen", IsOptional: false}, Buf: "addr", TypeSize: 0, ByteSize: false}}}) + Calls = append(Calls, &Call{ID: 443, Name: "bind$alg", CallName: "bind", Args: []Type{ResourceType{TypeCommon: TypeCommon{TypeName: "fd", IsOptional: false}, Kind: ResFD, Subkind: FdAlg}, PtrType{TypeCommon: TypeCommon{TypeName: "addr", IsOptional: false}, Type: StructType{TypeCommon: TypeCommon{TypeName: "sockaddr_alg", IsOptional: false}, Fields: []Type{ConstType{TypeCommon: TypeCommon{TypeName: "family", IsOptional: false}, TypeSize: 2, Val: uintptr(38)}, BufferType{TypeCommon: TypeCommon{TypeName: "type", IsOptional: false}, Kind: BufferAlgType}, FlagsType{TypeCommon: TypeCommon{TypeName: "feat", IsOptional: false}, TypeSize: 4, Vals: []uintptr{15, 1, 2, 3, 4, 5, 6, 14, 14, 14, 15, 12, 13, 15, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192}}, FlagsType{TypeCommon: TypeCommon{TypeName: "mask", IsOptional: false}, TypeSize: 4, Vals: []uintptr{15, 1, 2, 3, 4, 5, 6, 14, 14, 14, 15, 12, 13, 15, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192}}, BufferType{TypeCommon: TypeCommon{TypeName: "name", IsOptional: false}, Kind: BufferAlgName}}}, Dir: DirIn}, LenType{TypeCommon: TypeCommon{TypeName: "addrlen", IsOptional: false}, Buf: "addr", TypeSize: 0, ByteSize: false}}}) }() func() { Calls = append(Calls, &Call{ID: 444, Name: "setsockopt$ALG_SET_KEY", CallName: "setsockopt", Args: []Type{ResourceType{TypeCommon: TypeCommon{TypeName: "fd", IsOptional: false}, Kind: ResFD, Subkind: FdAlg}, ConstType{TypeCommon: TypeCommon{TypeName: "level", IsOptional: false}, TypeSize: 0, Val: uintptr(279)}, ConstType{TypeCommon: TypeCommon{TypeName: "opt", IsOptional: false}, TypeSize: 0, Val: uintptr(1)}, PtrType{TypeCommon: TypeCommon{TypeName: "key", IsOptional: false}, Dir: DirIn, Type: BufferType{TypeCommon: TypeCommon{TypeName: "key", IsOptional: false}, Kind: BufferBlob}}, LenType{TypeCommon: TypeCommon{TypeName: "keylen", IsOptional: false}, Buf: "key", TypeSize: 0, ByteSize: false}}}) @@ -1339,7 +1339,7 @@ func initCalls() { Calls = append(Calls, &Call{ID: 445, Name: "setsockopt$ALG_SET_AEAD_AUTHSIZE", CallName: "setsockopt", Args: []Type{ResourceType{TypeCommon: TypeCommon{TypeName: "fd", IsOptional: false}, Kind: ResFD, Subkind: FdAlg}, ConstType{TypeCommon: TypeCommon{TypeName: "level", IsOptional: false}, TypeSize: 0, Val: uintptr(279)}, ConstType{TypeCommon: TypeCommon{TypeName: "opt", IsOptional: false}, TypeSize: 0, Val: uintptr(5)}, ConstType{TypeCommon: TypeCommon{TypeName: "val", IsOptional: false}, TypeSize: 0, Val: uintptr(0)}, IntType{TypeCommon: TypeCommon{TypeName: "size", IsOptional: false}, TypeSize: 8}}}) }() func() { - Calls = append(Calls, &Call{ID: 446, Name: "accept$alg", CallName: "accept", Ret: ResourceType{TypeCommon: TypeCommon{TypeName: "ret", IsOptional: false}, Kind: ResFD, Subkind: FdAlgConn}, Args: []Type{ResourceType{TypeCommon: TypeCommon{TypeName: "fd", IsOptional: false}, Kind: ResFD, Subkind: FdAlg}, PtrType{TypeCommon: TypeCommon{TypeName: "peer", IsOptional: true}, Type: StructType{TypeCommon: TypeCommon{TypeName: "sockaddr_alg", IsOptional: false}, Fields: []Type{ConstType{TypeCommon: TypeCommon{TypeName: "family", IsOptional: false}, TypeSize: 2, Val: uintptr(38)}, BufferType{TypeCommon: TypeCommon{TypeName: "type", IsOptional: false}, Kind: BufferAlgType}, FlagsType{TypeCommon: TypeCommon{TypeName: "feat", IsOptional: false}, TypeSize: 4, Vals: []uintptr{15, 1, 2, 3, 4, 5, 6, 8, 8, 9, 10, 12, 13, 15, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192}}, FlagsType{TypeCommon: TypeCommon{TypeName: "mask", IsOptional: false}, TypeSize: 4, Vals: []uintptr{15, 1, 2, 3, 4, 5, 6, 8, 8, 9, 10, 12, 13, 15, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192}}, BufferType{TypeCommon: TypeCommon{TypeName: "name", IsOptional: false}, Kind: BufferAlgName}}}, Dir: DirOut}, PtrType{TypeCommon: TypeCommon{TypeName: "peerlen", IsOptional: false}, Type: LenType{TypeCommon: TypeCommon{TypeName: "", IsOptional: false}, Buf: "peer", TypeSize: 4, ByteSize: false}, Dir: DirInOut}}}) + Calls = append(Calls, &Call{ID: 446, Name: "accept$alg", CallName: "accept", Ret: ResourceType{TypeCommon: TypeCommon{TypeName: "ret", IsOptional: false}, Kind: ResFD, Subkind: FdAlgConn}, Args: []Type{ResourceType{TypeCommon: TypeCommon{TypeName: "fd", IsOptional: false}, Kind: ResFD, Subkind: FdAlg}, PtrType{TypeCommon: TypeCommon{TypeName: "peer", IsOptional: true}, Type: StructType{TypeCommon: TypeCommon{TypeName: "sockaddr_alg", IsOptional: false}, Fields: []Type{ConstType{TypeCommon: TypeCommon{TypeName: "family", IsOptional: false}, TypeSize: 2, Val: uintptr(38)}, BufferType{TypeCommon: TypeCommon{TypeName: "type", IsOptional: false}, Kind: BufferAlgType}, FlagsType{TypeCommon: TypeCommon{TypeName: "feat", IsOptional: false}, TypeSize: 4, Vals: []uintptr{15, 1, 2, 3, 4, 5, 6, 14, 14, 14, 15, 12, 13, 15, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192}}, FlagsType{TypeCommon: TypeCommon{TypeName: "mask", IsOptional: false}, TypeSize: 4, Vals: []uintptr{15, 1, 2, 3, 4, 5, 6, 14, 14, 14, 15, 12, 13, 15, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192}}, BufferType{TypeCommon: TypeCommon{TypeName: "name", IsOptional: false}, Kind: BufferAlgName}}}, Dir: DirOut}, PtrType{TypeCommon: TypeCommon{TypeName: "peerlen", IsOptional: false}, Type: LenType{TypeCommon: TypeCommon{TypeName: "", IsOptional: false}, Buf: "peer", TypeSize: 4, ByteSize: false}, Dir: DirInOut}}}) }() func() { Calls = append(Calls, &Call{ID: 447, Name: "sendmsg$alg", CallName: "sendmsg", Args: []Type{ResourceType{TypeCommon: TypeCommon{TypeName: "fd", IsOptional: false}, Kind: ResFD, Subkind: FdAlgConn}, PtrType{TypeCommon: TypeCommon{TypeName: "msg", IsOptional: false}, Type: StructType{TypeCommon: TypeCommon{TypeName: "msghdr_alg", IsOptional: false}, Fields: []Type{ConstType{TypeCommon: TypeCommon{TypeName: "addr", IsOptional: false}, TypeSize: 8, Val: uintptr(0)}, ConstType{TypeCommon: TypeCommon{TypeName: "addrlen", IsOptional: false}, TypeSize: 4, Val: uintptr(0)}, PtrType{TypeCommon: TypeCommon{TypeName: "vec", IsOptional: false}, Type: ArrayType{TypeCommon: TypeCommon{TypeName: "", IsOptional: false}, Type: StructType{TypeCommon: TypeCommon{TypeName: "iovec_in", IsOptional: false}, Fields: []Type{PtrType{TypeCommon: TypeCommon{TypeName: "addr", IsOptional: false}, Dir: DirIn, Type: BufferType{TypeCommon: TypeCommon{TypeName: "addr", IsOptional: false}, Kind: BufferBlob}}, LenType{TypeCommon: TypeCommon{TypeName: "len", IsOptional: false}, Buf: "addr", TypeSize: 8, ByteSize: false}}}, Len: 0}, Dir: DirIn}, LenType{TypeCommon: TypeCommon{TypeName: "vlen", IsOptional: false}, Buf: "vec", TypeSize: 8, ByteSize: false}, PtrType{TypeCommon: TypeCommon{TypeName: "ctrl", IsOptional: true}, Type: ArrayType{TypeCommon: TypeCommon{TypeName: "", IsOptional: false}, Type: UnionType{TypeCommon: TypeCommon{TypeName: "cmsghdr_alg", IsOptional: false}, varlen: true, Options: []Type{StructType{TypeCommon: TypeCommon{TypeName: "cmsghdr_alg_iv", IsOptional: false}, Fields: []Type{LenType{TypeCommon: TypeCommon{TypeName: "len", IsOptional: false}, Buf: "parent", TypeSize: 8, ByteSize: false}, ConstType{TypeCommon: TypeCommon{TypeName: "level", IsOptional: false}, TypeSize: 4, Val: uintptr(279)}, ConstType{TypeCommon: TypeCommon{TypeName: "type", IsOptional: false}, TypeSize: 4, Val: uintptr(2)}, LenType{TypeCommon: TypeCommon{TypeName: "ivlen", IsOptional: false}, Buf: "iv", TypeSize: 4, ByteSize: false}, ArrayType{TypeCommon: TypeCommon{TypeName: "iv", IsOptional: false}, Type: IntType{TypeCommon: TypeCommon{TypeName: "", IsOptional: false}, TypeSize: 1}, Len: 0}}}, StructType{TypeCommon: TypeCommon{TypeName: "cmsghdr_alg_op", IsOptional: false}, Fields: []Type{LenType{TypeCommon: TypeCommon{TypeName: "len", IsOptional: false}, Buf: "parent", TypeSize: 8, ByteSize: false}, ConstType{TypeCommon: TypeCommon{TypeName: "level", IsOptional: false}, TypeSize: 4, Val: uintptr(279)}, ConstType{TypeCommon: TypeCommon{TypeName: "type", IsOptional: false}, TypeSize: 4, Val: uintptr(3)}, IntType{TypeCommon: TypeCommon{TypeName: "op", IsOptional: false}, TypeSize: 4}}}, StructType{TypeCommon: TypeCommon{TypeName: "cmsghdr_alg_assoc", IsOptional: false}, Fields: []Type{LenType{TypeCommon: TypeCommon{TypeName: "len", IsOptional: false}, Buf: "parent", TypeSize: 8, ByteSize: false}, ConstType{TypeCommon: TypeCommon{TypeName: "level", IsOptional: false}, TypeSize: 4, Val: uintptr(279)}, ConstType{TypeCommon: TypeCommon{TypeName: "type", IsOptional: false}, TypeSize: 4, Val: uintptr(4)}, IntType{TypeCommon: TypeCommon{TypeName: "assoc", IsOptional: false}, TypeSize: 4}}}}}, Len: 0}, Dir: DirIn}, LenType{TypeCommon: TypeCommon{TypeName: "ctrllen", IsOptional: false}, Buf: "ctrl", TypeSize: 8, ByteSize: true}, FlagsType{TypeCommon: TypeCommon{TypeName: "f", IsOptional: false}, TypeSize: 4, Vals: []uintptr{2048, 4, 64, 128, 32768, 16384, 1}}}}, Dir: DirIn}, FlagsType{TypeCommon: TypeCommon{TypeName: "f", IsOptional: false}, TypeSize: 0, Vals: []uintptr{2048, 4, 64, 128, 32768, 16384, 1}}}}) -- cgit mrf-deployment