Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\selinux\hooks.c Create Date:2022-07-28 18:58:53
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:selinux_task_setrlimit

Proto:static int selinux_task_setrlimit(struct task_struct *p, unsigned int resource, struct rlimit *new_rlim)

Type:int

Parameter:

TypeParameterName
struct task_struct *p
unsigned intresource
struct rlimit *new_rlim
4116  old_rlim = rlim + resource
4122  If rlim_max != rlim_max Then Return avc_has_perm - Check permissions and perform any appropriate auditing
4127  Return 0