mirror of
https://github.com/rwinkhart/sys.git
synced 2026-09-01 22:57:29 -04:00
unix/linux: update to glibc 2.36
Support for LoongArch has been merged upstream. This allows to drop the loong64 specific glibc patches. Because the header file sys/mount.h of glibc 2.36 includes fcntl.h (commit 78a408ee7ba041fc8d5dbd5f67065b4a982c11e5), this will leads to duplicate definition of structure stat on MIPS64. In order to solve this error, use the custom type my_stat to generate the Go Stat_t. Change-Id: I888280d777d1c7089548acf1b3821762011d79b0 Reviewed-on: https://go-review.googlesource.com/c/sys/+/453555 Reviewed-by: xiaodong liu <teaofmoli@gmail.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@google.com> Reviewed-by: Cherry Mui <cherryyz@google.com> Run-TryBot: Ian Lance Taylor <iant@google.com> Auto-Submit: Ian Lance Taylor <iant@google.com>
This commit is contained in:
@@ -1814,6 +1814,7 @@ const (
|
||||
MADV_DONTDUMP = 0x10
|
||||
MADV_DONTFORK = 0xa
|
||||
MADV_DONTNEED = 0x4
|
||||
MADV_DONTNEED_LOCKED = 0x18
|
||||
MADV_FREE = 0x8
|
||||
MADV_HUGEPAGE = 0xe
|
||||
MADV_HWPOISON = 0x64
|
||||
|
||||
Reference in New Issue
Block a user