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

Unified Diff: sandbox/mac/policy.h

Issue 306123012: Do not double-unref send rights when using POLICY_SUBSTITUE_PORT. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Adjust comment Created 6 years, 7 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 | « sandbox/mac/os_compatibility.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sandbox/mac/policy.h
diff --git a/sandbox/mac/policy.h b/sandbox/mac/policy.h
index 01ea85af511d5c60028368010aed11f4b7328864..0cedcb864abe3ea4e1e1c16f2a5b9bb708e9b12c 100644
--- a/sandbox/mac/policy.h
+++ b/sandbox/mac/policy.h
@@ -42,7 +42,8 @@ struct SANDBOX_EXPORT Rule {
PolicyDecision result;
// The Rule does not take ownership of this port, but additional send rights
- // will be allocated to it before it is sent to a client.
+ // will be allocated to it before it is sent to a client. This name must
+ // denote a send right that can duplicated with MACH_MSG_TYPE_COPY_SEND.
mach_port_t substitute_port;
};
« no previous file with comments | « sandbox/mac/os_compatibility.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698