lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87k2lm7bks.fsf@zoro.exoscale.ch>
Date:	Tue, 01 Mar 2016 11:10:43 +0100
From:	Vincent Bernat <bernat@...fy.cx>
To:	"Michael Kerrisk \(man-pages\)" <mtk.manpages@...il.com>
Cc:	Craig Gallek <kraigatgoog@...il.com>, linux-man@...r.kernel.org,
	netdev@...r.kernel.org, alexei.starovoitov@...il.com
Subject: Re: [PATCH v2] socket.7: Document some BPF-related socket options

 ❦  1 mars 2016 11:03 +0100, "Michael Kerrisk (man-pages)" <mtk.manpages@...il.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)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ