The patch titled
rocket: don't let random users reset the controller
has been removed from the -mm tree. Its filename was
rocket-dont-let-random-users-reset-the-controller.patch
This patch was dropped because it was merged into mainline or a subsystem tree
The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/
------------------------------------------------------
Subject: rocket: don't let random users reset the controller
From: Alan Cox <[EMAIL PROTECTED]>
Signed-off-by: Alan Cox <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
---
drivers/char/rocket.c | 3 +++
1 file changed, 3 insertions(+)
diff -puN
drivers/char/rocket.c~rocket-dont-let-random-users-reset-the-controller
drivers/char/rocket.c
--- a/drivers/char/rocket.c~rocket-dont-let-random-users-reset-the-controller
+++ a/drivers/char/rocket.c
@@ -1399,6 +1399,9 @@ static int reset_rm2(struct r_port *info
{
int reset;
+ if (!capable(CAP_SYS_ADMIN))
+ return -EPERM;
+
if (copy_from_user(&reset, arg, sizeof (int)))
return -EFAULT;
if (reset)
_
Patches currently in -mm which might be from [EMAIL PROTECTED] are
origin.patch
8390-split-8390-support-into-a-pausing-and-a-non-pausing-driver-core.patch
hci_ldisc-fix-null-pointer-deref.patch
parisc-new-termios-definitions.patch
git-sh.patch
git-watchdog.patch
-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html