Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(877)

Side by Side Diff: sandbox/linux/services/android_futex.h

Issue 563913002: Enable futex tests on Android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « sandbox/linux/seccomp-bpf-helpers/baseline_policy_unittest.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef SANDBOX_LINUX_SERVICES_ANDROID_FUTEX_H_ 5 #ifndef SANDBOX_LINUX_SERVICES_ANDROID_FUTEX_H_
6 #define SANDBOX_LINUX_SERVICES_ANDROID_FUTEX_H_ 6 #define SANDBOX_LINUX_SERVICES_ANDROID_FUTEX_H_
7 7
8 #if !defined(FUTEX_WAIT) 8 #if !defined(FUTEX_WAIT)
9 #define FUTEX_WAIT 0 9 #define FUTEX_WAIT 0
10 #endif 10 #endif
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 #endif 62 #endif
63 63
64 #if !defined FUTEX_CLOCK_REALTIME 64 #if !defined FUTEX_CLOCK_REALTIME
65 #define FUTEX_CLOCK_REALTIME 256 65 #define FUTEX_CLOCK_REALTIME 256
66 #endif 66 #endif
67 67
68 #if !defined(FUTEX_CMD_MASK) 68 #if !defined(FUTEX_CMD_MASK)
69 #define FUTEX_CMD_MASK ~(FUTEX_PRIVATE_FLAG | FUTEX_CLOCK_REALTIME) 69 #define FUTEX_CMD_MASK ~(FUTEX_PRIVATE_FLAG | FUTEX_CLOCK_REALTIME)
70 #endif 70 #endif
71 71
72 #if !defined(FUTEX_CMP_REQUEUE_PI_PRIVATE)
73 #define FUTEX_CMP_REQUEUE_PI_PRIVATE (FUTEX_CMP_REQUEUE_PI | FUTEX_PRIVATE_FLAG)
74 #endif
75
76 #if !defined(FUTEX_UNLOCK_PI_PRIVATE)
77 #define FUTEX_UNLOCK_PI_PRIVATE (FUTEX_UNLOCK_PI | FUTEX_PRIVATE_FLAG)
78 #endif
79
72 #endif // SANDBOX_LINUX_SERVICES_ANDROID_FUTEX_H_ 80 #endif // SANDBOX_LINUX_SERVICES_ANDROID_FUTEX_H_
OLDNEW
« no previous file with comments | « sandbox/linux/seccomp-bpf-helpers/baseline_policy_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698