[lkml]   [1996]   [Dec]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Proposal: restrict link(2)

The Deviant wrote:

>If you don't want your machine to be hacked, and you're willing to
>sacrafice functionality, don't network it.

There is also the possibility of a malicious user on a non-networked

>> Some programs use mktemp(3). The filenames generated are predictable.
>> Soft links are one way of exploiting this; hard links are another.
>Then mktemp(3) needs to be fixed...

Can't do this, without breaking existing programs.

>A concept which I am all for. But
>again, this is userland, not kernel.

In that case, please provide a safe way that I can open a file in /tmp,
without being root. Please include foolproof checks for symbolic and
hard links.
Thomas Koenig,, ig25@dkauni2.bitnet.
The joy of engineering is to find a straight line on a double
logarithmic diagram.

 \ /
  Last update: 2005-03-22 13:38    [W:0.045 / U:0.932 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site