lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1275580814-19353-1-git-send-email-fw@strlen.de>
Date:	Thu,  3 Jun 2010 18:00:14 +0200
From:	Florian Westphal <fw@...len.de>
To:	linux-kernel@...r.kernel.org
Cc:	Florian Westphal <fwestphal@...aro.com>, trivial@...nel.org
Subject: [PATCH, RESEND] compat_ioctl: add compat handler for PPPIOCGL2TPSTATS ioctl

From: Florian Westphal <fwestphal@...aro.com>

fixes following error:
ioctl32(openl2tpd:7480): Unknown cmd fd(14) cmd(80487436){t:'t';sz:72} arg(ffa7e6c0) on socket:[105094]

The structure used in the ioctl uses "aligned_u64" and thus doesn't need
fixups.

Cc: trivial@...nel.org
Signed-off-by: Florian Westphal <fwestphal@...aro.com>
---
noticed that this wasn't applied, most likely due to vger
outage back in April.

diff --git a/fs/compat_ioctl.c b/fs/compat_ioctl.c
index 641640d..d58d4cf 100644
--- a/fs/compat_ioctl.c
+++ b/fs/compat_ioctl.c
@@ -1100,6 +1100,7 @@ COMPATIBLE_IOCTL(PPPIOCCONNECT)
 COMPATIBLE_IOCTL(PPPIOCDISCONN)
 COMPATIBLE_IOCTL(PPPIOCATTCHAN)
 COMPATIBLE_IOCTL(PPPIOCGCHAN)
+COMPATIBLE_IOCTL(PPPIOCGL2TPSTATS)
 /* PPPOX */
 COMPATIBLE_IOCTL(PPPOEIOCSFWD)
 COMPATIBLE_IOCTL(PPPOEIOCDFWD)
-- 
1.6.4.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ