diff options
author | nw141292 <none@none> | 2007-10-11 10:47:49 -0700 |
---|---|---|
committer | nw141292 <none@none> | 2007-10-11 10:47:49 -0700 |
commit | d3a612ca42c17c3baa6c96ded00f98db349cc881 (patch) | |
tree | a4088de89b441ce78e9f2bdf305c2ddda685df11 /usr/src/uts/common/sys/idmap.h | |
parent | 538f043421a57b3be38677f831d3ee9dd6d2b403 (diff) | |
download | illumos-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.h | 7 |
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 */ |