lkml.org 
[lkml]   [2007]   [Sep]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: sys_chroot+sys_fchdir Fix
Philipp Marek wrote:
> AFAIK pivot_root() changes the / mapping for *all* processes, no?
>

The manual page is confusing. It even admits to being "intentionally
vague". However the goal seems clear:

"pivot_root() moves the root file system of the current process to
the directory put_old and makes new_root the new root file system of
the current process"
-- man 2 pivot_root

There's an argument that pivot_root could be improved...
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-09-20 20:05    [W:0.161 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site