procps/proc
Craig Small a935a65b77 library: Explicit about task ID string length
This removes the following error by stating the task ID can only be 10
characters wide, as it is an integer.

proc/readproc.c: In function ‘simple_nexttid’:
proc/readproc.c:1185:46: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size between 41 and 51 [-Wformat-truncation=]
   snprintf(path, PROCPATHLEN, "/proc/%d/task/%s", p->tgid, ent->d_name);
                                              ^~
proc/readproc.c:1185:3: note: ‘snprintf’ output between 14 and 279 bytes into a destination of size 64
   snprintf(path, PROCPATHLEN, "/proc/%d/task/%s", p->tgid, ent->d_name);
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2017-12-20 21:37:01 +11:00
..
.gitignore tests: update template and add pids 2016-04-19 21:33:02 +10:00
COPYING
devname.c library: eliminate all dependencies on alloc.h/alloc.c 2017-12-20 21:18:53 +11:00
devname.h
diskstats.c library: delete some obsolete parameter checking logic 2017-12-20 21:18:54 +11:00
diskstats.h library: strictly cosmetic, absolutely no code changes 2016-10-09 21:31:29 +11:00
escape.c library: revert one ancient 'escape_str_utf8' deletion 2016-08-23 21:11:09 +10:00
escape.h
libprocps.pc.in
libprocps.sym library: provide for validating result type references 2016-08-07 21:40:48 +10:00
meminfo.c library: delete some obsolete parameter checking logic 2017-12-20 21:18:54 +11:00
meminfo.h library: add delta values with swap too, <meminfo> api 2017-10-01 22:25:18 +11:00
namespace.c library: ensure 'namespace' types treated consistently 2017-01-04 08:29:44 +11:00
namespace.h library: ensure 'namespace' types treated consistently 2017-01-04 08:29:44 +11:00
numa.c library: set stage for NUMA node field display support 2017-05-22 21:38:10 +10:00
numa.h library: set stage for NUMA node field display support 2017-05-22 21:38:10 +10:00
pids.c library: delete some obsolete parameter checking logic 2017-12-20 21:18:54 +11:00
pids.h library: set stage for NUMA node field display support 2017-05-22 21:38:10 +10:00
procps-private.h library: please keep procps-private.h free of #include 2016-06-11 11:50:37 +10:00
procps.h library: provide for validating result type references 2016-08-07 21:40:48 +10:00
pwcache.c library: eliminate all dependencies on alloc.h/alloc.c 2017-12-20 21:18:53 +11:00
pwcache.h library: rename clashing pwcache functions 2016-06-18 08:17:45 +10:00
readproc.c library: Explicit about task ID string length 2017-12-20 21:37:01 +11:00
readproc.h library: eliminate all dependencies on alloc.h/alloc.c 2017-12-20 21:18:53 +11:00
slabinfo.c library: correct 'use' calculations for <slabinfo> api 2017-12-20 21:18:54 +11:00
slabinfo.h library: strictly cosmetic, absolutely no code changes 2016-10-09 21:31:29 +11:00
stat.c library: delete some obsolete parameter checking logic 2017-12-20 21:18:54 +11:00
stat.h library <stat>: standardized new category calculations 2017-01-04 08:29:44 +11:00
sysinfo.c library: eliminate all dependencies on alloc.h/alloc.c 2017-12-20 21:18:53 +11:00
sysinfo.h library: eliminate all dependencies on alloc.h/alloc.c 2017-12-20 21:18:53 +11:00
test_namespace.c tests: update template and add pids 2016-04-19 21:33:02 +10:00
test_pids.c related: change for lost 'PROCPS_' enumerator prefixes 2016-07-26 20:49:44 +10:00
test_sysinfo.c
test_uptime.c
test_version.c
uptime.c library: eliminate all dependencies on alloc.h/alloc.c 2017-12-20 21:18:53 +11:00
uptime.h library: cleanup of library includes 2016-04-16 17:03:57 +10:00
version.c miscellaneous: remove some trailing whitespace buildup 2015-06-20 07:46:23 +10:00
version.h library: Fix LINUX_VERSION macro 2016-05-01 17:46:25 +10:00
vmstat.c library: delete some obsolete parameter checking logic 2017-12-20 21:18:54 +11:00
vmstat.h library: strictly cosmetic, absolutely no code changes 2016-10-09 21:31:29 +11:00
wchan.c library: don't strip off prefixes from the wchan names 2016-12-07 22:07:00 +11:00
wchan.h
xtra-procps-debug.h library: strengthen the VAL macro validation functions 2016-08-08 22:01:37 +10:00