Skip to content

Commit c520612

Browse files
okunzcopybara-github
authored andcommitted
policybuilder: Mark AllowInotifyInit deprecated.
We have replaced it with `AllowInotify` which also allowlists the remaining syscalls for the inotify API. PiperOrigin-RevId: 807240737 Change-Id: I442ee89c3709ba6c8e67d48791d425b44e5c4b26
1 parent b304975 commit c520612

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

sandboxed_api/sandbox2/policybuilder.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,7 @@ class PolicyBuilder final {
237237
// Allows these syscalls:
238238
// - inotify_init
239239
// - inotify_init1
240+
ABSL_DEPRECATED("Use AllowInotify() instead.")
240241
PolicyBuilder& AllowInotifyInit();
241242

242243
// Appends code to allow the inotify API.

0 commit comments

Comments
 (0)