On Tue, 30 Mar 2021 10:52:50 -0400 Steven Rostedt <rostedt@xxxxxxxxxxx> wrote: > And closing the file can cause issues. If we were to go this way, I would > make it that if the file is open and RESET is set, it would return an error > EBUSY. > > But no, closing the file just because RESET is set is dangerous. So, I'm going to keep the patches going as is, and build on top of them with updates. Thinking about this some more, I believe I'll go with returning 1 with errno = EBUSY if RESET is passed in and the file descriptor is opened. -- Steve