summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/sys/idmap.h
diff options
context:
space:
mode:
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 */