cri-o/server
Dongsu Park 644a4af377 server: handle cases of securityContext, namespaceOptions being nil
Both GetSecurityContext() and GetNamespaceOptions() can return nil.
In these cases, cri-o will panic like this:

```
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x1 pc=0x1cc43f6]

goroutine 66 [running]:
.../cri-o/server.(*Server).RunPodSandbox(0xc42060e300, 0x7f611d37a0b8,
0xc420207e60, 0xc42015e318, 0x0, 0x0, 0x0)
        .../cri-o/server/sandbox_run.go:261 +0xfe6
.../cri-o/vendor/k8s.io/kubernetes/pkg/kubelet/apis/cri/v1alpha1/runtime._RuntimeService_RunPodSandbox_Handler(0x2180920,
0xc42060e300, 0x7f611d37a0b8, 0xc420207e60, 0xc420505950, 0x0, 0x0, 0x0,
0x64ed0d, 0xc42064bc80)
        .../cri-o/vendor/k8s.io/kubernetes/pkg/kubelet/apis/cri/v1alpha1/runtime/api.pb.go:3645 +0x279
.../cri-o/vendor/google.golang.org/grpc.(*Server).processUnaryRPC(0xc4200a4240,
0x33f28e0, 0xc4204b0360, 0xc42074a870, 0xc420476de0, 0x33bcd38, 0xc420207e30, 0x0, 0x0)
```

Signed-off-by: Dongsu Park <dongsu@kinvolk.io>
2017-09-29 17:00:16 +02:00
..
apparmor Rename ocid to crio. 2017-05-12 09:56:06 -04:00
seccomp container_create: fix seccomp annotations 2017-09-25 21:08:11 +02:00
config.go Make kpod parse configuration file 2017-09-01 11:14:40 -05:00
container_attach.go *: update kube vendor to v1.7.4 2017-08-22 17:32:14 +02:00
container_create.go Merge pull request #917 from runcom/fixes-rc3-0 2017-09-25 14:55:42 -07:00
container_exec.go *: update kube vendor to v1.7.4 2017-08-22 17:32:14 +02:00
container_execsync.go *: update kube vendor to v1.7.4 2017-08-22 17:32:14 +02:00
container_list.go *: update kube vendor to v1.7.4 2017-08-22 17:32:14 +02:00
container_portforward.go *: update kube vendor to v1.7.4 2017-08-22 17:32:14 +02:00
container_remove.go Implement kpod rm 2017-09-05 14:35:36 -04:00
container_start.go *: update kube vendor to v1.7.4 2017-08-22 17:32:14 +02:00
container_stats.go *: update kube vendor to v1.7.4 2017-08-22 17:32:14 +02:00
container_stats_list.go *: update kube vendor to v1.7.4 2017-08-22 17:32:14 +02:00
container_status.go oci: wait a while for exit file to show up 2017-08-29 11:25:51 +02:00
container_stop.go Implement kpod rm 2017-09-05 14:35:36 -04:00
container_updateruntimeconfig.go *: update kube vendor to v1.7.4 2017-08-22 17:32:14 +02:00
image_fs_info.go *: update kube vendor to v1.7.4 2017-08-22 17:32:14 +02:00
image_list.go server: image_list: report image size 2017-08-31 17:50:25 +02:00
image_pull.go *: update kube vendor to v1.7.4 2017-08-22 17:32:14 +02:00
image_remove.go *: update kube vendor to v1.7.4 2017-08-22 17:32:14 +02:00
image_status.go *: update kube vendor to v1.7.4 2017-08-22 17:32:14 +02:00
inspect.go Add crio annotations to container endpoint 2017-09-25 11:59:40 -07:00
inspect_test.go Add crio annotations to container endpoint 2017-09-25 11:59:40 -07:00
naming.go server: Rename infra container to POD 2017-09-01 08:47:55 -07:00
runtime_status.go *: update kube vendor to v1.7.4 2017-08-22 17:32:14 +02:00
sandbox_list.go *: update kube vendor to v1.7.4 2017-08-22 17:32:14 +02:00
sandbox_network.go sandbox_network: pass sandbox to newPodNetwork 2017-09-25 21:08:11 +02:00
sandbox_remove.go server: Add special k8s label to infra containers 2017-09-01 10:25:04 -07:00
sandbox_run.go server: handle cases of securityContext, namespaceOptions being nil 2017-09-29 17:00:16 +02:00
sandbox_status.go *: store sandbox IP 2017-09-02 02:05:12 +02:00
sandbox_stop.go server: clean up sandbox network when running the sandbox fails 2017-09-11 14:19:27 -05:00
server.go Merge pull request #852 from runcom/fixies-42 2017-09-07 07:37:37 -07:00
utils.go sandbox_network: pass sandbox to newPodNetwork 2017-09-25 21:08:11 +02:00
version.go *: update kube vendor to v1.7.4 2017-08-22 17:32:14 +02:00