fcntl.c (7a9787e1eba95a166265e6a260cf30af04ef0a99) fcntl.c (da9592edebceeba1b9301beafe80ec8b9c2db0ce)
1/*
2 * linux/fs/fcntl.c
3 *
4 * Copyright (C) 1991, 1992 Linus Torvalds
5 */
6
7#include <linux/syscalls.h>
8#include <linux/init.h>

--- 197 unchanged lines hidden (view full) ---

206 int force)
207{
208 int err;
209
210 err = security_file_set_fowner(filp);
211 if (err)
212 return err;
213
1/*
2 * linux/fs/fcntl.c
3 *
4 * Copyright (C) 1991, 1992 Linus Torvalds
5 */
6
7#include <linux/syscalls.h>
8#include <linux/init.h>

--- 197 unchanged lines hidden (view full) ---

206 int force)
207{
208 int err;
209
210 err = security_file_set_fowner(filp);
211 if (err)
212 return err;
213
214 f_modown(filp, pid, type, current->uid, current->euid, force);
214 f_modown(filp, pid, type, current_uid(), current_euid(), force);
215 return 0;
216}
217EXPORT_SYMBOL(__f_setown);
218
219int f_setown(struct file *filp, unsigned long arg, int force)
220{
221 enum pid_type type;
222 struct pid *pid;

--- 368 unchanged lines hidden ---
215 return 0;
216}
217EXPORT_SYMBOL(__f_setown);
218
219int f_setown(struct file *filp, unsigned long arg, int force)
220{
221 enum pid_type type;
222 struct pid *pid;

--- 368 unchanged lines hidden ---