forked from aquasecurity/tracee
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(events): add security_task_setrlimit (aquasecurity#4148)
- Loading branch information
1 parent
6f94719
commit 3240182
Showing
8 changed files
with
84 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# security_task_setrlimit | ||
|
||
## Intro | ||
security_task_setrlimit - Do a check when a task's resource limit is being set. | ||
|
||
## Description | ||
The event indicates a resource set of a task. | ||
The event is triggered by the permissions check for the operation, as LSM hook. | ||
|
||
## Arguments | ||
* `target_host_pid`:`u32`[K] - the target host pid. | ||
* `resource`:`int`[K] - the resource limit being changed. | ||
* `new_rlim_cur`:`u64`[K] - the new current limit. | ||
* `new_rlim_max`:`u64`[K] - the new maximum limit. | ||
|
||
## Hooks | ||
### security_task_setrlimit | ||
#### Type | ||
kprobe | ||
#### Purpose | ||
The LSM hook of setting the resource limit on a task. This hook triggers the event. | ||
|
||
## Example Use Case | ||
|
||
```console | ||
./tracee -e security_task_setrlimit | ||
``` | ||
|
||
## Issues | ||
|
||
## Related Events |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters