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]
Date:   Tue, 3 Oct 2017 16:50:27 +0200
From:   Peter Zijlstra <peterz@...radead.org>
To:     Alexander Shishkin <alexander.shishkin@...ux.intel.com>
Cc:     Ingo Molnar <mingo@...hat.com>, linux-kernel@...r.kernel.org,
        acme@...hat.com, kirill.shutemov@...ux.intel.com,
        Borislav Petkov <bp@...en8.de>, rric@...nel.org
Subject: Re: [RFC PATCH 14/17] perf: Add ioctl(REATTACH) for detached events

On Tue, Sep 05, 2017 at 04:30:23PM +0300, Alexander Shishkin wrote:
> This adds an ioctl command to demote a detached event to a 'normal' one
> that gets destroyed when its file descriptor is closed. It can still be
> used to mmap the buffers, but not very useful otherwise.

why not simply use the fd obtained from open() on our special
filesystem?

If you open and then unlink, you loose the 'detached' state and the
filedesc is the only life-line.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ