#, fuzzy msgid "" msgstr "" "Project-Id-Version: man-pages-l10n VERSION\n" "POT-Creation-Date: 2014-07-17 17:53+0900\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. type: TH #: man-pages/man2/chroot.2:33 #, no-wrap msgid "CHROOT" msgstr "" #. type: TH #: man-pages/man2/chroot.2:33 #, no-wrap msgid "2010-09-20" msgstr "" #. type: TH #: man-pages/man2/chroot.2:33 #, no-wrap msgid "Linux" msgstr "" #. type: TH #: man-pages/man2/chroot.2:33 #, no-wrap msgid "Linux Programmer's Manual" msgstr "" #. type: SH #: man-pages/man2/chroot.2:34 #, no-wrap msgid "NAME" msgstr "" #. type: Plain text #: man-pages/man2/chroot.2:36 msgid "chroot - change root directory" msgstr "" #. type: SH #: man-pages/man2/chroot.2:36 #, no-wrap msgid "SYNOPSIS" msgstr "" #. type: Plain text #: man-pages/man2/chroot.2:38 msgid "B<#include Eunistd.hE>" msgstr "" #. type: Plain text #: man-pages/man2/chroot.2:40 msgid "BIB<);>" msgstr "" #. type: Plain text #: man-pages/man2/chroot.2:44 msgid "" "Feature Test Macro Requirements for glibc (see B(7)):" msgstr "" #. type: Plain text #: man-pages/man2/chroot.2:47 msgid "B():" msgstr "" #. type: TP #: man-pages/man2/chroot.2:50 #, no-wrap msgid "Since glibc 2.2.2:" msgstr "" #. type: Plain text #: man-pages/man2/chroot.2:57 #, no-wrap msgid "" "_BSD_SOURCE ||\n" " (_XOPEN_SOURCE\\ E=\\ 500 ||\n" " _XOPEN_SOURCE\\ &&\\ _XOPEN_SOURCE_EXTENDED) &&\n" " !(_POSIX_C_SOURCE\\ E=\\ 200112L || _XOPEN_SOURCE\\ E=\\ 600)\n" msgstr "" #. type: Plain text #: man-pages/man2/chroot.2:60 msgid "Before glibc 2.2.2: none" msgstr "" #. type: SH #: man-pages/man2/chroot.2:63 #, no-wrap msgid "DESCRIPTION" msgstr "" #. type: Plain text #: man-pages/man2/chroot.2:69 msgid "" "B() changes the root directory of the calling process to that " "specified in I. This directory will be used for pathnames beginning " "with I. The root directory is inherited by all children of the calling " "process." msgstr "" #. type: Plain text #: man-pages/man2/chroot.2:74 msgid "" "Only a privileged process (Linux: one with the B capability) " "may call B()." msgstr "" #. type: Plain text #: man-pages/man2/chroot.2:77 msgid "" "This call changes an ingredient in the pathname resolution process and does " "nothing else." msgstr "" #. type: Plain text #: man-pages/man2/chroot.2:83 msgid "" "This call does not change the current working directory, so that after the " "call \\(aqI<.>\\(aq can be outside the tree rooted at \\(aqI\\(aq. In " "particular, the superuser can escape from a \"chroot jail\" by doing:" msgstr "" #. type: Plain text #: man-pages/man2/chroot.2:86 #, no-wrap msgid " mkdir foo; chroot foo; cd ..\n" msgstr "" #. type: Plain text #: man-pages/man2/chroot.2:90 msgid "" "This call does not close open file descriptors, and such file descriptors " "may allow access to files outside the chroot tree." msgstr "" #. type: SH #: man-pages/man2/chroot.2:90 #, no-wrap msgid "RETURN VALUE" msgstr "" #. type: Plain text #: man-pages/man2/chroot.2:95 msgid "" "On success, zero is returned. On error, -1 is returned, and I is set " "appropriately." msgstr "" #. type: SH #: man-pages/man2/chroot.2:95 #, no-wrap msgid "ERRORS" msgstr "" #. type: Plain text #: man-pages/man2/chroot.2:98 msgid "" "Depending on the filesystem, other errors can be returned. The more general " "errors are listed below:" msgstr "" #. type: TP #: man-pages/man2/chroot.2:98 #, no-wrap msgid "B" msgstr "" #. Also search permission is required on the final component, #. maybe just to guarantee that it is a directory? #. type: Plain text #: man-pages/man2/chroot.2:105 msgid "" "Search permission is denied on a component of the path prefix. (See also " "B(7).)" msgstr "" #. type: TP #: man-pages/man2/chroot.2:105 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man2/chroot.2:109 msgid "I points outside your accessible address space." msgstr "" #. type: TP #: man-pages/man2/chroot.2:109 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man2/chroot.2:112 msgid "An I/O error occurred." msgstr "" #. type: TP #: man-pages/man2/chroot.2:112 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man2/chroot.2:116 msgid "Too many symbolic links were encountered in resolving I." msgstr "" #. type: TP #: man-pages/man2/chroot.2:116 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man2/chroot.2:120 msgid "I is too long." msgstr "" #. type: TP #: man-pages/man2/chroot.2:120 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man2/chroot.2:123 msgid "The file does not exist." msgstr "" #. type: TP #: man-pages/man2/chroot.2:123 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man2/chroot.2:126 msgid "Insufficient kernel memory was available." msgstr "" #. type: TP #: man-pages/man2/chroot.2:126 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man2/chroot.2:131 msgid "A component of I is not a directory." msgstr "" #. type: TP #: man-pages/man2/chroot.2:131 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man2/chroot.2:134 msgid "The caller has insufficient privilege." msgstr "" #. type: SH #: man-pages/man2/chroot.2:134 #, no-wrap msgid "CONFORMING TO" msgstr "" #. SVr4 documents additional EINTR, ENOLINK and EMULTIHOP error conditions. #. X/OPEN does not document EIO, ENOMEM or EFAULT error conditions. #. type: Plain text #: man-pages/man2/chroot.2:139 msgid "" "SVr4, 4.4BSD, SUSv2 (marked LEGACY). This function is not part of POSIX.1-" "2001." msgstr "" #. type: SH #: man-pages/man2/chroot.2:139 #, no-wrap msgid "NOTES" msgstr "" #. type: Plain text #: man-pages/man2/chroot.2:145 msgid "" "A child process created via B(2) inherits its parent's root directory." " The root directory is left unchanged by B(2)." msgstr "" #. FIXME . eventually say something about containers, #. virtual servers, etc.? #. type: Plain text #: man-pages/man2/chroot.2:151 msgid "FreeBSD has a stronger B() system call." msgstr "" #. type: SH #: man-pages/man2/chroot.2:151 #, no-wrap msgid "SEE ALSO" msgstr "" #. type: Plain text #: man-pages/man2/chroot.2:154 msgid "B(2), B(7)" msgstr "" #. type: SH #: man-pages/man2/chroot.2:154 #, no-wrap msgid "COLOPHON" msgstr "" #. type: Plain text #: man-pages/man2/chroot.2:162 msgid "" "This page is part of release 3.70 of the Linux I project. A " "description of the project, information about reporting bugs, and the latest " "version of this page, can be found at \\%http://www.kernel.org/doc/man-pages/" "." msgstr ""