Add ADDRB from Linux 6.0 to bits/termios-c_cflag.h
Checks
Context |
Check |
Description |
dj/TryBot-apply_patch |
success
|
Patch applied to master at the time it was sent
|
dj/TryBot-32bit |
success
|
Build for i686
|
Commit Message
Linux 6.0 adds a constant ADDRB, a termios c_cflag bit, to its
include/uapi/asm-generic/termbits-common.h.
Add it accordingly to glibc's bits/termios-c_cflag.h headers. As
other constants in these headers are generally in octal, I converted
the value to octal to match. As ADDRB isn't in a POSIX-reserved
namespace, I made it conditional on __USE_MISC.
Tested for x86_64.
Comments
Ping. This patch
<https://sourceware.org/pipermail/libc-alpha/2022-October/142547.html> is
pending review.
Ping^2. This patch
<https://sourceware.org/pipermail/libc-alpha/2022-October/142547.html> is
still pending review.
On Okt 06 2022, Joseph Myers wrote:
> Linux 6.0 adds a constant ADDRB, a termios c_cflag bit, to its
> include/uapi/asm-generic/termbits-common.h.
>
> Add it accordingly to glibc's bits/termios-c_cflag.h headers. As
> other constants in these headers are generally in octal, I converted
> the value to octal to match. As ADDRB isn't in a POSIX-reserved
> namespace, I made it conditional on __USE_MISC.
Ok.
@@ -33,3 +33,7 @@
#define HUPCL 00040000
#define CLOCAL 00100000
+
+#ifdef __USE_MISC
+# define ADDRB 04000000000
+#endif
@@ -32,3 +32,7 @@
#define PARODD 0001000
#define HUPCL 0002000
#define CLOCAL 0004000
+
+#ifdef __USE_MISC
+# define ADDRB 04000000000
+#endif
@@ -33,3 +33,7 @@
#define HUPCL 00040000
#define CLOCAL 00100000
+
+#ifdef __USE_MISC
+# define ADDRB 04000000000
+#endif