Bug 1555589 - Include sys/prctl.h not linux/prctl.h. r=jld a=jcristau
authorGian-Carlo Pascutto <gcp@mozilla.com>
Mon, 03 Jun 2019 21:35:44 +0000
changeset 536782 121bb815438386f3f7b31a39da9aa3f29bc96f18
parent 536781 aeea3bdffd87f9523a02250383d5a8366e781e44
child 536783 73ae511ea89559d9c1b848a8d27cfe1fb6b2e034
push id2082
push userffxbld-merge
push dateMon, 01 Jul 2019 08:34:18 +0000
treeherdermozilla-release@2fb19d0466d2 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjld, jcristau
bugs1555589
milestone68.0
Bug 1555589 - Include sys/prctl.h not linux/prctl.h. r=jld a=jcristau Differential Revision: https://phabricator.services.mozilla.com/D33517
security/sandbox/linux/SandboxFilter.cpp
--- a/security/sandbox/linux/SandboxFilter.cpp
+++ b/security/sandbox/linux/SandboxFilter.cpp
@@ -19,21 +19,21 @@
 #include "mozilla/UniquePtr.h"
 #include "prenv.h"
 
 #include <errno.h>
 #include <fcntl.h>
 #include <linux/ioctl.h>
 #include <linux/ipc.h>
 #include <linux/net.h>
-#include <linux/prctl.h>
 #include <linux/sched.h>
 #include <string.h>
 #include <sys/ioctl.h>
 #include <sys/mman.h>
+#include <sys/prctl.h>
 #include <sys/socket.h>
 #include <sys/syscall.h>
 #include <sys/un.h>
 #include <sys/utsname.h>
 #include <time.h>
 #include <unistd.h>
 #include <vector>
 #include <algorithm>