Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 823857
Collapse All | Expand All

(-)a/sandbox/linux/services/credentials.cc (-1 / +3 lines)
Lines 11-16 Link Here
11
#include <stddef.h>
11
#include <stddef.h>
12
#include <stdint.h>
12
#include <stdint.h>
13
#include <stdio.h>
13
#include <stdio.h>
14
#include <string.h>
14
#include <sys/syscall.h>
15
#include <sys/syscall.h>
15
#include <sys/types.h>
16
#include <sys/types.h>
16
#include <sys/wait.h>
17
#include <sys/wait.h>
Lines 100-106 bool ChrootToSafeEmptyDir() { Link Here
100
  // TODO(crbug.com/1247458) Broken in MSan builds after LLVM f1bb30a4956f.
101
  // TODO(crbug.com/1247458) Broken in MSan builds after LLVM f1bb30a4956f.
101
  clone_flags |= CLONE_VM | CLONE_VFORK | CLONE_SETTLS;
102
  clone_flags |= CLONE_VM | CLONE_VFORK | CLONE_SETTLS;
102
103
103
  char tls_buf[PTHREAD_STACK_MIN] = {0};
104
  char tls_buf[PTHREAD_STACK_MIN];
105
  memset(tls_buf, 0, PTHREAD_STACK_MIN);
104
  tls = tls_buf;
106
  tls = tls_buf;
105
#endif
107
#endif
106
108

Return to bug 823857