who(1) patch for unveil violation

2020-08-27 Thread David Goerger
Hello, This morning I was surprised to see a who(1) unveil violation in a lastcomm(1) report, so I looked into it and found that when requesting show_idle (-u flag) or show_term (-T flag), we indeed try to read _PATH_DEV, which isn't unveiled yet. I'm not an unveil(2) expert, and there might be

Re: who(1) patch for unveil violation

2020-08-27 Thread Sebastien Marie
On Thu, Aug 27, 2020 at 07:00:22AM -0400, David Goerger wrote: > Hello, > > This morning I was surprised to see a who(1) unveil violation in a > lastcomm(1) report, so I looked into it and found that when requesting > show_idle (-u flag) or show_term (-T flag), we indeed try to read > _PATH_DEV,