<feed xmlns='http://www.w3.org/2005/Atom'>
<title>user/sven/linux.git/kernel/kmod.c, branch v2.6.16.6</title>
<subtitle>Linux Kernel
</subtitle>
<id>https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=v2.6.16.6</id>
<link rel='self' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=v2.6.16.6'/>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/'/>
<updated>2005-10-31T01:37:23Z</updated>
<entry>
<title>[PATCH] Keys: Get rid of warning in kmod.c if keys disabled</title>
<updated>2005-10-31T01:37:23Z</updated>
<author>
<name>David Howells</name>
<email>dhowells@redhat.com</email>
</author>
<published>2005-10-30T23:02:44Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=20e1129ab831486c811d50d3905343ad48c4275f'/>
<id>urn:sha1:20e1129ab831486c811d50d3905343ad48c4275f</id>
<content type='text'>
The attached patch gets rid of a "statement without effect" warning when
CONFIG_KEYS is disabled by making use of the return value of key_get().
The compiler will optimise all of this away when keys are disabled.

Signed-Off-By: David Howells &lt;dhowells@redhat.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] Keys: Pass session keyring to call_usermodehelper()</title>
<updated>2005-06-24T07:05:18Z</updated>
<author>
<name>David Howells</name>
<email>dhowells@redhat.com</email>
</author>
<published>2005-06-24T05:00:51Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=7888e7ff4ee579442128d7d12a9c9dbf2cf7de6a'/>
<id>urn:sha1:7888e7ff4ee579442128d7d12a9c9dbf2cf7de6a</id>
<content type='text'>
The attached patch makes it possible to pass a session keyring through to the
process spawned by call_usermodehelper().  This allows patch 3/3 to pass an
authorisation key through to /sbin/request-key, thus permitting better access
controls when doing just-in-time key creation.

Signed-Off-By: David Howells &lt;dhowells@redhat.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] take me home, hotplug_path[]</title>
<updated>2004-11-01T05:06:49Z</updated>
<author>
<name>Kay Sievers</name>
<email>kay.sievers@vrfy.org</email>
</author>
<published>2004-11-01T05:06:49Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=6f1780569c67765e1fef8754fc1812714b85e4d0'/>
<id>urn:sha1:6f1780569c67765e1fef8754fc1812714b85e4d0</id>
<content type='text'>
Move hotplug_path[] out of kmod.[ch] to kobject_uevent.[ch] where
it belongs now. At some time in the future we should fix the remaining bad
hotplug calls (no SEQNUM, no netlink uevent):

  ./drivers/input/input.c (no DEVPATH on some hotplug events!)
  ./drivers/pnp/pnpbios/core.c
  ./drivers/s390/crypto/z90main.c

Signed-off-by: Kay Sievers &lt;kay.sievers@vrfy.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;greg@kroah.com&gt;
</content>
</entry>
<entry>
<title>[PATCH] Enable all events for initramfs</title>
<updated>2004-08-23T05:46:30Z</updated>
<author>
<name>Hannes Reinecke</name>
<email>hare@suse.de</email>
</author>
<published>2004-08-23T05:46:30Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=e5f29853e9797a740708e0d38cecda5be168ac8a'/>
<id>urn:sha1:e5f29853e9797a740708e0d38cecda5be168ac8a</id>
<content type='text'>
Currently most driver events are not sent out when using initramfs as
driver_init() (which triggers the events) is called before init_workqueues.

This patch rearranges the init calls so that the hotplug event queue is
enabled prior to calling driver_init(), hence we're getting all hotplug
events again.

Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] clean up cpumask_t temporaries</title>
<updated>2004-06-24T01:52:44Z</updated>
<author>
<name>Andrew Morton</name>
<email>akpm@osdl.org</email>
</author>
<published>2004-06-24T01:52:44Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=a3dcb7f41eced06d4e43365fefd98a3b9b48e340'/>
<id>urn:sha1:a3dcb7f41eced06d4e43365fefd98a3b9b48e340</id>
<content type='text'>
From: Rusty Russell &lt;rusty@rustcorp.com.au&gt;

Paul Jackson's cpumask tour-de-force allows us to get rid of those stupid
temporaries which we used to hold CPU_MASK_ALL to hand them to functions.
This used to break NR_CPUS &gt; BITS_PER_LONG.

Signed-off-by: Rusty Russell &lt;rusty@rustcorp.com.au&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] fix modprobe_path and hotplug_path sizes and sysctl</title>
<updated>2004-06-12T23:41:17Z</updated>
<author>
<name>Andrew Morton</name>
<email>akpm@osdl.org</email>
</author>
<published>2004-06-12T23:41:17Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=942f5de49374d5470074d8e6c2dd86e02a7a12f1'/>
<id>urn:sha1:942f5de49374d5470074d8e6c2dd86e02a7a12f1</id>
<content type='text'>
From: Andy Whitcroft &lt;apw@shadowen.org&gt;

Both modprobe_path and hotplug_path are arbitrarily sized at 256 bytes and
that size is also expressed directly in the sysctl code.  It seems
reasonable to define a standard length and use that for consitancy.  This
patch introduces the constant KMOD_PATH_LEN and uses that.

Signed-off-by: Andy Whitcroft &lt;apw@shadowen.org&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>sparse: annotate (and comment on) kmod.c user pointer usage</title>
<updated>2004-06-03T12:54:49Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@ppc970.osdl.org</email>
</author>
<published>2004-06-03T12:54:49Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=2c37fa03ac935bf5f03d9ae7d7dc61ba4fda151a'/>
<id>urn:sha1:2c37fa03ac935bf5f03d9ae7d7dc61ba4fda151a</id>
<content type='text'>
Big comment, because it wasn't clear why this cast was valid.

Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] Make usermodehelper_init() use core_initcall()</title>
<updated>2004-05-10T07:10:46Z</updated>
<author>
<name>Andrew Morton</name>
<email>akpm@osdl.org</email>
</author>
<published>2004-05-10T07:10:46Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=b081d0feb160ad4aca8a00dcd443cf0dd07ec680'/>
<id>urn:sha1:b081d0feb160ad4aca8a00dcd443cf0dd07ec680</id>
<content type='text'>
We may as well make usermodehelper_init() core_initcall as well, to make
sure its services are avaialble to all the other initcall levels.
</content>
</entry>
<entry>
<title>[PATCH] Use workqueue for call_usermodehelper</title>
<updated>2004-04-26T15:55:31Z</updated>
<author>
<name>Andrew Morton</name>
<email>akpm@osdl.org</email>
</author>
<published>2004-04-26T15:55:31Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=35f4fc9f6bb92dc2d425c472971927ced12547d4'/>
<id>urn:sha1:35f4fc9f6bb92dc2d425c472971927ced12547d4</id>
<content type='text'>
From: Rusty Russell &lt;rusty@rustcorp.com.au&gt;

call_usermodehelper uses keventd to create a thread, guaranteeing a nice,
clean kernel thread.  Unfortunately, there is a case where
call_usermodehelper is called with &amp;bus-&gt;subsys.rwsem held (via
bus_add_driver()), but keventd could be running bus_add_device(), which is
blocked on the same lock.  The result is deadlock, and it comes from using
keventd for both.

In this case, it can be fixed by using a completely independent thread for
call_usermodehelper, or an independent workqueue.  Workqueues have the
infrastructure we need, so we use one.

Move EXPORT_SYMBOL while we're there, too.

akpm fixes: Make it compile with !CONFIG_KMOD
</content>
</entry>
<entry>
<title>[PATCH] generalise system_running</title>
<updated>2004-04-12T05:40:05Z</updated>
<author>
<name>Andrew Morton</name>
<email>akpm@osdl.org</email>
</author>
<published>2004-04-12T05:40:05Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=0eb217f9b539fccf5aafaba8c9a06e170825f68b'/>
<id>urn:sha1:0eb217f9b539fccf5aafaba8c9a06e170825f68b</id>
<content type='text'>
From: Olof Johansson &lt;olof@austin.ibm.com&gt;

It's currently a boolean, but that means that system_running goes to zero
again when shutting down.  So we then use code (in the page allocator) which
is only designed to be used during bootup - it is marked __init.

So we need to be able to distinguish early boot state from late shutdown
state.  Rename system_running to system_state and give it the three
appropriate states.
</content>
</entry>
</feed>
