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]
Date:	Mon,  3 May 2010 08:31:32 +0300
From:	Samu Onkalo <samu.p.onkalo@...ia.com>
To:	linux-kernel@...r.kernel.org
Cc:	akpm@...ux-foundation.org
Subject: [PATCH 0/1] drivers: misc: pass pointer to misc device itself

I have not found a reasonable way to find an address of the
misc-device structure in the driver file operations.
inode->i_cdev is not pointing to the correct place due to way how
misc driver class is implemented - or I have totally missed something.
In misc open, information is available but it is not passed to the
driver itself. Privatedata field of the file struct passes now
pointer to the driver open function. Driver can do what ever needed
with that information.

Samu Onkalo (1):
  drivers: misc: pass miscdevice pointer via file private data

 drivers/char/misc.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

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