diff options
author | Pavel Kozlov <pavel.kozlov@synopsys.com> | 2023-11-07 15:03:12 +0400 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2023-11-10 16:13:19 +0100 |
commit | 4bf3912213ed8d0fa937fb4784a3e8e0c8fd8c3c (patch) | |
tree | da9fff79f12236fdb6b21fdd92a0d07945713071 /include/lastlog.h | |
parent | c303df56d32faa47ef163726357ed3ee5d075b88 (diff) |
prlimit: add name redirection and fix incorrect parameters to syscall
The tst-rlimit/tst-rlimit64 tests pointed to several issueses in
prlimit() function for 32-bit CPUs. This patch adds name redirection to
prlimit64 in prlimit declaration to provide correct support for 64-bit
offset (_FILE_OFFSET_BITS=64) on 32-bit CPUs and fixes improper field
assignment and incorrect syscall paramerets in the prlimit() function.
Fixes: 8c2f6218 ("setrlimit/getrlimit: fix prlimit64 syscall use for 32-bit CPUs")
Signed-off-by: Pavel Kozlov <pavel.kozlov@synopsys.com>
Diffstat (limited to 'include/lastlog.h')
0 files changed, 0 insertions, 0 deletions