No description
Find a file
Greg Kroah-Hartman 0e5596c54a kobject: send KOBJ_REMOVE uevent when the object is removed from sysfs
It is possible for a KOBJ_REMOVE uevent to be sent to userspace way
after the files are actually gone from sysfs, due to how reference
counting for kobjects work.  This should not be a problem, but it would
be good to properly send the information when things are going away, not
at some later point in time in the future.

Before this move, if a kobject's parent was torn down before the child,
when the call to kobject_uevent() happened, the parent walk to try to
reconstruct the full path of the kobject could be a total mess and cause
crashes.  It's not good to try to tear down a kobject tree from top
down, but let's at least try to not to crash if a user does so.

Reviewed-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Link: https://lore.kernel.org/r/20200524153041.2361-2-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-05-25 14:49:22 +02:00
arch A set of EFI fixes: 2020-05-24 10:24:10 -07:00
block
certs
crypto
Documentation Merge 5.7-rc7 into driver-core-next 2020-05-25 08:55:12 +02:00
drivers Merge 5.7-rc7 into driver-core-next 2020-05-25 08:55:12 +02:00
fs Merge 5.7-rc7 into driver-core-next 2020-05-25 08:55:12 +02:00
include Merge 5.7-rc7 into driver-core-next 2020-05-25 08:55:12 +02:00
init
ipc
kernel
lib kobject: send KOBJ_REMOVE uevent when the object is removed from sysfs 2020-05-25 14:49:22 +02:00
LICENSES
mm
net
samples
scripts
security
sound
tools
usr
virt
.clang-format
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS
Makefile Linux 5.7-rc7 2020-05-24 15:32:54 -07:00
README

Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.