* [PATCH] compat_ioctl: Add RS-485 IOCTLs to the list
@ 2012-07-18 15:24 Jaeden Amero
2012-08-21 19:41 ` [PATCH RESEND] " Jaeden Amero
0 siblings, 1 reply; 4+ messages in thread
From: Jaeden Amero @ 2012-07-18 15:24 UTC (permalink / raw)
To: Alexander Viro; +Cc: linux-fsdevel, greg, Jaeden Amero
The RS-485 TIOCSRS485 and TIOCGRS485 ioctls are 32-bit compatible, so
in order to call them on 64-bit systems from 32-bit user mode, we add
them to the ioctl pointer list as compatible ioctls.
Signed-off-by: Jaeden Amero <jaeden.amero@ni.com>
---
fs/compat_ioctl.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/fs/compat_ioctl.c b/fs/compat_ioctl.c
index debdfe0..85dfebf 100644
--- a/fs/compat_ioctl.c
+++ b/fs/compat_ioctl.c
@@ -866,6 +866,8 @@ COMPATIBLE_IOCTL(TIOCGPTN)
COMPATIBLE_IOCTL(TIOCSPTLCK)
COMPATIBLE_IOCTL(TIOCSERGETLSR)
COMPATIBLE_IOCTL(TIOCSIG)
+COMPATIBLE_IOCTL(TIOCSRS485)
+COMPATIBLE_IOCTL(TIOCGRS485)
#ifdef TCGETS2
COMPATIBLE_IOCTL(TCGETS2)
COMPATIBLE_IOCTL(TCSETS2)
--
1.7.11.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH RESEND] compat_ioctl: Add RS-485 IOCTLs to the list
2012-07-18 15:24 [PATCH] compat_ioctl: Add RS-485 IOCTLs to the list Jaeden Amero
@ 2012-08-21 19:41 ` Jaeden Amero
2012-09-18 19:00 ` [PATCH RESEND " Jaeden Amero
0 siblings, 1 reply; 4+ messages in thread
From: Jaeden Amero @ 2012-08-21 19:41 UTC (permalink / raw)
To: linux-fsdevel; +Cc: linux-kernel, Jaeden Amero
The RS-485 TIOCSRS485 and TIOCGRS485 ioctls are 32-bit compatible, so
in order to call them on 64-bit systems from 32-bit user mode, we add
them to the ioctl pointer list as compatible ioctls.
Signed-off-by: Jaeden Amero <jaeden.amero@ni.com>
---
fs/compat_ioctl.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/fs/compat_ioctl.c b/fs/compat_ioctl.c
index debdfe0fc809edfd01ac4a72a0eaf2753efc993d..85dfebfe6820856dc3154dfd178acb6fca63bbe9 100644
--- a/fs/compat_ioctl.c
+++ b/fs/compat_ioctl.c
@@ -866,6 +866,8 @@ COMPATIBLE_IOCTL(TIOCGPTN)
COMPATIBLE_IOCTL(TIOCSPTLCK)
COMPATIBLE_IOCTL(TIOCSERGETLSR)
COMPATIBLE_IOCTL(TIOCSIG)
+COMPATIBLE_IOCTL(TIOCSRS485)
+COMPATIBLE_IOCTL(TIOCGRS485)
#ifdef TCGETS2
COMPATIBLE_IOCTL(TCGETS2)
COMPATIBLE_IOCTL(TCSETS2)
--
1.7.12
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH RESEND RESEND] compat_ioctl: Add RS-485 IOCTLs to the list
2012-08-21 19:41 ` [PATCH RESEND] " Jaeden Amero
@ 2012-09-18 19:00 ` Jaeden Amero
2012-09-19 13:29 ` Alan Cox
0 siblings, 1 reply; 4+ messages in thread
From: Jaeden Amero @ 2012-09-18 19:00 UTC (permalink / raw)
To: linux-fsdevel; +Cc: linux-kernel, Jaeden Amero
The RS-485 TIOCSRS485 and TIOCGRS485 ioctls are 32-bit compatible, so
in order to call them on 64-bit systems from 32-bit user mode, we add
them to the ioctl pointer list as compatible ioctls.
Signed-off-by: Jaeden Amero <jaeden.amero@ni.com>
---
fs/compat_ioctl.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/fs/compat_ioctl.c b/fs/compat_ioctl.c
index debdfe0fc809edfd01ac4a72a0eaf2753efc993d..85dfebfe6820856dc3154dfd178acb6fca63bbe9 100644
--- a/fs/compat_ioctl.c
+++ b/fs/compat_ioctl.c
@@ -866,6 +866,8 @@ COMPATIBLE_IOCTL(TIOCGPTN)
COMPATIBLE_IOCTL(TIOCSPTLCK)
COMPATIBLE_IOCTL(TIOCSERGETLSR)
COMPATIBLE_IOCTL(TIOCSIG)
+COMPATIBLE_IOCTL(TIOCSRS485)
+COMPATIBLE_IOCTL(TIOCGRS485)
#ifdef TCGETS2
COMPATIBLE_IOCTL(TCGETS2)
COMPATIBLE_IOCTL(TCSETS2)
--
1.7.12
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH RESEND RESEND] compat_ioctl: Add RS-485 IOCTLs to the list
2012-09-18 19:00 ` [PATCH RESEND " Jaeden Amero
@ 2012-09-19 13:29 ` Alan Cox
0 siblings, 0 replies; 4+ messages in thread
From: Alan Cox @ 2012-09-19 13:29 UTC (permalink / raw)
To: Jaeden Amero; +Cc: linux-fsdevel, linux-kernel
On Tue, 18 Sep 2012 14:00:03 -0500
Jaeden Amero <jaeden.amero@ni.com> wrote:
> The RS-485 TIOCSRS485 and TIOCGRS485 ioctls are 32-bit compatible, so
> in order to call them on 64-bit systems from 32-bit user mode, we add
> them to the ioctl pointer list as compatible ioctls.
>
> Signed-off-by: Jaeden Amero <jaeden.amero@ni.com>
Added to my tty pile as nobody seems to be able to decide who owns this
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-09-19 13:29 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-18 15:24 [PATCH] compat_ioctl: Add RS-485 IOCTLs to the list Jaeden Amero
2012-08-21 19:41 ` [PATCH RESEND] " Jaeden Amero
2012-09-18 19:00 ` [PATCH RESEND " Jaeden Amero
2012-09-19 13:29 ` Alan Cox
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).