Commit b49df79
committed
This PR was merged into the 6.4 branch.
Discussion
----------
[Process] Return `false` when `open_basedir` prevents access to `/dev/tty`
| Q | A
| ------------- | ---
| Branch? | 6.4
| Bug fix? | yes
| New feature? | no
| Deprecations? | no
If open_basedir restrictions are in effect, checking if the file /dev/tty is writable will prevent setting tty mode on the process, and avoid failing to create a Process.
Fixes #54874
Commits
-------
825e38b Return false in isTtySupported() when open_basedir restrictions prevent access to /dev/tty.
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1211 | 1211 | | |
1212 | 1212 | | |
1213 | 1213 | | |
1214 | | - | |
| 1214 | + | |
1215 | 1215 | | |
1216 | 1216 | | |
1217 | 1217 | | |
| |||
0 commit comments