Re: Deleting files from /proc ?

Mike (mike@oxlug.org)
Fri, 23 Jul 1999 18:08:37 +0100 (BST)


On Thu, 22 Jul 1999, Jones D (ISaCS) wrote:

>
> I realised earlier, that root can delete files
> from some subdirectories in /proc
>
>
> Is this supposed to happen?
>
I'm fairly sure this isn't:
/proc/net]# rm route
proc_file_unlink: deleting net/route
remove_proc_entry: net/route busy, count=1
de_put: deferred delete of route
/proc/net]# ls -l route
ls: route: No such file or directory

This on a box which is using its networking at the time...
And it breaks the route command quite drastically...

-- 
Mike <rickettm@ox.compsoc.net>

"I don't think they could put him in a mental hospital. On the other hand, if he were already in, I don't think they'd let him out."

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/