Revert "syscalls: 'terminal-dimension' ignores EPERM."
This reverts commit 17a102332a253f0e3b1f511fa7bda2094264a77c. See <https://github.com/koverstreet/bcachefs/pull/277>.
This commit is contained in:
parent
f17a52540f
commit
0dd136bc36
@ -2236,8 +2236,8 @@ correspond to a terminal, return the value returned by FALL-BACK."
|
||||
;; would return EINVAL instead in some cases:
|
||||
;; <https://bugs.ruby-lang.org/issues/10494>.
|
||||
;; Furthermore, some FUSE file systems like unionfs return ENOSYS for
|
||||
;; that ioctl, and bcachefs returns EPERM.
|
||||
(if (memv errno (list ENOTTY EINVAL ENOSYS EPERM))
|
||||
;; that ioctl.
|
||||
(if (memv errno (list ENOTTY EINVAL ENOSYS))
|
||||
(fall-back)
|
||||
(apply throw args))))))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user