22 lines
897 B
Diff
22 lines
897 B
Diff
Description: usr/src/uts/common/fs/proc/prvnops.c
|
|
5249 if (off == 0) { /* "." */
|
|
5250 dirent->d_ino = pmkino(0, pslot, PR_PATHDIR);
|
|
5251 dirent->d_name[0] = '.';
|
|
5252 dirent->d_name[1] = '\0';
|
|
5253 reclen = DIRENT64_RECLEN(1);
|
|
5254 } else if (idx == 1) { /* ".." */
|
|
5255 dirent->d_ino = pmkino(0, pslot, PR_PIDDIR);
|
|
|
|
Index: b/usr/src/uts/intel/procfs/Makefile
|
|
===================================================================
|
|
--- a/usr/src/uts/intel/procfs/Makefile 2014-03-01 22:52:10.276423275 +0400
|
|
+++ b/usr/src/uts/intel/procfs/Makefile 2014-03-01 22:55:06.467363245 +0400
|
|
@@ -76,6 +76,7 @@
|
|
CERRWARN += -_gcc=-Wno-parentheses
|
|
CERRWARN += -_gcc=-Wno-switch
|
|
CERRWARN += -_gcc=-Wno-uninitialized
|
|
+CERRWARN += -_gcc=-Wno-array-bounds
|
|
#
|
|
# Default build targets.
|
|
#
|