> If I run:
>
> mpg123 /cdrom/*
>
> as normal user I get:
>
> kmod: failed to exec /sbin/modprobe -s -k char-major-14, errno = 1
> Can't open /dev/dsp!
>
> If I run the same command as root all works as usual. In 103 I didn' t
> need to run mpg123 as root to allow kmod to autoload sb.
>
Looks like fsuid handling changed in 104, because of capabilities diffs.
This reverses the change:
--- linux/include/linux/sched.h~ Sat Jun 6 09:27:40 1998
+++ linux/include/linux/sched.h Sat Jun 6 15:04:11 1998
@@ -565,7 +565,7 @@
extern inline int capable(int cap)
{
-#if 1 /* ok now */
+#if 0 /* for kmod*/
if (cap_raised(current->cap_effective, cap))
#else
if (cap_is_fs_cap(cap) ? current->fsuid == 0 : current->euid == 0)
--But presumably the kmod code should really be changed to handle the capabilities.
-- Shaw Carruthers - shaw@shawc.demon.co.uk London SW14 7JW UK This is not a sig( with homage to Magritte).
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu