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

Unified Diff: sandbox/linux/suid/linux_util.h

Issue 569533002: Remove --find-inode-switch hack from chrome-sandbox (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 side-by-side diff with in-line comments
Download patch
Index: sandbox/linux/suid/linux_util.h
diff --git a/sandbox/linux/suid/linux_util.h b/sandbox/linux/suid/linux_util.h
index d06425227a96312383e80543ac342e26251d14ef..2101478219c8287d1332c795a74efb36aeb74575 100644
--- a/sandbox/linux/suid/linux_util.h
+++ b/sandbox/linux/suid/linux_util.h
@@ -8,14 +8,6 @@
#ifndef SANDBOX_LINUX_SUID_LINUX_UTIL_H_
#define SANDBOX_LINUX_SUID_LINUX_UTIL_H_
-#include <stdbool.h>
-#include <sys/types.h>
-
-static const char kFindInodeSwitch[] = "--find-inode";
static const char kSuidSandboxGetApiSwitch[] = "--get-api";
-// Find the process which holds the given socket, named by inode number. If
-// multiple processes hold the socket, this function returns false.
-bool FindProcessHoldingSocket(pid_t* pid_out, ino_t socket_inode);
-
#endif // SANDBOX_LINUX_SUID_LINUX_UTIL_H_

Powered by Google App Engine
This is Rietveld 408576698