int __f_setown(struct file *filp, struct pid *pid, enum pid_type type, int force) { int err; err = security_file_set_fowner(filp); if (err) return err; f_modown(filp, pid, type, force); return 0; }
void f_delown(struct file *filp) { f_modown(filp, NULL, PIDTYPE_PID, 1); }
void __f_setown(struct file *filp, struct pid *pid, enum pid_type type, int force) { security_file_set_fowner(filp); f_modown(filp, pid, type, force); }