Message ID | Y5iiED4PpnGAHpyz@p100 (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | linux-user: Add missing MAP_HUGETLB and MAP_STACK flags in strace | expand |
Le 13/12/2022 à 17:02, Helge Deller a écrit : > Add two missing mmap flags. > > Signed-off-by: Helge Deller <deller@gmx.de> > > diff --git a/linux-user/strace.c b/linux-user/strace.c > index 8fa5c1ec3d..3ea91084fb 100644 > --- a/linux-user/strace.c > +++ b/linux-user/strace.c > @@ -1089,6 +1089,8 @@ UNUSED static struct flags mmap_flags[] = { > #ifdef TARGET_MAP_UNINITIALIZED > FLAG_TARGET(MAP_UNINITIALIZED), > #endif > + FLAG_TARGET(MAP_HUGETLB), > + FLAG_TARGET(MAP_STACK), > FLAG_END, > }; > > Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Le 13/12/2022 à 17:02, Helge Deller a écrit : > Add two missing mmap flags. > > Signed-off-by: Helge Deller <deller@gmx.de> > > diff --git a/linux-user/strace.c b/linux-user/strace.c > index 8fa5c1ec3d..3ea91084fb 100644 > --- a/linux-user/strace.c > +++ b/linux-user/strace.c > @@ -1089,6 +1089,8 @@ UNUSED static struct flags mmap_flags[] = { > #ifdef TARGET_MAP_UNINITIALIZED > FLAG_TARGET(MAP_UNINITIALIZED), > #endif > + FLAG_TARGET(MAP_HUGETLB), > + FLAG_TARGET(MAP_STACK), > FLAG_END, > }; > > Applied to my linux-user-for-8.0 branch. Thanks, Laurent
diff --git a/linux-user/strace.c b/linux-user/strace.c index 8fa5c1ec3d..3ea91084fb 100644 --- a/linux-user/strace.c +++ b/linux-user/strace.c @@ -1089,6 +1089,8 @@ UNUSED static struct flags mmap_flags[] = { #ifdef TARGET_MAP_UNINITIALIZED FLAG_TARGET(MAP_UNINITIALIZED), #endif + FLAG_TARGET(MAP_HUGETLB), + FLAG_TARGET(MAP_STACK), FLAG_END, };
Add two missing mmap flags. Signed-off-by: Helge Deller <deller@gmx.de>