Ticket UUID: | dcb888ed85adeb863fc874dc60389f21c7aeafb5 | |||
Title: | epoll, special files, directories, links, epoll_ctl operation not permitted, and abort | |||
Type: | Bug | Version: | ||
Submitter: | pooryorick | Created on: | 2021-06-17 08:50:02 | |
Subsystem: | - New Builtin Commands | Assigned To: | pooryorick | |
Priority: | 5 Medium | Severity: | Important | |
Status: | Open | Last Modified: | 2021-06-23 18:55:17 | |
Resolution: | Fixed | Closed By: | nobody | |
Closed on: | ||||
Description: |
(text/x-fossil-wiki)
On a Linux build of core-8-branch, the each following scripts causes the interpreter to abort with the error, <code>epoll_ctl: Operation not permitted</code>: <code><verbatim> set chan [open /dev/urandom rb]; chan event $chan readable [list put $chan] vwait forever </verbatim></code> <code><verbatim> set chan [open /]; chan event $chan readable [list put $chan] vwait forever </verbatim></code> <code><verbatim> set chan [open /path/to/somesymboliclink]; chan event $chan readable [list put $chan] vwait forever </verbatim></code> | |||
User Comments: |
pooryorick added on 2021-06-23 18:55:17:
(text/x-fossil-wiki)
Added directory and symbolic link handling to tclKqueueNotfy.c in [06aaff9fd52192db] pooryorick added on 2021-06-19 14:16:44: (text/x-fossil-wiki) This fix should probably be further refined, and tclKqueueNotfy.c might need similar treatment. pooryorick added on 2021-06-17 10:26:09: (text/x-fossil-wiki) Tests added in [dcb888ed85adeb86]. pooryorick added on 2021-06-17 08:54:06: (text/x-fossil-wiki) Fixed in [7587b7aeb9ce863c]. |