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:	Thu, 20 Dec 2007 17:03:35 -0500 (EST)
From:	"Robert P. J. Day" <rpjday@...shcourse.ca>
To:	Greg KH <greg@...ah.com>
cc:	Randy Dunlap <randy.dunlap@...cle.com>,
	linux-kernel@...r.kernel.org, Kay Sievers <kay.sievers@...y.org>,
	Alan Stern <stern@...land.harvard.edu>,
	Jonathan Corbet <corbet@....net>
Subject: Re: [RFC] kobject/kset/ktype documentation and example code
 updated

On Thu, 20 Dec 2007, Greg KH wrote:

> How about:
> 	- A ktype is the type of object that embeds a kobject.

if i were reading the above for the first time, i would have no idea
what was being embedded where.  "embeds a kobject" where?  what's
being embedded in what?  that sentence doesn't make it clear.  what's
the current definition for a "struct kobject"?

>         Every structure that embeds a kobject needs a corresponding ktype.

and if it does, whose responsibility is it to provide one?  mine?
that's not clear.

> 	  The ktype controls what happens to the kobject when it is
> 	  created and destroyed.

i doubt that.   i wouldn't say that the ktype "controls" what happens,
i would say that it "defines" what happens.  to control suggests
active participation.

rday


========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry
Waterloo, Ontario, CANADA

http://crashcourse.ca
========================================================================
--
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