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 a3de58b commit 0b2d71aCopy full SHA for 0b2d71a
fs/pidfs.c
@@ -296,12 +296,12 @@ static __u32 pidfs_coredump_mask(unsigned long mm_flags)
296
static long pidfd_info(struct file *file, unsigned int cmd, unsigned long arg)
297
{
298
struct pidfd_info __user *uinfo = (struct pidfd_info __user *)arg;
299
+ struct task_struct *task __free(put_task) = NULL;
300
struct pid *pid = pidfd_pid(file);
301
size_t usize = _IOC_SIZE(cmd);
302
struct pidfd_info kinfo = {};
303
struct pidfs_exit_info *exit_info;
304
struct user_namespace *user_ns;
- struct task_struct *task;
305
struct pidfs_attr *attr;
306
const struct cred *c;
307
__u64 mask;
0 commit comments