JM プロジェクトは、主に Linux 関連のマニュアルページの日本語ページを翻訳・公開しています。
... 下のようにして解決される。 ステップ 1: 解決過程を開始する If the pathname starts with the '/' character, the starting lookup directory is the root directory of the calling process. A process inherits its root directory from its parent. Usually this will be ... the root directory of the file hierarchy. A process may get a different root directory by use of the chroot (2) system call, or may ... temporarily use a different root directory by using openat2 (2) with the RESOLVE_IN_ROOT flag set. A process may get an entirely private mount namespace in ... ... s (7) 参照): chroot (): glibc 2.2.2 以降: _XOPEN_SOURCE && ! (_POSIX_C_SOURCE >= 200112L) || /* glibc 2.20 以降: */ _DEFAULT_SOURCE || /* Glib ... c 2.19 以前: */ _BSD_SOURCE glibc 2.2.2 より前: なし 説明 chroot () は、呼び出し元プロセスのルートディレクトリを path で指定されたディレクトリに変更する。 このディレクトリ以下が / から始ま ... assing paths supplied by untrusted users to system calls such as open (2). However, if a folder is moved out of the chroot directory, an attacker can exploit that to get out of the chroot directory as well. The easiest way to do that is to chdir (2) to th ... ... be executed. See NOTES for additional details. FAN_ATTRIB (Linux 5.1 以降) Create an event when the metadata for a file or directory has changed. An fanotify group that identifies filesystem objects by file handles is required. FAN_CREATE (Linux 5.1 以降) ... Create an event when a file or directory has been created in a marked parent directory. An fanotify group that identifies filesystem objects by file handles is req ... object indicated by pathname resides within a filesystem subvolume (e.g., btrfs (5)) which uses a different fsid than its root superblock. This error can be returned only with an fanotify group that identifies filesystem objects by file handles. バー ... ... or the crashing process. That means the crashing process's mount namespace (see mount_namespaces (7)), its current working directory (found via getcwd (2)), and its root directory (see chroot (2)). バージョン 2.4 以降の Linux では コアダンプファイルの名前 ... プロセスの PID を渡すには、 引数に %p を指定する。 * プログラムを実行するために生成されるプロセスは、 ユーザー、グループとも root として実行される。 * Running as root does not confer any exceptional security bypasses. Namely, LSMs (e.g., SELinux) are s ... eted with respect to the initial mount namespace as it is always executed there. It is not affected by the settings (e.g., root directory, mount namespace, current working directory) of the crashing process. * The process runs in the initial namespac ... ... リシーでは、ユーザはたいていの場合、 本人であることを証明してからでなければ。 sudo を使用できない。ただし、 sudo の実行者が root だったり、変身対象ユーザが sudo の実行者と同一であったり、 ポリシーがその実行者やコマンドに対して認証を免除している場合は、 ... に当たってチェックするのは、 sudo を実行するユーザの認証情報 (訳注: 通常はパスワード) であって、 変身対象ユーザの (あるいは、root の) 認証情報ではない。この動作は、後述する rootpw , targetpw , runaspw フラグによって変更することができる。 ポリシーに登録 ... ',' Cmnd_List command name ::= file name | file name args | file name '""' Cmnd ::= Digest_Spec? '!'* command name | '!'* directory | '!'* "sudoedit" | '!'* Cmnd_Alias Cmnd_List は一個以上の、コマンド名、ディレクトリ、 他のエイリアスからなるリストである。 ... ... tall [ options ] [-d,--directory] directory... オプション (簡略形式): [-bcpvD] [-g group ] [-m mode ] [-o owner ] [-S suffix ] [-V {numbered,existing,simpl ... e}] [--preserve-timestamps] [--target-directory= dir ] [--help] [--version] [--] 説明 install はファイルをコピーし、そのアクセス権を設定する。 可能ならば所有者とグループを ... 込み・実行、 グループとその他の人の読み取り・実行が可能である。 -o owner , --owner= owner install が適正な権利を持っている (root で実行された) 場合、 インストールされたファイルやディレクトリの所有者を owner に設定する。 デフォルトは `root' である。 ow ... ... ns ] TARBALL ... rpmbuild { --rebuild|--recompile } SOURCEPKG ... その他: rpmbuild --showrc rpmbuild のオプション [ --buildroot DIRECTORY ] [ --clean ] [ --nobuild ] [ --rmsource ] [ --rmspec ] [ --short-circuit ] [ --sign ] [ --target PLATFORM ] 説明 ... /lib/rpm/rpmrc : /usr/lib/rpm/redhat/rpmrc : ~/.rpmrc である。 --pipe CMD rpm コマンドの出力を CMD へパイプする。 --dbpath DIRECTORY データベースのパスとして、デフォルトの /var/lib/rpm ではなく DIRECTORY を使う。 --root DIRECTORY すべての操作において、 DI ... RECTORY をルートとしたファイルシステムを使う。 つまり、 DIRECTORY 内にあるデータベースが依存性のチェックに使用され、 DIRECTORY に chroot (2) した後で、すべてのスクリプト (例えば、パッケージ ... ... てコマンドを実行する。 多くのシステムでは、スーパーユーザーだけがこれを行える。 通常、ファイル名はディレクトリ構造のルート (root=根)、つまり `/' を起点として調べられる。 chroot はこのルートをディレクトリ directory に変更して command を実行する ( direc ... 、デフォルトは SHELL 環境変数の値となる。 この変数が設定されていなければ、`/bin/sh' を `-i' オプションを指定して実行する。 chroot jail から起動されたプロセスが システムライブラリにアクセスできないという状況は、 非常にありがちなので注意すること。 オプシ ... ... re both 4096 bytes, but a few architectures have a larger page size.) If the length of the pathname of the current working directory exceeds this limit, then the system call fails with the error ENAMETOOLONG . In this case, the library functions fall back ... 2.6.36, the pathname returned by the getcwd () system call will be prefixed with the string "(unreachable)" if the current directory is not below the root directory of the current process (e.g., because the process set a new filesystem root using chroot ( ... 2) without changing its current directory into the new root). Such behavior can also be caused by an unprivileged user by changing the current directory into another mount namespace. ... ... re both 4096 bytes, but a few architectures have a larger page size.) If the length of the pathname of the current working directory exceeds this limit, then the system call fails with the error ENAMETOOLONG . In this case, the library functions fall back ... 2.6.36, the pathname returned by the getcwd () system call will be prefixed with the string "(unreachable)" if the current directory is not below the root directory of the current process (e.g., because the process set a new filesystem root using chroot ( ... 2) without changing its current directory into the new root). Such behavior can also be caused by an unprivileged user by changing the current directory into another mount namespace. ... 日本語の文書やマニュアルを配布している個人/プロジェクトへのリンクです。