Re: How can kill(-1, 0) return EPERM?

2019-11-29 Thread Konstantin Belousov
On Fri, Nov 29, 2019 at 07:45:09PM +0300, Dmitry Marakasov wrote: > * Dmitry Marakasov (amd...@amdmi3.ru) wrote: > > > I'm helping to investigate some userspace issue [1], where kill(-1, SIGKILL) > > fails with EPERM. I've managed to isolate this case in a small program: > > > > > > ``` > >

Re: Slow zfs destroy

2019-11-29 Thread Scott Bennett
On Thu, 28 Nov 2019 23:18:37 +0700 Eugene Grosbein wrote: >28.11.2019 20:34, Steven Hartland wrote: > >> It may well depend on the extent of the deletes occurring. >> >> Have you tried disabling TRIM to see if it eliminates the delay? > >This system used mfi(4) first and mfi(4) does not

Re: How can kill(-1, 0) return EPERM?

2019-11-29 Thread Dmitry Marakasov
* Dmitry Marakasov (amd...@amdmi3.ru) wrote: > I'm helping to investigate some userspace issue [1], where kill(-1, SIGKILL) > fails with EPERM. I've managed to isolate this case in a small program: > > > ``` > #include > #include > #include > #include > #include > #include > > int main()

How can kill(-1, 0) return EPERM?

2019-11-29 Thread Dmitry Marakasov
Hi! I'm helping to investigate some userspace issue [1], where kill(-1, SIGKILL) fails with EPERM. I've managed to isolate this case in a small program: ``` #include #include #include #include #include #include int main() { if (setuid(66) == -1) // uucp, just for the test