Add munlock() and mlock2() to pledge

pull/1161/head
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
1 changed files with 2 additions and 0 deletions

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, //