函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:selinux_sem_semop

函数原型:static int selinux_sem_semop(struct kern_ipc_perm *sma, struct sembuf *sops, unsigned nsops, int alter)

返回类型:int

参数:

类型参数名称
struct kern_ipc_perm *sma
struct sembuf *sops
unsignednsops
intalter
6246  如果alterperms等于SEM__READ按位或SEM__WRITE
6248  否则perms等于SEM__READ
6251  返回:ipc_has_perm(sma, perms)