Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-08-03 | Merge release-20210726.0-27-g8363a98c4 (automated) | gVisor bot | |
2021-08-03 | Implement MSG_COPY option for msgrcv(2). | Zyad A. Ali | |
Implement Queue.Copy and add more tests for it. Updates #135 | |||
2021-08-03 | Implement stubs for msgsnd(2) and msgrcv(2). | Zyad A. Ali | |
Add support for msgsnd and msgrcv and enable syscall tests. Updates #135 | |||
2021-08-03 | Implement Queue.Receive. | Zyad A. Ali | |
Receive implements the behaviour of msgrcv(2) without the MSG_COPY flag. Updates #135 | |||
2021-08-03 | Implement Queue.Send. | Zyad A. Ali | |
Send implements the functionality of msgsnd(2). Updates #135 | |||
2021-08-02 | Merge release-20210726.0-19-g4f6c1f309 (automated) | gVisor bot | |
2021-08-01 | Merge pull request #6350 from sudo-sturbia:cgroupfs | gVisor bot | |
PiperOrigin-RevId: 388129112 | |||
2021-07-30 | Merge release-20210726.0-17-g979d6e7d7 (automated) | gVisor bot | |
2021-07-30 | Support RTM_DELLINK | Zeling Feng | |
This change will allow us to remove the default link in a packetimpact test so we can reduce indeterministic behaviors as required in https://fxbug.dev/78430. This will also help with testing #1388. Updates #578, #1388. PiperOrigin-RevId: 387896847 | |||
2021-07-30 | Merge release-20210726.0-16-gc9aac64e0 (automated) | gVisor bot | |
2021-07-30 | Merge pull request #6257 from zhlhahaha:2193-1 | gVisor bot | |
PiperOrigin-RevId: 387885663 | |||
2021-07-30 | Merge release-20210726.0-12-g62ea5c0a2 (automated) | gVisor bot | |
2021-07-30 | checklinkname: rudimentary type-checking of linkname directives | Michael Pratt | |
This CL introduces a 'checklinkname' analyzer, which provides rudimentary type-checking that verifies that function signatures on the local and remote sides of //go:linkname directives match expected values. If the Go standard library changes the definitions of any of these function, checklinkname will flag the change as a finding, providing an error informing the gVisor team to adapt to the upstream changes. This allows us to eliminate the majority of gVisor's forward-looking negative build tags, as we can catch mismatches in testing [1]. The remaining forward-looking negative build tags are covering shared struct definitions, which I hope to add to checklinkname in a future CL. [1] Of course, semantics/requirements can change without the signature changing, so we still must be careful, but this covers the common case. PiperOrigin-RevId: 387873847 | |||
2021-07-29 | Merge release-20210720.0-45-g095b0d834 (automated) | gVisor bot | |
2021-07-28 | Explicitly encode the pcap packet headers to reduce CPU cost of pcap generation. | gVisor bot | |
PiperOrigin-RevId: 387513118 | |||
2021-07-28 | Merge release-20210720.0-44-g72c2b74ac (automated) | gVisor bot | |
2021-07-28 | Add Uid/Gid/Groups fields to VFS2 /proc/[pid]/status. | Jamie Liu | |
For comparison: ``` $ docker run --rm -it ubuntu:focal bash -c 'cat /proc/self/status' Name: cat Umask: 0022 State: R (running) Tgid: 1 Ngid: 0 Pid: 1 PPid: 0 TracerPid: 0 Uid: 0 0 0 0 Gid: 0 0 0 0 FDSize: 64 Groups: NStgid: 1 NSpid: 1 NSpgid: 1 NSsid: 1 VmPeak: 2660 kB VmSize: 2660 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 528 kB VmRSS: 528 kB ... $ docker run --runtime=runsc-vfs2 --rm -it ubuntu:focal bash -c 'cat /proc/self/status' Name: cat State: R (running) Tgid: 1 Pid: 1 PPid: 0 TracerPid: 0 Uid: 0 0 0 0 Gid: 0 0 0 0 FDSize: 4 Groups: VmSize: 10708 kB VmRSS: 3124 kB VmData: 316 kB ... ``` Fixes #6374 PiperOrigin-RevId: 387465655 | |||
2021-07-28 | Merge release-20210720.0-43-g01f7dd442 (automated) | gVisor bot | |
2021-07-28 | Merge pull request #6358 from zhlhahaha:2232 | gVisor bot | |
PiperOrigin-RevId: 387442805 | |||
2021-07-28 | Merge release-20210720.0-40-g44efc282f (automated) | gVisor bot | |
2021-07-28 | Lock gofer.dentry.dataMu before SetAttr RPC modifying file size. | Jamie Liu | |
PiperOrigin-RevId: 387427887 | |||
2021-07-28 | tunning hasSlot function and fix store wrong value in usedSlots | Howard Zhang | |
Make hasSlot scan allocated slot, rather than the whole slice. It is supposed to store physicalStart in usedSlot. Signed-off-by: Howard Zhang <howard.zhang@arm.com> | |||
2021-07-28 | Merge release-20210720.0-39-g964fb3ca7 (automated) | gVisor bot | |
2021-07-27 | Don't create an extra fd bitmap to allocate a new fd. | Andrei Vagin | |
2021-07-24 | Merge release-20210712.0-61-g9ba8c40a3 (automated) | gVisor bot | |
2021-07-23 | Clean up logic for when a VFS2 gofer regular file close causes a flushf. | Jamie Liu | |
PiperOrigin-RevId: 386577891 | |||
2021-07-23 | Merge release-20210712.0-59-g3d0a93000 (automated) | gVisor bot | |
2021-07-23 | Don't panic on user-controlled state in semaphore syscalls. | Rahat Mahmood | |
Reported-by: syzbot+beb099a67f670386a367@syzkaller.appspotmail.com PiperOrigin-RevId: 386521361 | |||
2021-07-23 | Merge release-20210712.0-58-g0eea96057 (automated) | gVisor bot | |
2021-07-23 | Add support for SIOCGIFCONF ioctl in hostinet. | Lucas Manning | |
PiperOrigin-RevId: 386511818 | |||
2021-07-22 | VFS2: remove ext code | Kevin Krakauer | |
We opted to move forward with FUSE instead. PiperOrigin-RevId: 386344258 | |||
2021-07-22 | Merge release-20210712.0-52-g0690c25e0 (automated) | gVisor bot | |
2021-07-22 | kvm: set CR0.NE = 1 | Andrei Vagin | |
CR0.NE enables internal x87 floating point error reporting when set, else enables PC style x87 error detection. On AMD, the #MF exception isn't generated if CR0.NE isn't set. PiperOrigin-RevId: 386340269 | |||
2021-07-22 | Merge release-20210712.0-50-g8daeda207 (automated) | gVisor bot | |
2021-07-22 | Merge pull request #6108 from sudo-sturbia:msgqueue/syscalls | gVisor bot | |
PiperOrigin-RevId: 386323389 | |||
2021-07-22 | Merge release-20210712.0-40-gd5fb4623e (automated) | gVisor bot | |
2021-07-22 | Replace kernel package types for clone and unshare with linux package types. | Jamie Liu | |
PiperOrigin-RevId: 386312456 | |||
2021-07-22 | Delete unnecessary function. | Zyad A. Ali | |
Since cgroupfs.dir embedes cgroupfs.implStatFS, and dir.StatFS and implStatFS.StatFS are identical, dir.StatFS is not needed. | |||
2021-07-22 | Merge release-20210712.0-39-gf1f746ddd (automated) | gVisor bot | |
2021-07-21 | Add metric to count number of segments acknowledged by DSACK. | Nayana Bidari | |
- Creates new metric "/tcp/segments_acked_with_dsack" to count the number of segments acked with DSACK. - Added check to verify the metric is getting incremented when a DSACK is sent in the unit tests. PiperOrigin-RevId: 386135949 | |||
2021-07-21 | Merge release-20210712.0-36-ga89b2f005 (automated) | gVisor bot | |
2021-07-21 | Use atomics when checking for parent setgid in VFS2 tmpfs file creation. | Jamie Liu | |
Reported-by: syzbot+59550b48e06cc0d3b638@syzkaller.appspotmail.com PiperOrigin-RevId: 386075453 | |||
2021-07-21 | Merge release-20210712.0-35-ga4d743db5 (automated) | gVisor bot | |
2021-07-20 | Enable RACK by default in netstack. | Nayana Bidari | |
PiperOrigin-RevId: 385944428 | |||
2021-07-21 | Merge release-20210712.0-34-g9e805ce93 (automated) | gVisor bot | |
2021-07-20 | Expose local address from raw sockets | Ghanan Gowripalan | |
PiperOrigin-RevId: 385940836 | |||
2021-07-21 | Merge release-20210712.0-31-g49d9ef498 (automated) | gVisor bot | |
2021-07-20 | Merge pull request #6220 from laijs:disconnect-fp | gVisor bot | |
PiperOrigin-RevId: 385919423 | |||
2021-07-20 | Merge release-20210712.0-29-g1ad382220 (automated) | gVisor bot | |
2021-07-20 | Add go:build directives as required by Go 1.17's gofmt. | Jamie Liu | |
PiperOrigin-RevId: 385894869 |