Function report |
Source Code:security\apparmor\resource.c |
Create Date:2022-07-28 19:53:30 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:__aa_transition_rlimits - apply new profile rlimits*@old_l: old label on task (NOT NULL)*@new_l: new label with rlimits to apply (NOT NULL)
Proto:void __aa_transition_rlimits(struct aa_label *old_l, struct aa_label *new_l)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct aa_label * | old_l | |
struct aa_label * | new_l |
143 | mask = 0 |
148 | old = labels_profile(old_l) |
149 | new = labels_profile(new_l) |
155 | If mask Then |
158 | When j < RLIM_NLIMITS cycle |
163 | rlim_cur = min - return minimum of two values of the same or compatible types*@x: first value*@y: second value(rlim_max, rlim_cur) |
174 | If Not mask Then Continue |
176 | When j < RLIM_NLIMITS cycle |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |