summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/sys/idmap.h
diff options
context:
space:
mode:
authornw141292 <none@none>2007-10-11 10:47:49 -0700
committernw141292 <none@none>2007-10-11 10:47:49 -0700
commitd3a612ca42c17c3baa6c96ded00f98db349cc881 (patch)
treea4088de89b441ce78e9f2bdf305c2ddda685df11 /usr/src/uts/common/sys/idmap.h
parent538f043421a57b3be38677f831d3ee9dd6d2b403 (diff)
downloadillumos-gate-d3a612ca42c17c3baa6c96ded00f98db349cc881.tar.gz
6592411 large request/response can cause RPC layer of idmap to fail
6613041 trusted domain issues: idmap_name2sid_batch_add1() ignores the domain of the given name
Diffstat (limited to 'usr/src/uts/common/sys/idmap.h')
-rw-r--r--usr/src/uts/common/sys/idmap.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/usr/src/uts/common/sys/idmap.h b/usr/src/uts/common/sys/idmap.h
index c48bd092d7..8993de65d9 100644
--- a/usr/src/uts/common/sys/idmap.h
+++ b/usr/src/uts/common/sys/idmap.h
@@ -76,4 +76,11 @@
/* Reserved SIDs */
#define IDMAP_WK_CREATOR_SID_AUTHORITY "S-1-3"
+/*
+ * Max door RPC size for ID mapping (can't be too large relative to the
+ * default user-land thread stack size, since clnt_door_call()
+ * alloca()s). See libidmap:idmap_init().
+ */
+#define IDMAP_MAX_DOOR_RPC (256 * 1024)
+
#endif /* _SYS_IDMAP_H */