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-next>] [day] [month] [year] [list]
Message-ID: <CAPM=9twE-xoeFgKGyRuF1mwn17XUhxvoLTgJU1UC3CaHnrwFNQ@mail.gmail.com>
Date:	Thu, 27 Sep 2012 14:17:05 +1000
From:	Dave Airlie <airlied@...il.com>
To:	LKML <linux-kernel@...r.kernel.org>,
	Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
	Ben Skeggs <bskeggs@...hat.com>
Subject: debugfs file creation from a user process ioctl

Hi guys,

we've been seeing an error with nouveau and I'm not sure if its new or
we just never spent time looking into it.

The basics are when a new drm client opens the device it gets a
channel assigned, we allocate the channel and a side effect of channel
allocation is we get a file in debugfs with some info on the channel.
However this fails as the process context we are in is non-root, and
the directory is 755.

I don't think I want to be modifiying fsuid, but is there another
practical way to do this, its not majorly urgent, Ben has indicated
he's probably ripping the channel debugfs code out but I was just
wondering for future reference.

Dave.
--
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