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

Unified Diff: fusl/include/sys/prctl.h

Issue 1689833004: [fusl] Update fusl (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: remove stray space Created 4 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « fusl/include/sys/mman.h ('k') | fusl/include/sys/ptrace.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: fusl/include/sys/prctl.h
diff --git a/fusl/include/sys/prctl.h b/fusl/include/sys/prctl.h
index ec92053d2cd4ac971cf6ce42710f9e688437ebb7..24f4f8bdfb74c2582ee183b3ce548cf16f6c2d1a 100644
--- a/fusl/include/sys/prctl.h
+++ b/fusl/include/sys/prctl.h
@@ -124,6 +124,12 @@ struct prctl_mm_map {
#define PR_FP_MODE_FR (1 << 0)
#define PR_FP_MODE_FRE (1 << 1)
+#define PR_CAP_AMBIENT 47
+#define PR_CAP_AMBIENT_IS_SET 1
+#define PR_CAP_AMBIENT_RAISE 2
+#define PR_CAP_AMBIENT_LOWER 3
+#define PR_CAP_AMBIENT_CLEAR_ALL 4
+
int prctl (int, ...);
#ifdef __cplusplus
« no previous file with comments | « fusl/include/sys/mman.h ('k') | fusl/include/sys/ptrace.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698