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] [day] [month] [year] [list]
Message-ID: <CAOS_Y6QgFTu9=R4aQuo4J3JMaaCSxTsNmq1rrojFuNf3B3EpUQ@mail.gmail.com>
Date:	Sun, 16 Sep 2012 15:23:12 -0500
From:	Rob Landley <rob@...dley.net>
To:	Jacob Sowles <sowlesj@...il.com>
Cc:	linux-kernel@...r.kernel.org
Subject: Re: Getting debugfs mountpoint?

>From userspace? Something like:

  grep " debugfs " /proc/mounts | awk '{print $2}' | xargs echo -e

>From kernel space? There isn't guaranteed to be _one_, you can mount
multiple instances of most filesystems, and with container support you can
even have multiple debugfs superblocks.

Rob

On Fri, Sep 14, 2012 at 8:49 PM, Jacob Sowles <sowlesj@...il.com> wrote:
> Is there an easy way to get the path to where debugfs is mounted? I
> found a function called debugfs_find_mountpoint(), which is exactly
> what I want, but it’s not exported, so I can’t use it. The only
> exported debugfs functions that I could find are the ones that create,
> remove, etc.
>
> Jacob
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@...r.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ