Skip to content

Commit

Permalink
Bug 1308568 - Add missing filesystem calls to Allow in case broker is…
Browse files Browse the repository at this point in the history
… disabled. r=haik

MozReview-Commit-ID: 6AdKbBH0NMh

UltraBlame original commit: 099e8386665bce6331b79a9e0568075037f00b86
  • Loading branch information
marco-c committed Sep 30, 2019
1 parent 12323d9 commit a3ef512
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions security/sandbox/linux/SandboxFilter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -595,6 +595,14 @@ class ContentSandboxPolicy : public SandboxPolicyCommon {
CASES_FOR_stat:
CASES_FOR_lstat:
CASES_FOR_fstatat:
case __NR_chmod:
case __NR_link:
case __NR_mkdir:
case __NR_symlink:
case __NR_rename:
case __NR_rmdir:
case __NR_unlink:
case __NR_readlink:
return Allow();
}
}
Expand Down

0 comments on commit a3ef512

Please sign in to comment.