Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\fcntl.c Create Date:2022-07-28 20:05:47
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:f_modown

Proto:static void f_modown(struct file *filp, struct pid *pid, enum pid_type type, int force)

Type:void

Parameter:

TypeParameterName
struct file *filp
struct pid *pid
enum pid_typetype
intforce
90  write_lock_irq( & protects pid, uid, euid fields )
91  If force || Not pid or -pgrp where SIGIO should be sent Then
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  If pid Then
102  write_unlock_irq( & protects pid, uid, euid fields )
Caller
NameDescribe
__f_setown
f_delown