We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b9e3ff commit 7144f79Copy full SHA for 7144f79
fs/pidfs.c
@@ -242,13 +242,13 @@ static inline bool pid_in_current_pidns(const struct pid *pid)
242
static long pidfd_info(struct file *file, unsigned int cmd, unsigned long arg)
243
{
244
struct pidfd_info __user *uinfo = (struct pidfd_info __user *)arg;
245
+ struct task_struct *task __free(put_task) = NULL;
246
struct inode *inode = file_inode(file);
247
struct pid *pid = pidfd_pid(file);
248
size_t usize = _IOC_SIZE(cmd);
249
struct pidfd_info kinfo = {};
250
struct pidfs_exit_info *exit_info;
251
struct user_namespace *user_ns;
- struct task_struct *task;
252
const struct cred *c;
253
__u64 mask;
254
0 commit comments