diff --git a/fs/proc/base.c b/fs/proc/base.c index 78f41a207767a68c1ca0ac671d202b6a0f98a5b6..d6d3b9f55f466ac9168bb80bc677d440efc50e0e 100644 --- a/fs/proc/base.c +++ b/fs/proc/base.c @@ -3773,11 +3773,6 @@ static ssize_t pid_tag_write(struct file *file, const char __user *buf, if (!tsk) return -ESRCH; - if (unlikely(tsk->pid == 1)) { - err = -EPERM; - goto out; - } - err = kstrtol_from_user(buf, count, 0, &tag); if (err) goto out;