Add MAXUID define

For Linux the maximum uid can vary depending on how your kernel
is built.  The Linux kernel still can be compiled with 16 but uids
and gids, although I'm not aware of a major distribution which does
this (maybe an embedded one?).  Given that caviot it is reasonably
safe to define the MAXUID as 2147483647.
This commit is contained in:
Brian Behlendorf 2011-01-12 11:29:17 -08:00
parent 5f46a517f1
commit e2b25f698c
1 changed files with 2 additions and 0 deletions

View File

@ -31,4 +31,6 @@
#define ptob(pages) (pages << PAGE_SHIFT)
#define btop(bytes) (bytes >> PAGE_SHIFT)
#define MAXUID 2147483647
#endif /* SPL_PARAM_H */