equal
deleted
inserted
replaced
|
1 The MA_RESERVED1 macro never had any meaning, and it's gone as of S12 build 121 |
|
2 as part of PSARC/2017/031. In conversation with the upstream author, the |
|
3 "R" designator can also go away. The pull request is available at |
|
4 |
|
5 https://github.com/giampaolo/psutil/pull/1003 |
|
6 |
|
7 --- psutil-1.2.1/psutil/_psutil_sunos.c 2017-03-28 10:14:25.150344244 -0700 |
|
8 +++ psutil-1.2.1/psutil/_psutil_sunos.c 2017-03-28 11:25:20.578369853 -0700 |
|
9 @@ -609,9 +609,7 @@ |
|
10 sprintf(perms, "%c%c%c%c%c%c", p->pr_mflags & MA_READ ? 'r' : '-', |
|
11 p->pr_mflags & MA_WRITE ? 'w' : '-', |
|
12 p->pr_mflags & MA_EXEC ? 'x' : '-', |
|
13 - p->pr_mflags & MA_SHARED ? 's' : '-', |
|
14 - p->pr_mflags & MA_NORESERVE ? 'R' : '-', |
|
15 - p->pr_mflags & MA_RESERVED1 ? '*' : ' '); |
|
16 + p->pr_mflags & MA_SHARED ? 's' : '-'); |
|
17 |
|
18 // name |
|
19 if (strlen(p->pr_mapname) > 0) { |