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: <188539.35426.qm@web35306.mail.mud.yahoo.com>
Date:	Sat, 20 Dec 2008 00:13:23 -0800 (PST)
From:	Peter <peter_mj2002@...oo.com>
To:	linux-kernel@...r.kernel.org
Subject: sysfs programming

Hi , 
I am writing a project for my university and i am planning on using sysfs for my kernel module to communicate with user space , ive read some articles and i know how sysfs works, its just i dont know how the code should be written .
Could you please send me a sample code about how to create an attribute file at /sys/module/(some kernel module)/ please ?
thank you very much .


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