Fix msync() flags on FreeBSD

This commit is contained in:
Justine Tunney 2023-08-21 04:15:05 -07:00
parent ebf784d4f5
commit fffcd98b0e
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
7 changed files with 95 additions and 15 deletions

View file

@ -959,9 +959,9 @@ syscon pf PF_X25 9 9 0 0 0 0 0 0
# msync() flags
#
# group name GNU/Systemd GNU/Systemd (Aarch64) XNU's Not UNIX! MacOS (Arm64) FreeBSD OpenBSD NetBSD The New Technology Commentary
syscon ms MS_SYNC 4 4 16 16 0 2 4 4 # faked nt
syscon ms MS_ASYNC 1 1 1 1 1 1 1 1 # consensus (faked nt)
syscon ms MS_INVALIDATE 2 2 2 2 2 4 2 0
syscon ms MS_SYNC 4 4 16 16 1 2 4 4 # faked nt; actually 0 on freebsd
syscon ms MS_ASYNC 1 1 1 1 2 1 1 1 # faked nt; actually 1 on freebsd
syscon ms MS_INVALIDATE 2 2 2 2 4 4 2 0 # actually 2 on freebsd
# statfs() flags
#