Skip to content

Commit 137e81c

Browse files
committed
Add ownership note to get_notify_fd
Signed-off-by: rusty-snake <[email protected]>
1 parent 71923c7 commit 137e81c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

libseccomp/src/notify.rs

+1
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ impl ScmpFilterContext {
7575
/// **Note**: This file descriptor is shared between all threads.
7676
///
7777
/// This function returns a raw file descriptor for the userspace notification.
78+
/// The ownership of this file descriptor is not moved and you must not close it.
7879
///
7980
/// This function corresponds to
8081
/// [`seccomp_notify_fd`](https://man7.org/linux/man-pages/man3/seccomp_notify_fd.3.html).

0 commit comments

Comments
 (0)