Skip to content

Commit

Permalink
setrlimit06: Convert docs to RST
Browse files Browse the repository at this point in the history
+ update copyright.

Signed-off-by: Petr Vorel <[email protected]>
  • Loading branch information
pevik committed Feb 20, 2025
1 parent 05c407b commit f02942c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions testcases/kernel/syscalls/setrlimit/setrlimit06.c
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
// SPDX-License-Identifier: GPL-2.0-or-later
/*
* Copyright (c) 2019 FUJITSU LIMITED. All rights reserved.
* Copyright (c) Linux Test Project, 2019-2025
* Author: Xiao Yang <[email protected]>
*/

/*
* Description:
/*\
* Set CPU time limit for a process and check its behavior
* after reaching CPU time limit.
*
* 1) Process got SIGXCPU after reaching soft limit of CPU time.
* 2) Process got SIGKILL after reaching hard limit of CPU time.
*
* Note:
* This is also a regression test for the following kernel bug:
* 'c3bca5d450b62 ("posix-cpu-timers: Ensure set_process_cpu_timer is always evaluated")'
* Test is also a regression test for kernel bug:
* c3bca5d450b62 ("posix-cpu-timers: Ensure set_process_cpu_timer is always evaluated")
*/

#define _GNU_SOURCE
Expand Down

0 comments on commit f02942c

Please sign in to comment.