Ian Gudger
87288b26a1
Add netlink sockopt logging to strace.
...
PiperOrigin-RevId: 297220008
2020-02-25 15:35:24 -08:00
gVisor bot
762e4761cc
Move Align{Up,Down} into binary package.
...
PiperOrigin-RevId: 294477647
2020-02-11 11:09:31 -08:00
Ian Gudger
e1587a2887
Log level, optname, optval and optlen in getsockopt/setsockopt in strace.
...
Log 8, 16, and 32 int optvals and dump the memory of other sizes.
Updates #1782
PiperOrigin-RevId: 293889388
2020-02-07 14:01:47 -08:00
Adin Scannell
0e2f1b7abd
Update package locations.
...
Because the abi will depend on the core types for marshalling (usermem,
context, safemem, safecopy), these need to be flattened from the sentry
directory. These packages contain no sentry-specific details.
PiperOrigin-RevId: 291811289
2020-01-27 15:31:32 -08:00
Tamir Duberstein
debd213da6
Allow dual stack sockets to operate on AF_INET
...
Fixes #1490
Fixes #1495
PiperOrigin-RevId: 289523250
2020-01-13 14:47:22 -08:00
Andrei Vagin
43643752f0
strace: don't create a slice with a negative value
...
PiperOrigin-RevId: 283613824
2019-12-03 13:49:38 -08:00
Kevin Krakauer
6a98237949
Rename epsocket to netstack.
...
PiperOrigin-RevId: 273365058
2019-10-07 13:57:59 -07:00
Andrei Vagin
3e4102b2ea
netstack: disconnect an unix socket only if the address family is AF_UNSPEC
...
Linux allows to call connect for ANY and the zero port.
PiperOrigin-RevId: 263892534
2019-08-16 19:32:14 -07:00
Andrei Vagin
116cac053e
netstack/udp: connect with the AF_UNSPEC address family means disconnect
...
PiperOrigin-RevId: 256433283
2019-07-03 14:19:02 -07:00
Adin Scannell
add40fd6ad
Update canonical repository.
...
This can be merged after:
https://github.com/google/gvisor-website/pull/77
or
https://github.com/google/gvisor-website/pull/78
PiperOrigin-RevId: 253132620
2019-06-13 16:50:15 -07:00
Rahat Mahmood
315cf9a523
Use common definition of SockType.
...
SockType isn't specific to unix domain sockets, and the current
definition basically mirrors the linux ABI's definition.
PiperOrigin-RevId: 251956740
2019-06-06 17:00:27 -07:00
Michael Pratt
4d52a55201
Change copyright notice to "The gVisor Authors"
...
Based on the guidelines at
https://opensource.google.com/docs/releasing/authors/ .
1. $ rg -l "Google LLC" | xargs sed -i 's/Google LLC.*/The gVisor Authors./'
2. Manual fixup of "Google Inc" references.
3. Add AUTHORS file. Authors may request to be added to this file.
4. Point netstack AUTHORS to gVisor AUTHORS. Drop CONTRIBUTORS.
Fixes #209
PiperOrigin-RevId: 245823212
Change-Id: I64530b24ad021a7d683137459cafc510f5ee1de9
2019-04-29 14:26:23 -07:00
Michael Pratt
666db00c26
Convert ValueSet to a map
...
Unlike FlagSet, order doesn't matter here, so it can simply be a map.
PiperOrigin-RevId: 224377910
Change-Id: I15810c698a7f02d8614bf09b59583ab73cba0514
2018-12-06 11:43:11 -08:00
Ian Gudger
8fce67af24
Use correct company name in copyright header
...
PiperOrigin-RevId: 217951017
Change-Id: Ie08bf6987f98467d07457bcf35b5f1ff6e43c035
2018-10-19 16:35:11 -07:00
Ian Gudger
58235b1840
Clean up control message strace logging
...
PiperOrigin-RevId: 195329972
Change-Id: I42f7d8800e6692c45ffa9683741f8de89f9a69bb
2018-05-03 16:26:23 -07:00
Ian Gudger
3d3deef573
Implement SO_TIMESTAMP
...
PiperOrigin-RevId: 195047018
Change-Id: I6d99528a00a2125f414e1e51e067205289ec9d3d
2018-05-01 22:11:49 -07:00
Googler
d02b74a5dc
Check in gVisor.
...
PiperOrigin-RevId: 194583126
Change-Id: Ica1d8821a90f74e7e745962d71801c598c652463
2018-04-28 01:44:26 -04:00