07 Jan, 2009
1 commit
-
While reading Documentation/kobject.txt:
Note kobject_rename does perform any locking or have a solid notion of
what names are valid so the provide must provide their own sanity checking
and serialization.I expect better: You never see me hard with time word making sentence
coherent stuff. Ever.Signed-off-by: Rusty Russell
Acked-by: Eric W. Biederman
Signed-off-by: Greg Kroah-Hartman
17 Oct, 2008
1 commit
-
When looking at kobject_rename I found two bugs with
that exist when sysfs support is disabled in the kernel.kobject_rename does not change the name on the kobject when
sysfs support is not compiled in.kobject_rename without locking attempts to check the
validity of a rename operation, which the kobject layer
simply does not have the infrastructure to do.This patch documents the previously unstated requirement of
kobject_rename that is the responsibility of the caller to
provide mutual exclusion and to be certain that the new_name
for the kobject is valid.This patch modifies sysfs_rename_dir in !CONFIG_SYSFS case
to call kobject_set_name to actually change the kobject_name.This patch removes the bogus and misleading check in kobject_rename
that attempts to see if a rename is valid. The check is bogus
because we do not have the proper locking. The check is misleading
because it looks like we can and do perform checking at the kobject
level that we don't.Signed-off-by: Eric W. Biederman
Signed-off-by: Greg Kroah-Hartman
12 Jun, 2008
1 commit
-
Signed-off-by: David Brigada
Signed-off-by: Greg Kroah-Hartman
25 Jan, 2008
2 commits
-
This provides a much-needed kobject and kset documentation update.
Thanks to Kay Sievers, Alan Stern, Jonathan Corbet, Randy Dunlap, Jan
Engelhardt, and others for reviewing and providing help with this
document.Cc: Kay Sievers
Signed-off-by: Greg Kroah-Hartman -
As we are replacing the documentation, it's easier to do this in a two
stage pass, delete the old file and add the new one.Cc: Kay Sievers
Signed-off-by: Greg Kroah-Hartman
13 Oct, 2007
2 commits
-
There is only one user of it, and it is only a wrapper for kset_init().
Signed-off-by: Greg Kroah-Hartman
-
Signed-off-by: Cornelia Huck
Signed-off-by: Greg Kroah-Hartman
31 Jul, 2007
1 commit
-
Update kobject documentation:
- Update structure definitions.
- Remove documentation of removed struct subsystem.(First shot, uevent_ops probably need some documentation as well.)
Signed-off-by: Cornelia Huck
Signed-off-by: Greg Kroah-Hartman
04 Oct, 2006
1 commit
-
This patch fixes typos in various Documentation txts. This patch addresses
some words starting with the letters 'D'-'E'.Signed-off-by: Matt LaPlante
Signed-off-by: Adrian Bunk
12 Aug, 2006
1 commit
-
block/genhd.c no longer in drivers/. Update Documentation/kobjects.txt
Signed-off-by: Brandon Philips
Signed-off-by: Greg Kroah-Hartman
17 Apr, 2005
1 commit
-
Initial git repository build. I'm not bothering with the full history,
even though we have it. We can create a separate "historical" git
archive of that later if we want to, and in the meantime it's about
3.2GB when imported into git - space that would just make the early
git days unnecessarily complicated, when we don't have a lot of good
infrastructure for it.Let it rip!