* include/sys/param.h (NGROUPS): Redefine as NGROUPS_MAX.
(MAXHOSTNAMELEN): Redefine with same value as MAX_HOSTNAME_LEN. Change comment. (MAXPATHLEN): Improve comment. (MAXSYMLINKS): Define and add comment.
This commit is contained in:
parent
9780b0da3c
commit
00994759b6
|
@ -1,3 +1,11 @@
|
||||||
|
2011-07-01 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
|
* include/sys/param.h (NGROUPS): Redefine as NGROUPS_MAX.
|
||||||
|
(MAXHOSTNAMELEN): Redefine with same value as MAX_HOSTNAME_LEN. Change
|
||||||
|
comment.
|
||||||
|
(MAXPATHLEN): Improve comment.
|
||||||
|
(MAXSYMLINKS): Define and add comment.
|
||||||
|
|
||||||
2011-07-01 Corinna Vinschen <corinna@vinschen.de>
|
2011-07-01 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
* fhandler.cc (fhandler_base::open): Move NFS-specific code into the
|
* fhandler.cc (fhandler_base::open): Move NFS-specific code into the
|
||||||
|
|
|
@ -19,19 +19,23 @@
|
||||||
#define NOFILE 8192
|
#define NOFILE 8192
|
||||||
|
|
||||||
/* Max number of groups; must keep in sync with NGROUPS_MAX in limits.h */
|
/* Max number of groups; must keep in sync with NGROUPS_MAX in limits.h */
|
||||||
#define NGROUPS 1024
|
#define NGROUPS NGROUPS_MAX
|
||||||
|
|
||||||
/* Ticks/second for system calls such as times() */
|
/* Ticks/second for system calls such as times() */
|
||||||
/* FIXME: is this the appropriate value? */
|
/* FIXME: is this the appropriate value? */
|
||||||
#define HZ 1000
|
#define HZ 1000
|
||||||
|
|
||||||
/* Max hostname size that can be dealt with */
|
/* Max hostname size that can be dealt with (== Win32 MAX_HOSTNAME_LEN) */
|
||||||
/* FIXME: is this the appropriate value? */
|
#define MAXHOSTNAMELEN 128
|
||||||
#define MAXHOSTNAMELEN 64
|
|
||||||
|
|
||||||
/* The Posix version is PATH_MAX. MAXPATHLEN is the BSD variant. */
|
/* Maximum path length including trailing NUL; the Posix version is PATH_MAX.
|
||||||
|
MAXPATHLEN is the BSD variant. */
|
||||||
#define MAXPATHLEN PATH_MAX
|
#define MAXPATHLEN PATH_MAX
|
||||||
|
|
||||||
|
/* Maximum number of nested symlinks; the Posix version is SYMLOOP_MAX.
|
||||||
|
MAXSYMLINKS is the BSD variant. */
|
||||||
|
#define MAXSYMLINKS SYMLOOP_MAX
|
||||||
|
|
||||||
/* This is the number of bytes per block given in the st_blocks stat member.
|
/* This is the number of bytes per block given in the st_blocks stat member.
|
||||||
It should be in sync with S_BLKSIZE in sys/stat.h. S_BLKSIZE is the
|
It should be in sync with S_BLKSIZE in sys/stat.h. S_BLKSIZE is the
|
||||||
BSD variant of this constant. */
|
BSD variant of this constant. */
|
||||||
|
|
Loading…
Reference in New Issue