Skip to content
Tcl Source Code View Ticket
Login

View Ticket

epoll, special files, directories, links, epoll_ctl operation not permitted, and abort

Closed / Fixeddcb888ed85adeb863fc874dc60389f21c7aeafb5Created 5 years agoUpdated 2 years ago
Descriptionwiki2021-06-17 08:50:02
On a Linux build of core-8-branch, the each following scripts causes the interpreter to abort with the error, epoll_ctl: Operation not permitted:

set chan [open /dev/urandom rb]; chan event $chan readable [list put $chan]
vwait forever

set chan [open /]; chan event $chan readable [list put $chan]
vwait forever

set chan [open /path/to/somesymboliclink]; chan event $chan readable [list put $chan]
vwait forever
pooryorickwiki2021-06-17 08:54:06

Fixed in [7587b7aeb9ce863c].

pooryorickwiki2021-06-17 10:26:09

Tests added in [dcb888ed85adeb86].

pooryorickwiki2021-06-19 14:16:44

This fix should probably be further refined, and tclKqueueNotfy.c might need similar treatment.

pooryorickwiki2021-06-23 18:55:17

Added directory and symbolic link handling to tclKqueueNotfy.c in [06aaff9fd52192db]

jan.nijtmans Closed ticket [dcb888ed85]. [History diff]2024-11-21 13:52:08
Log in (anonymous is fine) to add a comment.