Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F107790113
D44525.id136267.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
950 B
Referenced Files
None
Subscribers
None
D44525.id136267.diff
View Options
diff --git a/sys/compat/linux/linux_ioctl.h b/sys/compat/linux/linux_ioctl.h
--- a/sys/compat/linux/linux_ioctl.h
+++ b/sys/compat/linux/linux_ioctl.h
@@ -462,6 +462,7 @@
#define LINUX_IXOFF 0x0001000
#define LINUX_IMAXBEL 0x0002000
+#define LINUX_IUTF8 0x0004000
/* Linux c_oflag masks */
#define LINUX_OPOST 0x0000001
diff --git a/sys/compat/linux/linux_ioctl.c b/sys/compat/linux/linux_ioctl.c
--- a/sys/compat/linux/linux_ioctl.c
+++ b/sys/compat/linux/linux_ioctl.c
@@ -416,6 +416,8 @@
lios->c_iflag |= LINUX_IXOFF;
if (bios->c_iflag & IMAXBEL)
lios->c_iflag |= LINUX_IMAXBEL;
+ if (bios->c_iflag & IUTF8)
+ lios->c_iflag |= LINUX_IUTF8;
lios->c_oflag = 0;
if (bios->c_oflag & OPOST)
@@ -533,6 +535,8 @@
bios->c_iflag |= IXOFF;
if (lios->c_iflag & LINUX_IMAXBEL)
bios->c_iflag |= IMAXBEL;
+ if (lios->c_iflag & LINUX_IUTF8)
+ bios->c_iflag |= IUTF8;
bios->c_oflag = 0;
if (lios->c_oflag & LINUX_OPOST)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Jan 19, 5:29 AM (11 h, 1 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15926635
Default Alt Text
D44525.id136267.diff (950 B)
Attached To
Mode
D44525: linux: support IUTF8
Attached
Detach File
Event Timeline
Log In to Comment