L4Re/departure

Changeset

335:907f05641bb6
2022-05-22 Paul Boddie raw files shortlog changelog graph Merged changes from the default branch. mmap-region-flags
libmem/lib/src/flexpage.cc (file)
     1.1 --- a/libmem/lib/src/flexpage.cc	Fri May 20 22:54:36 2022 +0200
     1.2 +++ b/libmem/lib/src/flexpage.cc	Sun May 22 22:44:36 2022 +0200
     1.3 @@ -35,6 +35,7 @@
     1.4          return;
     1.5  
     1.6      _counter = 0;
     1.7 +    _flags = 0;
     1.8  
     1.9      /* By definition (see "Flexible-Sized Page Objects - Object-Orientation
    1.10         in Operation Systems"), flexpages are aligned to multiples of their
    1.11 @@ -130,7 +131,7 @@
    1.12  
    1.13  bool Flexpage::modified()
    1.14  {
    1.15 -    return _flags & L4RE_DS_MAP_FLAG_RW;
    1.16 +    return _flags & L4RE_DS_F_W;
    1.17  }
    1.18  
    1.19  /* Return a "send" flexpage for an access to 'offset' by positioning it relative
     2.1 --- a/test_files/Control	Fri May 20 22:54:36 2022 +0200
     2.2 +++ b/test_files/Control	Sun May 22 22:44:36 2022 +0200
     2.3 @@ -1,2 +1,3 @@
     2.4  provides: fstest_files
     2.5 +requires: libc
     2.6  maintainer: paul@boddie.org.uk