❦ 1 mars 2016 11:03 +0100, "Michael Kerrisk (man-pages)" <mtk.manpa...@gmail.com> :
> Once the SO_LOCK_FILTER option has been enabled, > attempts by an unprivileged process to change or remove > the filter attached to a socket, or to disable the > SO_LOCK_FILTER option will fail with the error EPERM. You should remove "unprivileged". I didn't try to check for permissions because I was just lazy (and I didn't have a need for it). As root, you can just recreate another socket. -- Choose a data representation that makes the program simple. - The Elements of Programming Style (Kernighan & Plauger)