Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2024-11-21
13:52 • Closed ticket [dcb888ed85]: epoll, special files, directories, links, epoll_ctl ... artifact: f1b7f7db04 user: jan.nijtmans
2021-06-23
18:55 • Ticket [dcb888ed85]: 3 changes artifact: 8185473f63 user: pooryorick
18:49
possible fix for [dcb888ed85adeb86] with kevent() check-in: 06aaff9fd5 user: pooryorick tags: core-8-branch
2021-06-22
18:26
possible fix for [dcb888ed85adeb86] with kevent() closed check-in: 94c93c8507 user: pooryorick tags: bug-dcb888ed85adeb86
2021-06-19
14:16 • Ticket [dcb888ed85] epoll, special files, directories, links, epoll_ctl operatio... artifact: 5e0ef6e4b2 user: pooryorick
2021-06-17
10:26 • Ticket [dcb888ed85]: 3 changes artifact: 49d2b5c787 user: pooryorick
10:25
tests for [dcb888ed85adeb86] check-in: 4b00bf6318 user: pooryorick tags: core-8-branch
08:54 • Ticket [dcb888ed85] epoll, special files, directories, links, epoll_ctl operatio... artifact: 8a8da0ca62 user: pooryorick
08:53
Fix for [dcb888ed85adeb86]: epoll, special files, directories, links, epoll_ctl operation not permit... check-in: 7587b7aeb9 user: pooryorick tags: core-8-branch
08:50 • New ticket [dcb888ed85] epoll, special files, directories, links, epoll_ctl oper... artifact: 8d58bf31f8 user: pooryorick

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.