* [PATCH 0/3] update to linux v4.9
@ 2016-12-25 9:40 Szabolcs Nagy
2016-12-25 9:41 ` [PATCH 1/3] add pkey_{mprotect,alloc,free} syscalls from " Szabolcs Nagy
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Szabolcs Nagy @ 2016-12-25 9:40 UTC (permalink / raw)
To: musl
linux uapi update.
pkey man page implies the PKEY_* macros should be defined in sys/mman.h
but on glibc linux/mman.h is not included into sys/mman.h so i left
those out for now.
http://man7.org/linux/man-pages/man7/pkeys.7.html
Szabolcs Nagy (3):
add pkey_{mprotect,alloc,free} syscalls from linux v4.9
add MS_NOREMOTELOCK fs super block flag from linux v4.9
update tcp_info struct to linux v4.9
arch/aarch64/bits/syscall.h.in | 3 +++
arch/arm/bits/syscall.h.in | 3 +++
arch/i386/bits/syscall.h.in | 3 +++
arch/mips/bits/syscall.h.in | 3 +++
arch/mips64/bits/syscall.h.in | 3 +++
arch/mipsn32/bits/syscall.h.in | 3 +++
arch/or1k/bits/syscall.h.in | 3 +++
arch/x32/bits/syscall.h.in | 3 +++
arch/x86_64/bits/syscall.h.in | 3 +++
include/netinet/tcp.h | 2 ++
include/sys/mount.h | 1 +
11 files changed, 30 insertions(+)
--
2.10.2
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH 1/3] add pkey_{mprotect,alloc,free} syscalls from linux v4.9
2016-12-25 9:40 [PATCH 0/3] update to linux v4.9 Szabolcs Nagy
@ 2016-12-25 9:41 ` Szabolcs Nagy
2016-12-25 9:42 ` [PATCH 2/3] add MS_NOREMOTELOCK mount flag " Szabolcs Nagy
2016-12-25 9:43 ` [PATCH 3/3] update tcp_info struct to " Szabolcs Nagy
2 siblings, 0 replies; 4+ messages in thread
From: Szabolcs Nagy @ 2016-12-25 9:41 UTC (permalink / raw)
To: musl
see linux commit e8c24d3a23a469f1f40d4de24d872ca7023ced0a
and linux Documentation/x86/protection-keys.txt
---
arch/aarch64/bits/syscall.h.in | 3 +++
arch/arm/bits/syscall.h.in | 3 +++
arch/i386/bits/syscall.h.in | 3 +++
arch/mips/bits/syscall.h.in | 3 +++
arch/mips64/bits/syscall.h.in | 3 +++
arch/mipsn32/bits/syscall.h.in | 3 +++
arch/or1k/bits/syscall.h.in | 3 +++
arch/x32/bits/syscall.h.in | 3 +++
arch/x86_64/bits/syscall.h.in | 3 +++
9 files changed, 27 insertions(+)
diff --git a/arch/aarch64/bits/syscall.h.in b/arch/aarch64/bits/syscall.h.in
index 332f437..fd388ee 100644
--- a/arch/aarch64/bits/syscall.h.in
+++ b/arch/aarch64/bits/syscall.h.in
@@ -271,4 +271,7 @@
#define __NR_copy_file_range 285
#define __NR_preadv2 286
#define __NR_pwritev2 287
+#define __NR_pkey_mprotect 288
+#define __NR_pkey_alloc 289
+#define __NR_pkey_free 290
diff --git a/arch/arm/bits/syscall.h.in b/arch/arm/bits/syscall.h.in
index 04c8b1c..9b129b2 100644
--- a/arch/arm/bits/syscall.h.in
+++ b/arch/arm/bits/syscall.h.in
@@ -347,6 +347,9 @@
#define __NR_copy_file_range 391
#define __NR_preadv2 392
#define __NR_pwritev2 393
+#define __NR_pkey_mprotect 394
+#define __NR_pkey_alloc 395
+#define __NR_pkey_free 396
#define __ARM_NR_breakpoint 0x0f0001
#define __ARM_NR_cacheflush 0x0f0002
diff --git a/arch/i386/bits/syscall.h.in b/arch/i386/bits/syscall.h.in
index 5fe9c5c..3a1d927 100644
--- a/arch/i386/bits/syscall.h.in
+++ b/arch/i386/bits/syscall.h.in
@@ -378,4 +378,7 @@
#define __NR_copy_file_range 377
#define __NR_preadv2 378
#define __NR_pwritev2 379
+#define __NR_pkey_mprotect 380
+#define __NR_pkey_alloc 381
+#define __NR_pkey_free 382
diff --git a/arch/mips/bits/syscall.h.in b/arch/mips/bits/syscall.h.in
index bcceaa2..6c9b3d8 100644
--- a/arch/mips/bits/syscall.h.in
+++ b/arch/mips/bits/syscall.h.in
@@ -360,4 +360,7 @@
#define __NR_copy_file_range 4360
#define __NR_preadv2 4361
#define __NR_pwritev2 4362
+#define __NR_pkey_mprotect 4363
+#define __NR_pkey_alloc 4364
+#define __NR_pkey_free 4365
diff --git a/arch/mips64/bits/syscall.h.in b/arch/mips64/bits/syscall.h.in
index eef8543..a207133 100644
--- a/arch/mips64/bits/syscall.h.in
+++ b/arch/mips64/bits/syscall.h.in
@@ -320,4 +320,7 @@
#define __NR_copy_file_range 5320
#define __NR_preadv2 5321
#define __NR_pwritev2 5322
+#define __NR_pkey_mprotect 5323
+#define __NR_pkey_alloc 5324
+#define __NR_pkey_free 5325
diff --git a/arch/mipsn32/bits/syscall.h.in b/arch/mipsn32/bits/syscall.h.in
index 5fda0b5..d6b24e8 100644
--- a/arch/mipsn32/bits/syscall.h.in
+++ b/arch/mipsn32/bits/syscall.h.in
@@ -324,4 +324,7 @@
#define __NR_copy_file_range 6324
#define __NR_preadv2 6325
#define __NR_pwritev2 6326
+#define __NR_pkey_mprotect 6327
+#define __NR_pkey_alloc 6328
+#define __NR_pkey_free 6329
diff --git a/arch/or1k/bits/syscall.h.in b/arch/or1k/bits/syscall.h.in
index c6b6cf2..89788a9 100644
--- a/arch/or1k/bits/syscall.h.in
+++ b/arch/or1k/bits/syscall.h.in
@@ -271,4 +271,7 @@
#define __NR_copy_file_range 285
#define __NR_preadv2 286
#define __NR_pwritev2 287
+#define __NR_pkey_mprotect 288
+#define __NR_pkey_alloc 289
+#define __NR_pkey_free 290
diff --git a/arch/x32/bits/syscall.h.in b/arch/x32/bits/syscall.h.in
index e94dcb2..de6cffe 100644
--- a/arch/x32/bits/syscall.h.in
+++ b/arch/x32/bits/syscall.h.in
@@ -280,6 +280,9 @@
#define __NR_membarrier (0x40000000 + 324)
#define __NR_mlock2 (0x40000000 + 325)
#define __NR_copy_file_range (0x40000000 + 326)
+#define __NR_pkey_mprotect (0x40000000 + 329)
+#define __NR_pkey_alloc (0x40000000 + 330)
+#define __NR_pkey_free (0x40000000 + 331)
#define __NR_rt_sigaction (0x40000000 + 512)
#define __NR_rt_sigreturn (0x40000000 + 513)
diff --git a/arch/x86_64/bits/syscall.h.in b/arch/x86_64/bits/syscall.h.in
index d0c5518..6e743df 100644
--- a/arch/x86_64/bits/syscall.h.in
+++ b/arch/x86_64/bits/syscall.h.in
@@ -327,4 +327,7 @@
#define __NR_copy_file_range 326
#define __NR_preadv2 327
#define __NR_pwritev2 328
+#define __NR_pkey_mprotect 329
+#define __NR_pkey_alloc 330
+#define __NR_pkey_free 331
--
2.10.2
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH 2/3] add MS_NOREMOTELOCK mount flag from linux v4.9
2016-12-25 9:40 [PATCH 0/3] update to linux v4.9 Szabolcs Nagy
2016-12-25 9:41 ` [PATCH 1/3] add pkey_{mprotect,alloc,free} syscalls from " Szabolcs Nagy
@ 2016-12-25 9:42 ` Szabolcs Nagy
2016-12-25 9:43 ` [PATCH 3/3] update tcp_info struct to " Szabolcs Nagy
2 siblings, 0 replies; 4+ messages in thread
From: Szabolcs Nagy @ 2016-12-25 9:42 UTC (permalink / raw)
To: musl
for handling file locking on overlayfs.
see linux commit c568d68341be7030f5647def68851e469b21ca11
---
include/sys/mount.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/sys/mount.h b/include/sys/mount.h
index 6674e65..57a89c0 100644
--- a/include/sys/mount.h
+++ b/include/sys/mount.h
@@ -47,6 +47,7 @@ extern "C" {
#define MS_I_VERSION (1<<23)
#define MS_STRICTATIME (1<<24)
#define MS_LAZYTIME (1<<25)
+#define MS_NOREMOTELOCK (1<<27)
#define MS_NOSEC (1<<28)
#define MS_BORN (1<<29)
#define MS_ACTIVE (1<<30)
--
2.10.2
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH 3/3] update tcp_info struct to linux v4.9
2016-12-25 9:40 [PATCH 0/3] update to linux v4.9 Szabolcs Nagy
2016-12-25 9:41 ` [PATCH 1/3] add pkey_{mprotect,alloc,free} syscalls from " Szabolcs Nagy
2016-12-25 9:42 ` [PATCH 2/3] add MS_NOREMOTELOCK mount flag " Szabolcs Nagy
@ 2016-12-25 9:43 ` Szabolcs Nagy
2 siblings, 0 replies; 4+ messages in thread
From: Szabolcs Nagy @ 2016-12-25 9:43 UTC (permalink / raw)
To: musl
export tcp data delivery rate in tcp_info struct.
see linux commit eb8329e0a04db0061f714f033b4454326ba147f4
---
include/netinet/tcp.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/netinet/tcp.h b/include/netinet/tcp.h
index b9b8a7f..1339fcc 100644
--- a/include/netinet/tcp.h
+++ b/include/netinet/tcp.h
@@ -154,6 +154,7 @@ struct tcp_info {
uint8_t tcpi_backoff;
uint8_t tcpi_options;
uint8_t tcpi_snd_wscale : 4, tcpi_rcv_wscale : 4;
+ uint8_t tcpi_delivery_rate_app_limited : 1;
uint32_t tcpi_rto;
uint32_t tcpi_ato;
uint32_t tcpi_snd_mss;
@@ -188,6 +189,7 @@ struct tcp_info {
uint32_t tcpi_min_rtt;
uint32_t tcpi_data_segs_in;
uint32_t tcpi_data_segs_out;
+ uint64_t tcpi_delivery_rate;
};
#define TCP_MD5SIG_MAXKEYLEN 80
--
2.10.2
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2016-12-25 9:43 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-12-25 9:40 [PATCH 0/3] update to linux v4.9 Szabolcs Nagy
2016-12-25 9:41 ` [PATCH 1/3] add pkey_{mprotect,alloc,free} syscalls from " Szabolcs Nagy
2016-12-25 9:42 ` [PATCH 2/3] add MS_NOREMOTELOCK mount flag " Szabolcs Nagy
2016-12-25 9:43 ` [PATCH 3/3] update tcp_info struct to " Szabolcs Nagy
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/musl/
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).