函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\selinux\hooks.c Create Date:2022-07-27 20:28:28
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:selinux_quotactl

函数原型:static int selinux_quotactl(int cmds, int type, int id, struct super_block *sb)

返回类型:int

参数:

类型参数名称
intcmds
inttype
intid
struct super_block *sb
2183  cred等于current_cred - Access the current task's subjective credentials* Access the subjective credentials of the current task. RCU-safe,* since nobody else can modify it.()
2184  rc等于0
2186  如果非sb则返回:0
2190  :cmds恒等于sync disk copy of a filesystems quotas
2191  :cmds恒等于urn quotas on
2192  :cmds恒等于urn quotas off
2193  :cmds恒等于set information about quota files
2194  :cmds恒等于set user quota structure
2195  rc等于Check whether a task can perform a filesystem operation.
2196  退出
2197  :cmds恒等于get quota format used on given filesystem
2198  :cmds恒等于get information about quota files
2199  :cmds恒等于get user quota structure
2200  rc等于Check whether a task can perform a filesystem operation.
2201  退出
2202  默认
2203  rc等于0
2204  退出
2206  返回:rc