Merge branch 'linux-mainline' into android-mainline-tmp

Change-Id: I4380c68c3474026a42ffa9f95c525f9a563ba7a3
This commit is contained in:
Todd Kjos
2019-05-03 12:22:22 -07:00
24258 changed files with 1692606 additions and 822161 deletions

View File

@@ -73,6 +73,7 @@ struct proc_dir_entry *proc_create_net_single_write(const char *name, umode_t mo
int (*show)(struct seq_file *, void *),
proc_write_t write,
void *data);
extern struct pid *tgid_pidfd_to_pid(const struct file *file);
#else /* CONFIG_PROC_FS */
@@ -114,6 +115,11 @@ static inline int remove_proc_subtree(const char *name, struct proc_dir_entry *p
#define proc_create_net(name, mode, parent, state_size, ops) ({NULL;})
#define proc_create_net_single(name, mode, parent, show, data) ({NULL;})
static inline struct pid *tgid_pidfd_to_pid(const struct file *file)
{
return ERR_PTR(-EBADF);
}
#endif /* CONFIG_PROC_FS */
#ifdef CONFIG_PROC_UID