File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -449,6 +449,9 @@ impl ScmpFilterContext {
449
449
/// The seccomp filter attributes are tunable values that affect how the library behaves
450
450
/// when generating and loading the seccomp filter into the kernel.
451
451
///
452
+ /// > **NOTE**: Usage of this function is discouraged.
453
+ /// > Use type safe `get_*` functions instead.
454
+ ///
452
455
/// This function corresponds to
453
456
/// [`seccomp_attr_get`](https://man7.org/linux/man-pages/man3/seccomp_attr_get.3.html).
454
457
///
@@ -725,6 +728,9 @@ impl ScmpFilterContext {
725
728
/// The seccomp filter attributes are tunable values that affect how the library behaves
726
729
/// when generating and loading the seccomp filter into the kernel.
727
730
///
731
+ /// > **NOTE**: Usage of this function is discouraged.
732
+ /// > Use type safe `set_*` functions instead.
733
+ ///
728
734
/// This function corresponds to
729
735
/// [`seccomp_attr_set`](https://man7.org/linux/man-pages/man3/seccomp_attr_set.3.html).
730
736
///
You can’t perform that action at this time.
0 commit comments