aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2018-10-29 09:19:53 +0100
committerLukas Larsson <[email protected]>2018-10-29 09:19:53 +0100
commit78af1f300bb121e22e735b2d741cdc8f7d65102a (patch)
treec7d0dcb838b105a148a023ff4491bf5382ca88f9 /erts/emulator
parentdd8ed8ee81cd8995af32543f76256aa6922b4a6f (diff)
parent949c0c810ae575e9e35998c72189b1d90e3ea075 (diff)
downloadotp-78af1f300bb121e22e735b2d741cdc8f7d65102a.tar.gz
otp-78af1f300bb121e22e735b2d741cdc8f7d65102a.tar.bz2
otp-78af1f300bb121e22e735b2d741cdc8f7d65102a.zip
Merge branch 'maint'
Diffstat (limited to 'erts/emulator')
-rw-r--r--erts/emulator/sys/unix/sys_uds.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/erts/emulator/sys/unix/sys_uds.c b/erts/emulator/sys/unix/sys_uds.c
index 39a4866065..c9f73622ba 100644
--- a/erts/emulator/sys/unix/sys_uds.c
+++ b/erts/emulator/sys/unix/sys_uds.c
@@ -88,8 +88,9 @@ sys_uds_readv(int fd, struct iovec *iov, size_t iov_len,
if((msg.msg_flags & MSG_CTRUNC) == MSG_CTRUNC)
{
/* We assume that we have given enough space for any header
- that are sent to us. So the only remaining reason to get
- this flag set is if the caller has run out of file descriptors.
+ that are sent to us. So the only remaining reasons to get
+ this flag set is if the caller has run out of file descriptors
+ or an SELinux policy prunes the response (eg. O_APPEND on STDERR).
*/
errno = EMFILE;
return -1;