diff options
| author | Florian Weimer <fweimer@redhat.com> | 2025-01-20 09:57:09 +0100 |
|---|---|---|
| committer | Florian Weimer <fweimer@redhat.com> | 2025-01-20 15:20:57 +0100 |
| commit | b3a6bd625ce96bcec0e5d41b9835b1367d97e548 (patch) | |
| tree | 147f32c0100ea316306523c6ab7bc9d178613f22 /manual | |
| parent | 89e61e96b79faa104eb89f14028dae99d4ca4648 (diff) | |
| download | glibc-b3a6bd625ce96bcec0e5d41b9835b1367d97e548.tar.xz glibc-b3a6bd625ce96bcec0e5d41b9835b1367d97e548.zip | |
Linux: Do not check unused bytes after sched_getattr in tst-sched_setattr
Linux 6.13 was released with a change that overwrites those bytes.
This means that the check_unused subtest fails.
Update the manual accordingly.
Tested-by: Xi Ruoyao <xry111@xry111.site>
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'manual')
| -rw-r--r-- | manual/resource.texi | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/manual/resource.texi b/manual/resource.texi index 612520d4d9..0b82446817 100644 --- a/manual/resource.texi +++ b/manual/resource.texi @@ -1058,9 +1058,9 @@ available in the future. Upon success, @code{@var{attr}->size} contains the size of the structure version used by the kernel. Fields with offsets greater or equal to -@code{@var{attr}->size} are not updated by the kernel. To obtain -predictable values for unknown fields, use @code{memset} to set -all @var{size} bytes to zero prior to calling @code{sched_getattr}. +@code{@var{attr}->size} may not be overwritten by the kernel. To obtain +predictable values for unknown fields, use @code{memset} to set all +@var{size} bytes to zero prior to calling @code{sched_getattr}. On failure, @code{sched_getattr} returns @math{-1} and sets @code{errno}. If @code{errno} is @code{E2BIG}, this means that the buffer is not large |
