函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\fcntl.c Create Date:2022-07-29 10:35:41
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:f_modown

函数原型:static void f_modown(struct file *filp, struct pid *pid, enum pid_type type, int force)

返回类型:void

参数:

类型参数名称
struct file *filp
struct pid *pid
enum pid_typetype
intforce
90  write_lock_irq( & protects pid, uid, euid fields )
91  如果force或非 pid or -pgrp where SIGIO should be sent
92  put_pid( pid or -pgrp where SIGIO should be sent )
93  pid or -pgrp where SIGIO should be sent 等于get_pid(pid)
94  Kind of process group SIGIO should be sent to 等于type
96  如果pid
98  uid等于进程uid
102  write_unlock_irq( & protects pid, uid, euid fields )
调用者
名称描述
__f_setown
f_delown