[lkml]   [2000]   [Sep]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectFWD: Re: Linux pipe question
Can anyone answer this?
I am not sure if unnamed pipes in linux
are pageable or not. If an unnamed pipe
could be paged out what could be done
to prevent that from happening?


----- Forwarded message from AW <> -----

Date: Wed, 20 Sep 2000 12:27:05 -0400
From: AW <>
Subject: Re: Linux pipe question

> I am not sure... But would this be a named pipe or
> not?

This would be a UNnamed pipe, i.e.,

gen_confidential_data | gpg -e -r ...

The question is: is any of the clear text confidential data handled by the
unnamed pipe at risk for being written to disk? Comments in the kernel
code suggest that it's buffered in a single physical page but I suspect
that it's actually a virtual page that could be paged out.

Does the answer depend on if gen_confidential_data limits its write to
not exceed PIPE_BUF (4096)?

Clearly, gen_confidential_data is subject to being paged out unless it
locks itself into memory.



----- End forwarded message -----

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

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