From f70bfe80e25122d88acf42c88ffe4133a8b93081 Mon Sep 17 00:00:00 2001 From: Siddhesh Poyarekar Date: Tue, 11 Dec 2012 09:01:02 +0530 Subject: Mention if terminating null is included in NAME_MAX/PATH_MAX Fixes BZ #14872. --- ChangeLog | 6 ++++++ NEWS | 4 ++-- manual/conf.texi | 6 ++++-- 3 files changed, 12 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index dc7d0456e5..9710e09b9e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2012-12-11 Siddhesh Poyarekar + + [BZ #14872] + * manual/conf.texi (Limits on File System Capacity): Mention if + terminating null is included in the max size. + 2012-12-10 Andreas Jaeger * po/cs.po: Update from translation team. diff --git a/NEWS b/NEWS index bbd7985fd9..9b2e65170c 100644 --- a/NEWS +++ b/NEWS @@ -22,8 +22,8 @@ Version 2.17 14660, 14661, 14669, 14672, 14683, 14694, 14716, 14719, 14743, 14767, 14783, 14784, 14785, 14793, 14796, 14797, 14801, 14803, 14805, 14807, 14811, 14815, 14821, 14822, 14824, 14828, 14831, 14833, 14835, 14838, - 14856, 14863, 14865, 14866, 14868, 14869, 14871, 14879, 14889, 14893, - 14898, 14914. + 14856, 14863, 14865, 14866, 14868, 14869, 14871, 14872, 14879, 14889, + 14893, 14898, 14914. * CVE-2011-4609 svc_run() produces high cpu usage when accept fails with EMFILE has been fixed (Bugzilla #14889). diff --git a/manual/conf.texi b/manual/conf.texi index 61dc260317..55ca4d10cd 100644 --- a/manual/conf.texi +++ b/manual/conf.texi @@ -1147,14 +1147,16 @@ typed ahead as input. @xref{I/O Queues}. @comment limits.h @comment POSIX.1 @deftypevr Macro int NAME_MAX -The uniform system limit (if any) for the length of a file name component. +The uniform system limit (if any) for the length of a file name component, not +including the terminating null character. @end deftypevr @comment limits.h @comment POSIX.1 @deftypevr Macro int PATH_MAX The uniform system limit (if any) for the length of an entire file name (that -is, the argument given to system calls such as @code{open}). +is, the argument given to system calls such as @code{open}), including the +terminating null character. @end deftypevr @cindex limits, pipe buffer size -- cgit 1.4.1