Add munlock() and mlock2() to pledge

This commit is contained in:
Justine Tunney 2024-04-28 16:53:23 -07:00
parent 0eef971494
commit ff2b6fc0b0
No known key found for this signature in database
GPG key ID: BE714B4575D6E328

View file

@ -615,6 +615,8 @@ static const uint16_t kPledgeStdio[] = {
__NR_linux_msync, //
__NR_linux_mmap | NOEXEC, //
__NR_linux_mlock, //
__NR_linux_mlock2, //
__NR_linux_munlock, //
__NR_linux_mremap, //
__NR_linux_munmap, //
__NR_linux_mincore, //