forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit5c3d472
committed
Fix contrib/sepgsql test policy to work with latest SELinux releases.
As of Fedora 30, it seems that the system-provided macros for settingup user privileges in SELinux policies don't grant the ability to read/etc/passwd, as they formerly did. This restriction breaks psql(which tries to use getpwuid() to obtain the user name it's runningunder) and thereby the contrib/sepgsql regression test. Add explicitspecifications that we need the right to read /etc/passwd.Mike Palmiotto, per a report from me. Back-patch to all supportedbranches.Discussion:https://postgr.es/m/23856.1563381159@sss.pgh.pa.us1 parent183cd8c commit5c3d472
1 file changed
+11
-0
lines changedLines changed: 11 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
31 | 31 |
| |
32 | 32 |
| |
33 | 33 |
| |
| 34 | + | |
| 35 | + | |
| 36 | + | |
34 | 37 |
| |
35 | 38 |
| |
36 | 39 |
| |
| |||
60 | 63 |
| |
61 | 64 |
| |
62 | 65 |
| |
| 66 | + | |
| 67 | + | |
| 68 | + | |
63 | 69 |
| |
64 | 70 |
| |
65 | 71 |
| |
| |||
98 | 104 |
| |
99 | 105 |
| |
100 | 106 |
| |
| 107 | + | |
| 108 | + | |
| 109 | + | |
101 | 110 |
| |
102 | 111 |
| |
103 | 112 |
| |
| |||
126 | 135 |
| |
127 | 136 |
| |
128 | 137 |
| |
| 138 | + | |
| 139 | + | |
129 | 140 |
| |
130 | 141 |
| |
131 | 142 |
| |
|
0 commit comments
Comments
(0)