Skip to content

Commit

Permalink
executor: linux: bump fs.mount-max to 100000
Browse files Browse the repository at this point in the history
Android sets fs.mount-max to 100, making it impossible to create new chroots.
Relax the limit, setting it to a value used on desktops.

Tracking bug: google#4972
  • Loading branch information
ramosian-glider committed Jul 3, 2024
1 parent ffe8393 commit 88217ac
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions executor/common_linux.h
Original file line number Diff line number Diff line change
Expand Up @@ -4164,7 +4164,10 @@ static int do_sandbox_none(void)
#if SYZ_EXECUTOR || SYZ_WIFI
initialize_wifi_devices();
#endif
#ifndef __ANDROID__
// TODO(glider): temporarily disable tmpfs mounting on Android.
sandbox_common_mount_tmpfs();
#endif
setup_binderfs();
loop();
doexit(1);
Expand Down

0 comments on commit 88217ac

Please sign in to comment.