[PATCH 2.6.17-rc6-mm2] ipc namespace : unshare fix

[PATCH 2.6.17-rc6-mm2] ipc namespace : unshare fix

Post by Cedric Le » Wed, 14 Jun 2006 05:30:12


small fix for unshare of ipc namespace

Signed-off-by: Cedric Le Goater < XXXX@XXXXX.COM >

---
kernel/fork.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

Index: 2.6.17-rc6-mm2/kernel/fork.c
===================================================================
--- 2.6.17-rc6-mm2.orig/kernel/fork.c
+++ 2.6.17-rc6-mm2/kernel/fork.c
@@ -1599,7 +1599,8 @@ asmlinkage long sys_unshare(unsigned lon
/* Return -EINVAL for all unsupported flags */
err = -EINVAL;
if (unshare_flags & ~(CLONE_THREAD|CLONE_FS|CLONE_NEWNS|CLONE_SIGHAND|
- CLONE_VM|CLONE_FILES|CLONE_SYSVSEM|CLONE_NEWUTS))
+ CLONE_VM|CLONE_FILES|CLONE_SYSVSEM|
+ CLONE_NEWUTS|CLONE_NEWIPC))
goto bad_unshare_out;

if ((err = unshare_thread(unshare_flags)))
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to XXXX@XXXXX.COM
More majordomo info at http://www.yqcomputer.com/
Please read the FAQ at http://www.yqcomputer.com/
 
 
 

1. [PATCH 2.6.17-rc6-mm2 4/6] ieee1394: nodemgr: switch to kthread API

2. [linux-usb-devel] [Fwd: [Linux-usb-users] Fwd: 2.6.17-rc6-mm2 - USB issues]

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to XXXX@XXXXX.COM
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
On Tue, Jun 20, 2006 at 09:21:35PM +1000, Johny wrote:
[...]

Well, not exactly this line (0000:00:11.1 is the IDE controller, which is
in legacy mode and therefore does not use its PCI interrupt), but the next
similar line is for the USB 2.0 (EHCI) controller:

-PCI: Via IRQ fixup for 0000:00:10.3, from 5 to 10


Try as root:

setpci -s 00:10.3 INTERRUPT_LINE=0a

(this matches "ehci_hcd 0000:00:10.3: irq 10, ..." in dmesg).

If after doing this USB works again (you will need to replug USB devices),
the missing VIA IRQ quirk is definitely the problem.


You seem to have also the builtin audio and Ethernet on this board - these
devices may have the same problem, if you tried to use them.


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFEl+WBW82GfkQfsqIRAjBMAJ0S8JRa3Uo7cWkvHnwbiaqQX8tM8wCeOoT4
s1TGuCj+WYGA4PxxWL0JPeg=
=dXL9
-----END PGP SIGNATURE-----

3. 2.6.17-rc6-mm2

4. [Fwd: [Linux-usb-users] Fwd: 2.6.17-rc6-mm2 - USB issues]

5. [linux-usb-devel] [Fwd: [Linux-usb-users] Fwd: 2.6.17-rc6-mm2 - USB issues]

6. 2.6.17-rc6-mm2 VIA PATA fails on some ATAPI drives

7. [Fwd: [Linux-usb-users] Fwd: 2.6.17-rc6-mm2 - USB issues]

8. [Alsa-devel] alsa 1.0.11, 2.6.17-rc6-mm2, kernel BUG

9. [Fwd: [Linux-usb-users] Fwd: 2.6.17-rc6-mm2 - USB issues]

10. 2.6.17-rc6-mm2, modpost segfaults

11. [Linux-usb-users] Fwd: 2.6.17-rc6-mm2 - USB issues

12. alsa 1.0.11, 2.6.17-rc6-mm2, kernel BUG

13. 2.6.17-rc6-mm2 Won't compile on PowerBook

14. [PATCH 2.6.17-rc5-mm2 05/18] raw1394: fix whitespace after x86_64 compat patch

15. [RFC][PATCH 2.6.17-rc6] input/mouse/sermouse: fix memleak and potential buffer overflow